Skip to contentSkip to conversation

HPT370, dma timeout, raid

DISCUSSION Palumbo Daniele 1 participant 1 message Dec 4, 2003 libata

lore
Share & tools
lore
#0 lore raw

hi all.
first of all: can you cc: me? i'm not in list...

am getting this problem:

Nov 18 08:57:00 data kernel: hda: dma_timer_expiry: dma status == 0x21
Nov 18 08:57:10 data kernel: hda: 0 bytes in FIFO
Nov 18 08:57:10 data kernel: hda: timeout waiting for DMA
Nov 18 08:57:10 data kernel: hda: timeout waiting for DMA
Nov 18 08:57:10 data kernel: hda: 0 bytes in FIFO
Nov 18 08:57:10 data kernel: hda: timeout waiting for DMA
Nov 18 08:57:10 data kernel: hda: (__ide_dma_test_irq) called while not waiting
Nov 18 08:57:10 data kernel: hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
Nov 18 08:57:10 data kernel:
Nov 18 08:57:10 data kernel: hda: drive not ready for command

sometimes with 0 bytes in fifo in both fields, sometimes in the first 252, in the second 0

this is my hpt370, builtin with in mb:

Dec  3 12:23:33 data kernel: HPT370: IDE controller at PCI slot 00:13.0
Dec  3 12:23:33 data kernel: PCI: Found IRQ 11 for device 00:13.0
Dec  3 12:23:33 data kernel: HPT370: chipset revision 3
Dec  3 12:23:33 data kernel: HPT370: not 100%% native mode: will probe irqs later
Dec  3 12:23:33 data kernel: HPT37X: using 33MHz PCI clock
Dec  3 12:23:33 data kernel:     ide0: BM-DMA at 0xc800-0xc807, BIOS settings: hda:DMA, hdb:pio
Dec  3 12:23:33 data kernel:     ide1: BM-DMA at 0xc808-0xc80f, BIOS settings: hdc:pio, hdd:pio

and this is my hd

Nov 21 16:13:46 data kernel: hda: IC35L120AVV207-1, ATA DISK drive
Nov 21 16:13:46 data kernel: blk: queue c03c50c0, I/O limit 4095Mb (mask 0xffffffff)
-snip-
Nov 21 16:13:47 data kernel: hda: attached ide-disk driver.
Nov 21 16:13:47 data kernel: hda: host protected area => 1
Nov 21 16:13:47 data kernel: hda: 241254720 sectors (123522 MB) w/7965KiB Cache, CHS=15017/255/63, UDMA(100)

and hdparm output

root@data:~# hdparm  /dev/hda

/dev/hda:

 multcount    =  0 (off)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 15017/255/63, sectors = 241254720, start = 0
root@data:~# hdparm -i /dev/hda

/dev/hda:

Model=IC35L120AVV207-1, FwRev=V24OA66A, SerialNo=VNVD07G4GVJNAL Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=52 BuffType=DualPortCache, BuffSize=7965kB, MaxMultSect=16, MultSect=off CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=241254720 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 *udma5 AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a: 2 3 4 5 6

root@data:~#

now:
- i have saw a list of bad udma 100 in hpt366.h... also some ibm. is it up to date?
- i have red here http://archives.mandrakelinux.com/discuss/2003-07/msg00065.php
that my HD could be going to hell... is it true?
- i have not tried yet patch from Marc Bellon: http://lkml.org/lkml/2003/11/6/106
as suggested in this thread http://testing.lkml.org/slashdot.php?mid=430607
- a new version of hpt366 (also include support for 370) is in 2.6. is it simple to backport? is it useful with hpt370 (i have saw a lot of code for hpt372n)
- i have saw that support for ide in raid was removed on 2.6 branch, and the goal is to make the support for normal raid support already present in linux. is it usable?
also, in 2.4 i can read from help of ataraid: "Note, that Linux does not use the Raid implementation in BIOS, and the main purpose for this feature is to retain compatibility and data integrity with other OS-es, using the same disk array. Linux has its own Raid drivers, which you should use if you need better performance."

so if i create or not the mirror in hpt370 bios linux don't care at all? i have only linux in that pc, what should i do? i suppose that 2.6 is not ready for ide yet...
if possibile i don't want to use driver from highpoint... at least the raid one. suggestion?

thanks
Daniele Palumbo

Signature · 3 lines
PGP Key-ID: 0xF482D454
--
To bodly go where no man has gone before.