Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jan 2003 06:59:02 -0700
From:      Janet Sullivan <ciscogeek@vzavenue.net>
To:        freebsd-stable@freebsd.org
Subject:   ATA corruption in DMA mode
Message-ID:  <3E1C2EA6.18C86871@vzavenue.net>

next in thread | raw e-mail | index | archive | help
If I copy large (500 meg) files between directories with DMA on, the
copy becomes corrupt.  If I turn DMA off and use PIO mode, the copy is
fine.  Smaller files do not seem to trigger this problem. I am using
STABLE from a couple of days ago, although I think I may have been
having this problem for a longer time.  I have a Soyo KT333 Platinum
Dragon motherboard with a built in Highpoint IDE raid controller.  The
corruption happens on my ar0 array, which is RAID 1 and consists of two
Western Digital 40g drives.  fsck has never found any problems with
these drives.  I'm using 80-pin cables, and the array used to run clean
(around 4.6 and before).

Any suggestions would be welcome.  My dmesg follows:


[esca] (ciscogeek)  dmesg -a
Copyright (c) 1992-2002 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 4.7-STABLE #0: Mon Jan  6 22:24:04 MST 2003
    root@esca.apocrypha.bgp4.net:/usr/obj/usr/src/sys/ESCA
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) XP 2000+ (1666.49-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
 
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268369920 (262080K bytes)
avail memory = 257699840 (251660K bytes)
Preloaded elf kernel "kernel" at 0xc0366000.
Pentium Pro MTRR support enabled
Using $PIR table, 10 entries at 0xc00fded0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=1106 device=b099)> at device 1.0 on
pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0 irq 11
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x9000-0x903f mem
0xe7000000-0xe70fffff,0xe7100000-0xe7100fff irq 10 at device 10.0 on
pci0
fxp0: Ethernet address 00:d0:b7:a0:f3:d0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <AudioPCI ES1371-B> port 0x9400-0x943f irq 11 at device 11.0 on
pci0
uhci0: <VIA 83C572 USB controller> port 0x9c00-0x9c1f irq 10 at device
14.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 0xa000-0xa01f irq 10 at device
14.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
pci0: <USB controller> at 14.2 irq 11
atapci0: <HighPoint HPT372 ATA133 controller> port
0xb400-0xb4ff,0xb000-0xb003,0xac00-0xac07,0xa800-0xa803,0xa400-0xa407
irq 10 at device 15.0 on pci0
ata2: at 0xa400 on atapci0
ata3: at 0xac00 on atapci0
isab0: <PCI to ISA bridge (vendor=1106 device=3147)> at device 17.0 on
pci0
isa0: <ISA bus> on isab0
atapci1: <VIA 8233 ATA133 controller> port 0xbc00-0xbc0f at device 17.1
on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
uhci2: <VIA 83C572 USB controller> port 0xc000-0xc01f irq 11 at device
17.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 0xc400-0xc41f irq 11 at device
17.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
orm0: <Option ROM> at iomem 0xd0000-0xd0fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ad0: 28629MB <WDC WD300BB-00AUA1> [58168/16/63] at ata0-master PIO4
ar0: 38166MB <ATA RAID1 array> [4865/255/63] status: READY subdisks:
 0 READY ad6: 38166MB <WDC WD400AB-00BPA1> [77545/16/63] at ata3-master
PIO4
 1 READY ad4: 38166MB <WDC WD400BB-32AUA1> [77545/16/63] at ata2-master
PIO4

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E1C2EA6.18C86871>