Re: FS Corruption (IDE DMA)

Steve Hsieh (steveh@eecs.umich.edu)
Thu, 30 Jul 1998 16:27:39 -0400 (EDT)


On Thu, 30 Jul 1998, Alan Cox wrote:

> > I've heard previously of Quantum Bigfoots causing trouble, they are worth
> > investigating for the blacklist.
>
> I have no bigfoot problem reports except overclocked boards. I'm not fond
> of the bigfoot (mine exploded after under a week so I bought an IBM) but
> they dont appear to be a problem

Speaking of bigfoots... Just to add info to this topic. I run an ftp
server based on 7 IDE bigfoot drives (four 6GB, three 12GB) via a Promise
IDE PCI controller *plus* one SCSI drive via an adaptec. I am using
2.0.33 (w/Promise IDE patch). DMA defaults to on or off for IDE depending
on the drive, it seems. In the past, I have encountered corruption
problems on the bigfoots every so often, but they are always accompanied
by various error messages to syslog. I don't know if they are caused by
the default DMA settings, or if it's a physical drive problem. (Usually,
the drive just starts misbhaving and later won't even format under DOS)
For example, right now I'm seeing messages such as:

Jul 30 13:07:03 bigfoot kernel: hdh: status error: status=0x7f {
DriveReady DeviceFault SeekComplete DataRequest CorrectedError Index Error }
Jul 30 13:07:03 bigfoot kernel: hdh: status error: error=0x7f {
UncorrectableError SectorIdNotFound DriveStatusError TrackZeroNotFound AddrMarkNotFound },
LBAsect=268435455, sector=7138632
Jul 30 13:07:03 bigfoot kernel: end_request: I/O error, dev 22:42, sector
7138632
Jul 30 13:07:03 bigfoot kernel: hdh: drive not ready for command
Jul 30 13:07:03 bigfoot kernel: hdh: status error: status=0xff { Busy }
Jul 30 13:07:03 bigfoot kernel: hdh: drive not ready for command
Jul 30 13:07:08 bigfoot kernel: ide3: reset: success

Often, the end result is a dead drive which I have to return to Quantum to
get repaired under warranty. BTW, hdh has DMA off.

An output of hdparam and /proc/pci on my 7 drives is attached here:

/dev/hda:
multcount = 0 (off)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 13446/15/63, sectors = 12706470, start = 0

Model=QUANTUM BIGFOOT_CY6480A, FwRev=A03.0500, SerialNo=16670672
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>5Mbs TrkOff }
RawCHS=13446/15/63, TrkSize=32256, SectSize=512, ECCbytes=4
BuffType=3(DualPortCache), BuffSize=67kB, MaxMultSect=32, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=13446/15/63, CurSects=12706470, LBA=yes, LBAsects=12706470
tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1 *mword2
IORDY=on/off, tPIO={min:333,w/IORDY:120}, PIO modes: mode3 mode4

/dev/hdb:
multcount = 0 (off)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 13446/15/63, sectors = 12706470, start = 0

Model=QUANTUM BIGFOOT_CY6480A, FwRev=A03.0400, SerialNo=16670212
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>5Mbs TrkOff }
RawCHS=13446/15/63, TrkSize=32256, SectSize=512, ECCbytes=1024
BuffType=3(DualPortCache), BuffSize=17152kB, MaxMultSect=32, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=13446/15/63, CurSects=12706470, LBA=yes, LBAsects=12706470
tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1 *mword2
IORDY=on/off, tPIO={min:333,w/IORDY:120}, PIO modes: mode3 mode4

/dev/hdc:
multcount = 0 (off)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 13446/15/63, sectors = 12706470, start = 0

Model=QUANTUM BIGFOOT_CY6480A, FwRev=A03.0800, SerialNo=16670712
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>5Mbs TrkOff }
RawCHS=13446/15/63, TrkSize=32256, SectSize=512, ECCbytes=4
BuffType=3(DualPortCache), BuffSize=67kB, MaxMultSect=16, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=13446/15/63, CurSects=12706470, LBA=yes, LBAsects=12706470
tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1 *mword2
IORDY=on/off, tPIO={min:333,w/IORDY:120}, PIO modes: mode3 mode4

/dev/hde:
multcount = 0 (off)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 16383/16/63, sectors = 16514064, start = 0

Model=QUANTUM Bigfoot TX12.0AT, FwRev=A04.0R00, SerialNo=31280592
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=32256, SectSize=512, ECCbytes=4
BuffType=3(DualPortCache), BuffSize=69kB, MaxMultSect=16, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=23547888
tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1 mword2
IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4

/dev/hdf:
multcount = 0 (off)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 13446/15/63, sectors = 12706470, start = 0

Model=QUANTUM BIGFOOT_CY6480A, FwRev=A03.0400, SerialNo=16670212
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>5Mbs TrkOff }
RawCHS=13446/15/63, TrkSize=32256, SectSize=512, ECCbytes=1024
BuffType=3(DualPortCache), BuffSize=17152kB, MaxMultSect=32, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=13446/15/63, CurSects=12706470, LBA=yes, LBAsects=12706470
tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1 *mword2
IORDY=on/off, tPIO={min:333,w/IORDY:120}, PIO modes: mode3 mode4

/dev/hdg:
multcount = 0 (off)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 16383/16/63, sectors = 16514064, start = 0

Model=QUANTUM Bigfoot TX12.0AT, FwRev=A04.0R00, SerialNo=31272942
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=32256, SectSize=512, ECCbytes=4
BuffType=3(DualPortCache), BuffSize=69kB, MaxMultSect=16, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=23547888
tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1 mword2
IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4

/dev/hdh:
multcount = 0 (off)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 16383/16/63, sectors = 16514064, start = 0

Model=QUANTUM Bigfoot TX12.0AT, FwRev=A04.0R00, SerialNo=31280592
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=32256, SectSize=512, ECCbytes=4
BuffType=3(DualPortCache), BuffSize=69kB, MaxMultSect=16, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=23547888
tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1 mword2
IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4

PCI devices found:
Bus 0, device 19, function 0:
SCSI storage controller: Adaptec AIC-7881U (rev 0).
Medium devsel. Fast back-to-back capable. IRQ 10. Master Capable. Latency=72. Min Gnt=8.Max Lat=8.
I/O at 0xfc00.
Non-prefetchable 32 bit memory at 0xffbeb000.
Bus 0, device 17, function 0:
RAID bus controller: Promise Technology IDE Ultra DMA/33 (rev 1).
Medium devsel. IRQ 9. Master Capable. Latency=32.
I/O at 0xfff0.
I/O at 0xffe4.
I/O at 0xffa8.
I/O at 0xfbe4.
I/O at 0xff80.
Bus 0, device 15, function 0:
Ethernet controller: Intel 82557 (rev 2).
Medium devsel. Fast back-to-back capable. IRQ 5. Master Capable. Latency=72. Min Gnt=8.Max Lat=56.
Prefetchable 32 bit memory at 0xffbea000.
I/O at 0xff40.
Non-prefetchable 32 bit memory at 0xff800000.
Bus 0, device 11, function 0:
VGA compatible controller: S3 Inc. Vision 968 (rev 0).
Medium devsel. IRQ 11.
Non-prefetchable 32 bit memory at 0xfa000000.
Bus 0, device 7, function 1:
IDE interface: Intel 82371SB Natoma/Triton II PIIX3 (rev 0).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=32.
I/O at 0xff60.
Bus 0, device 7, function 0:
ISA bridge: Intel 82371SB Natoma/Triton II PIIX3 (rev 1).
Medium devsel. Fast back-to-back capable. Master Capable. No bursts.
Bus 0, device 0, function 0:
Host bridge: Intel 82441FX Natoma (rev 2).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=32.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html