Re: [CFT] Bus mastering support for IDE CDROM audio

Kristian (kristian.peters@korseby.net)
Mon, 28 Jan 2002 18:13:40 +0100


Ed Sweetman <ed.sweetman@wmich.edu> wrote:
> I've always been able to get it back to dma for packet by forcing the
> drive to sleep mode and then letting the kernel wake it. I guess I'll
> try this 3rd version patch when I get back from class today and see if
> that still works.
>
> hdparm -Y /dev/cdrom
>
> then go and set dma again with hdparm.
>
> Although this could just be fickleness of my cdrom.

It works for the second one (the HP writer). But the kernel completely hangs for 2 seconds trying to wake up the drive (with 2.4.18-pre3-ac2).

My log shows:
hdd: DMA disabled
hdd: drive not ready for command
hdd: ATAPI reset complete

But preemption does help in that case.

The first cd-rom drive does not support sleep or standby commands. ;-(

*Kristian

:... [snd.science] ...:
::
:: http://www.korseby.net
:: http://gsmp.sf.net
:.........................:: ~/$ kristian@korseby.net :
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/