People with ATAPI problems: possible fix

Stefan Berndtsson stefan at nocrew.org
Fri Feb 20 08:12:51 EST 2004


Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:

> Hi !
>
> Recently, there have been lost of reports of ATAPI issues, typically
> with CD/DVD burners, where DMA would be disabled for no obvious reasons,
> with the driver spitting a message about a timeout waiting for dbdma
> command stop.
>
> The problem is that our driver doesn't deal with buffer underruns due
> to the drive not sending as many data as requested.
>
> This patch is an attempt at fixing this. Please let me know if it
> helps.

First impression is that it seems to work. It no longer claims to kill DMA
when running growisofs, and it is still active when writing is done.

Thanks.

/Stefan

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list