DMA timeouts on UDMA harddisks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Dualboot system on my Laptop (Issam Smartbook i1000c) (one OS being Windows XP
SP2.. sorry). Ubuntu 5.10 is installed on the Laptop. From time to time I
experience temoprary harddisk freezes or lockups. I checked if the Hitachi 40GB
2,5" hdd might be faulty. Tested the drive with Hitachis system tools from their
home page and the drive reported well on all integrity and health checks. I did
health checks again with Ubuntu and the harddrive was sane again. No lockups in
Windows XP at all. The drive was checked by an IT-expert at University and no
problems were found. Everything was sane. But in /var/log/messages, there is
this error reported repeatedly:
...
Nov 20 15:35:35 localhost kernel: [4294765.104000] hda: dma_timer_expiry: dma
status == 0x20
Nov 20 15:35:35 localhost kernel: [4294765.104000] hda: DMA timeout retry
Nov 20 15:35:35 localhost kernel: [4294765.104000] hda: status error:
status=0x58 { DriveReady SeekComplete DataRequest }
Nov 20 15:35:35 localhost kernel: [4294765.104000]
Nov 20 15:35:35 localhost kernel: [4294765.104000] ide: failed opcode was: unknown
The drive seems to use the UDMA mode.
user@kopernikus:~$ sudo hdparm -i /dev/hda
/dev/hda:
Model=
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=
BuffType=
CurCHS=
IORDY=yes, tPIO={min:
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
Drive conforms to: ATA/ATAPI-5 T13 1321D revision 3:
* signifies the current active mode
The drive is NOT nearing death. That was checked already.
(I searched bugzilla but did not find similar reports, so I hope it is not a
duplicate entry.)
Thank you for your attention. :)
I have a similar problem on my Dell Latitude D505, except that the status nr is
0x21 and the message seems to be Busy:
Aug 24 17:00:31 twiadria kernel: hda: dma_timer_expiry: dma status == 0x21
Aug 24 17:00:46 twiadria kernel: hda: DMA timeout error
Aug 24 17:00:46 twiadria kernel: hda: dma timeout error: status=0xd0 { Busy }
Aug 24 17:00:46 twiadria kernel:
Aug 24 17:00:46 twiadria kernel: ide: failed opcode was: unknown
Aug 24 17:00:46 twiadria kernel: hda: DMA disabled
Aug 24 17:00:46 twiadria kernel: ide0: reset: success
I am running in udma5, but even switching to udma2 (using "hdparm -d1 -X66
/dev/hda") does not seem to fix the problem. I also ran the Dell Diagnostics,
but it finished without any problems.
This problem is also raised for Debian [1] and Fedora [2] and I guess other
distributions as well. Apparently no one reported it upstream yet.
[1] http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 321409 /bugzilla. redhat. com/bugzilla/ show_bug. cgi?id= 132584
[2] https:/
/dev/hda:
Model= IC25N030ATMR04- 0, FwRev=MOAOAD0A, SerialNo= MRG2E0KBHZS3DJ 16383/16/ 63, TrkSize=0, SectSize=0, ECCbytes=4 DualPortCache, BuffSize=1740kB, MaxMultSect=16, MultSect=off 16383/16/ 63, CurSects=16514064, LBA=yes, LBAsects=58605120 240,w/IORDY: 120}, tDMA={min: 120,rec: 120}
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=
BuffType=
CurCHS=
IORDY=on/off, tPIO={min:
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a: