hda: dma_timer_expiry: dma status == 0x20 (disk problem)?

From: Andrej T. (andrej_at_nomadoblak.com)
Date: 02/23/04


Date: 23 Feb 2004 03:25:09 -0800

Hello!

I'm having two new Maxtor 160GB disks in RAID 1 setup and lately I saw
the following error in "dmesg" :

Feb 23 04:03:42 www kernel: hda: dma_timer_expiry: dma status == 0x20
Feb 23 04:03:42 www kernel: hda: timeout waiting for DMA
Feb 23 04:03:42 www kernel: hda: timeout waiting for DMA
Feb 23 04:03:42 www kernel: hda: (__ide_dma_test_irq) called while not
waiting
Feb 23 04:03:42 www kernel: hda: status timeout: status=0xd0 { Busy }
Feb 23 04:03:42 www kernel:
Feb 23 04:03:42 www kernel: hda: drive not ready for command
Feb 23 04:03:58 www kernel: ide0: reset: success

What could cause the problem? I checked the IDE cables (80 pins) and
they are OK. The whole machine is new. This happens on both disks.

My configuration :

Motherboard : GigaByte GA-8IPE1000 series
Processor : P IV 6 Ghz
RAM : 1 GB
Disks : 2 x Maxtor 160GB
System : RH 7.3, kernel 2.4.24

[root@www root]# hdparm /dev/hda /dev/hdc

/dev/hda:
 multcount = 16 (on)
 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 = 19929/255/63, sectors = 320173056, start = 0
 busstate = 1 (on)

/dev/hdc:
 multcount = 16 (on)
 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 = 19929/255/63, sectors = 320173056, start = 0
 busstate = 1 (on)
[root@www root]#

[root@www root]# hdparm -i /dev/hda /dev/hdc

/dev/hda:

 Model=Maxtor 6Y160P0, FwRev=YAR41BW0, SerialNo=Y43J3Z4E
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
 BuffType=DualPortCache, BuffSize=7936kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
 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 udma0 udma1 udma2 udma3 udma4 *udma5
udma6
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive Supports : ataATA-1 ATA-2 ATA-3 ATA-4 ATA-5 ATA-6 ATA-7

/dev/hdc:

 Model=Maxtor 6Y160P0, FwRev=YAR41BW0, SerialNo=Y43J3YQE
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
 BuffType=DualPortCache, BuffSize=7936kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
 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 udma0 udma1 udma2 udma3 udma4 *udma5
udma6
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive Supports : ataATA-1 ATA-2 ATA-3 ATA-4 ATA-5 ATA-6 ATA-7

[root@www root]#

Many thanks for your help and have a nice day.

Greetings from Slovenija,

         Andrej.



Relevant Pages