Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* DMA not working with PDC20269
@ 2003-12-24 18:31 Erick
  2003-12-26 16:22 ` Spam Me Please
  0 siblings, 1 reply; 8+ messages in thread
From: Erick @ 2003-12-24 18:31 UTC (permalink / raw)


Hi,

After compiling kernel 2.4.23 on Debian 3.0 my Promise TX2 Ultra133
(20269) ATA adapter is detected as ide2. However, the kernel cannot enable
DMA on the attached Maxtor 250GB (7Y250P0) ATA disk. I am pretty sure it
is not a cable issue. I know of someone else who gets the same errors with
the same card and a different drive (tested using several UDMA-capable
cables).

[...]
Dec 22 16:51:49 magellan kernel: hde: Maxtor 7Y250P0, ATA DISK drive
Dec 22 16:51:49 magellan kernel: blk: queue fffffc00006670d0, no I/O memory limit
Dec 22 16:51:49 magellan kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Dec 22 16:51:49 magellan kernel: ide2 at 0x200008010-0x200008017,0x200008022 on irq 47
Dec 22 16:51:49 magellan kernel: hde: attached ide-disk driver.
Dec 22 16:51:49 magellan kernel: hde: host protected area => 1
Dec 22 16:51:49 magellan kernel: hde: 490234752 sectors (251000 MB) w/7936KiB Cache, CHS=30515/255/63, UDMA(133)
Dec 22 16:51:49 magellan kernel: hda: attached ide-cdrom driver.
Dec 22 16:51:49 magellan kernel: hda: ATAPI 48X CD-ROM drive, 120kB Cache
Dec 22 16:51:49 magellan kernel: Uniform CD-ROM driver Revision: 3.12
Dec 22 16:51:49 magellan kernel: Partition check:
Dec 22 16:51:49 magellan kernel:  hde:<4>hde: dma_timer_expiry: dma status == 0x21
Dec 22 16:51:49 magellan kernel: hde: error waiting for DMA
Dec 22 16:51:49 magellan kernel: hde: dma timeout retry: status=0x51 { DriveReady SeekComplete Error }
Dec 22 16:51:49 magellan kernel: hde: dma timeout retry: error=0x84 { DriveStatusError BadCRC }
Dec 22 16:51:49 magellan kernel:  hde3 hde4
[...]

I searched Usenet archives and found only references to bad/overlong
cables and unsupported DMA in the driver. I guess DMA is supported in this
driver so I'm puzzled.

I compiled out DMA from the kernel. No errors on boot (with PIO mode)
afterwards. I *am* able to use ``hdparm -X66 -d1'' to enable UDMA2 mode
manually at that point. So far this seems to work without error (after
some basic testing). (FWIW I found tweaking DMA with hdparm this way on a
mounted fs leads to the errors above. Unmounted, it is ok.)

Perhaps I should try a bleeding edge kernel? Or, is it sufficent, do you
guess, to add hdparm commands to my rc.local?


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-12-29 15:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-24 18:31 DMA not working with PDC20269 Erick
2003-12-26 16:22 ` Spam Me Please
2003-12-27 22:32   ` Erick
2003-12-28  2:28     ` Spam Me Please
2003-12-28 18:39       ` Erick
2003-12-28 20:21         ` Måns Rullgård
2003-12-29 15:30         ` Spam Me Please
2003-12-28  9:47     ` Måns Rullgård

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox