Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2004 10:03:30 +0200 (CEST)
From:      "Fredrik Erlandsson" <erlis@linux.nu>
To:        freebsd-questions@freebsd.org
Subject:   Bad s-ata driver or currupt hardware
Message-ID:  <64057.81.228.57.212.1082448210.squirrel@webmail.rsn.bth.se>

next in thread | raw e-mail | index | archive | help
I have a very strange problem. I can't copy large files
localy on the harddrive, the original and the new file is
not the same.
It does not occor all the time but frequently enought to
be very annoying.

The system is a brand new Amd Duron with Kingston memmory.

Example:
dd if=/dev/urandom of=~/test.fil bs=100000000 count=1;
time cp test.fil tmp/test.fil.copy;diff test.fil
tmp/test.fil.copy
1+0 records in
1+0 records out
100000000 bytes transferred in 7.351899 secs (13601928
bytes/sec)

real    0m3.438s
user    0m0.024s
sys     0m1.224s
Binary files test.fil and tmp/test.fil.copy differ


My /var/run/dmesg.boot:
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991,
1992, 1993, 1994
        The Regents of the University of California. All
rights
reserved.
FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
    root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a35000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a35244.
ACPI APIC Table: <KT400A AWRDACPI>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Duron(tm) processor (1202.73-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268369920 (255 MB)
avail memory = 251039744 (239 MB)
ioapic0 <Version 0.3> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <KT400A AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fdc50
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port
0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: possible interrupts:  20
pcib0: slot 15 INTB routed to irq 20 via \\_SB_.PCI0.ALKA
pcib0: possible interrupts:  21
pcib0: slot 16 INTA routed to irq 21 via \\_SB_.PCI0.ALKB
pcib0: possible interrupts:  21
pcib0: slot 16 INTA routed to irq 21 via \\_SB_.PCI0.ALKB
pcib0: possible interrupts:  21
pcib0: slot 16 INTB routed to irq 21 via \\_SB_.PCI0.ALKB
pcib0: possible interrupts:  21
pcib0: slot 16 INTB routed to irq 21 via \\_SB_.PCI0.ALKB
pcib0: possible interrupts:  21
pcib0: slot 16 INTC routed to irq 21 via \\_SB_.PCI0.ALKB
agp0: <VIA Generic host to PCI bridge> mem
0xe0000000-0xe7ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci0: <display, VGA> at device 8.0 (no driver attached)
xl0: <3Com 3c905B-TX Fast Etherlink XL> port
0xc000-0xc07f mem 0xec000000-0xec00007f irq 18 at device
10.0 on pci0
xl0: Ethernet address: 00:50:da:4d:76:f8
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
auto
atapci0: <VIA 8237 SATA150 controller> port
0xd800-0xd8ff,0xd400-0xd40f,0xd000-0xd003,0xcc00-0xcc07,0xc800-0xc803,0xc400-0xc407
irq 20 at device 15.0 on pci0
atapci0: [MPSAFE]
ata2: at 0xc400 on atapci0
ata2: [MPSAFE]
ata3: at 0xcc00 on atapci0
ata3: [MPSAFE]
atapci1: <VIA 8237 UDMA133 controller> port
0xdc00-0xdc0f at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci1
ata1: [MPSAFE]
uhci0: <VIA 83C572 USB controller> port 0xe000-0xe01f
irq 21 at device 16.0 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xe400-0xe41f
irq 21 at device 16.1 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xe800-0xe81f
irq 21 at device 16.2 on pci0
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <VIA 83C572 USB controller> port 0xec00-0xec1f
irq 21 at device 16.3 on pci0
usb3: <VIA 83C572 USB controller> on uhci3
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhub3: port error, restarting port 1
uhub3: port error, giving up port 1
uhub3: port error, restarting port 2
uhub3: port error, giving up port 2
pci0: <serial bus, USB> at device 16.4 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
fdc0: <Enhanced floppy controller (i82077, NE72065 or
clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60
on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem
0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1202733333 Hz quality 800
Timecounters tick every 10.000 msec
GEOM: create disk ad4 dp=0xc2e6e760
ad4: 78167MB <Maxtor 6Y080M0> [158816/16/63] at
ata2-master UDMA100
Mounting root from ufs:/dev/ad4s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 5841988 files 63
/usr: superblock summary recomputed
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 4 files 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64057.81.228.57.212.1082448210.squirrel>