[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

VIA con dios?



First my system specs:

CPU: Athlon 1800+
Motherboard: Epox EP-8K7A
Kernel: 2.4.20 on Debian sid.

$ sudo hdparm /dev/hda

/dev/hda:
 multcount    = 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 2330/240/63, sectors = 35239680, start = 0

$ sudo hdparm -i /dev/hda

/dev/hda:

 Model=WDC AC418000D, FwRev=J78OA30K, SerialNo=WD-WT6690098719
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=34
 BuffType=DualPortCache, BuffSize=1966kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=35239680
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 *udma4
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: ATA/ATAPI-4 T13 1153D revision 17:  1 2 3 4

$ sudo hdparm /dev/hdb

/dev/hdb:
 multcount    = 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 4866/255/63, sectors = 78177792, start = 0

$ sudo hdparm -i /dev/hdb

/dev/hdb:

 Model=MAXTOR 6L040L2, FwRev=A93.0500, SerialNo=662206607766
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
 BuffType=DualPortCache, BuffSize=1819kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78177792
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 udma6
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1:  1 2 3 4 5

$ cat /proc/ide/via
----------VIA BusMastering IDE Configuration----------------
Driver Version:                     3.35
South Bridge:                       VIA vt82c686b
Revision:                           ISA 0x40 IDE 0x6
Highest DMA rate:                   UDMA100
BM-DMA base:                        0xc400
PCI clock:                          33.3MHz
Master Read  Cycle IRDY:            0ws
Master Write Cycle IRDY:            0ws
BM IDE Status Register Read Retry:  yes
Max DRDY Pulse Width:               No limit
-----------------------Primary IDE-------Secondary IDE------
Read DMA FIFO flush:          yes                 yes
End Sector FIFO flush:         no                  no
Prefetch Buffer:              yes                 yes
Post Write Buffer:            yes                 yes
Enabled:                      yes                 yes
Simplex only:                  no                  no
Cable Type:                   80w                 40w
-------------------drive0----drive1----drive2----drive3-----
Transfer Mode:       UDMA      UDMA       DMA       PIO
Address Setup:       30ns      30ns      30ns     120ns
Cmd Active:          90ns      90ns      90ns      90ns
Cmd Recovery:        30ns      30ns      30ns      30ns
Data Active:         90ns      90ns      90ns      90ns
Data Recovery:       30ns      30ns      30ns      30ns
Cycle Time:          30ns      20ns     120ns     120ns
Transfer Rate:   66.6MB/s  99.9MB/s  16.6MB/s  16.6MB/s

Now the problem:

Since about the beginning of the year i've occasionaly been getting errors
like this in /var/log/kern.log:

kernel: hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
kernel: hdb: dma_intr: error=0x40 { UncorrectableError }, LBAsect=2640111, sector=2640048
kernel: end_request: I/O error, dev 03:41 (hdb), sector 2640048

Sometimes it recovers but sometimes this causes the system to hang
completely and I have to do a reset.  Although the above example shows
/dev/hdb, someties it happens on /dev/hda as well so I don't think this is
a problem with the drives themselves. I'm more suspicious of the VIA
chipset as I've seen some google posts mentioning failures or suggesting
it has data corruption problems.  Does this seem like a likely cause?  Is
it because I have a UDMA66 and UDMA100 drive on the same controller?  Or
something else entirely?

Any advice is greatly appreciated.

-- 
Jaldhar H. Vyas <jaldhar@debian.org>
La Salle Debain - http://www.braincells.com/debian/



Reply to: