Buggy IDE / ATA drive on 2.6? DMA timeouts, 2.4 is fine
I have a HP Pavilion ze5385us laptop bought in 2003, which has a ALi15X3 IDE controller and a Toshiba MK6021GAS ATA disk. For about two months, since an upgrade to kernel 2.6.10+, I'd been noticing occasional sluggishness with the laptop, and occasionally "DMA timeout" errors. But until a week ago they were rather rare, and never occurred with the other kernel/OS's I have on the machine: Linux 2.4.27, Windows XP,
DragonFly BSD. The exact error is:
hda: dma_timer_expiry: dma status == 0x21
hda: DMA timeout error
hda: dma timeout error: status=0xd0 (busy)
ide: failed opcode was: unknown
hda: DMA disabled
ide0: reset: success
Last night the timeouts became so severe to be unmanageable and started occurring under Linux 2.4 too (I was trying to burn a CD but these timeouts caused buffer underruns). Soon both linux 2.4 and 2.6 became unbootable, and Windows XP too hung when booting. I did manage to boot DragonFly (which takes a tiny fraction of the time ubuntu linux does), and this also constantly reported timeout errors (but didn't mention DMA). The messages were:
ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. ata0-slave: ATA identify retries exceeded done
This morning I brought the laptop to back it up on a work machine, using DragonFly with the Linux partition mounted. For about an hour the machine stumbled along, timing out and occasionally refusing to read directories, reporting read errors at particular sectors etc.
Then suddenly all seemed to be ok and the remaining backup happened rapidly. I was even able to back up the directories it refused to read earlier.
Now I have been running the laptop on DragonFly and Linux 2.4 for about 3 hours each and there have been no problems whatever. I even successfully burned a CD in dummy mode and then in real mode.
I have no clue what's going on but I am convinced that the 2.6 IDE driver is somehow bad for my laptop.
Any ideas?
Thanks
Rahul
Quoted 36 lines · Rahul Siddharthan
I have a HP Pavilion ze5385us laptop bought in 2003, which has a ALi15X3 IDE controller and a Toshiba MK6021GAS ATA disk. For about two months, since an upgrade to kernel 2.6.10+, I'd been noticing occasional sluggishness with the laptop, and occasionally "DMA timeout" errors. But until a week ago they were rather rare, and never occurred with the other kernel/OS's I have on the machine: Linux 2.4.27, Windows XP,
DragonFly BSD. The exact error is:hda:
dma_timer_expiry: dma status ==0x21
hda: DMA timeout error
hda: dma timeout error: status=0xd0 (busy)ide: failed opcode was: unknown
hda: DMA disabled
ide0: reset: successLast night the timeouts became so severe to be unmanageable and started occurring under Linux 2.4 too (I was trying to burn a CD but these timeouts caused buffer underruns). Soon both linux 2.4 and 2.6 became unbootable, and Windows XP too hung when booting. I did manage to boot DragonFly (which takes a tiny fraction of the time ubuntu linux does), and this also constantly reported timeout errors (but didn't mention DMA). The messages were:
ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. ata0-slave: ATA identify retries exceeded doneThis morning I brought the laptop to back it up on a work machine, using DragonFly with the Linux partition mounted. For about an hour the machine stumbled along, timing out and occasionally refusing to read directories, reporting read errors at particular sectors etc.
Then suddenly all seemed to be ok and the remaining backup happened rapidly. I was even able to back up the directories it refused to read earlier.
Quoted 8 lines
Now I have been running the laptop on DragonFly and Linux 2.4 for about 3 hours each and there have been no problems whatever. I even successfully burned a CD in dummy mode and then in real mode.
I have no clue what's going on but I am convinced that the 2.6 IDE driver is somehow bad for my laptop.
Any ideas?