lkml.org 
[lkml]   [2002]   [Jan]   [28]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateMon, 28 Jan 2002 01:51:20 -0800
FromAndrew Morton <>
SubjectRe: [CFT] Bus mastering support for IDE CDROM audio
benh@kernel.crashing.org wrote:
> 
> >At no stage does a packet-mode DMA error turn off drive-level
> >DMA.  This is because some devices seem to perform ordinary
> >ATA DMA OK, but screw up packet DMA.
> >
> >The kernel internally retries the requests when it performs fallback,
> >so userspace shouldn't see any disruption as the kernel works
> >out what to do.
> >
> >Once the drive has fallen back to single-frame (or PIO mode) for
> >packet reads, the only way to get it back to a higher level is
> >a reboot.
> 
> Doesn that mean that a bad media (typically a scratched CDROM) will
> cause the drive to revert to PIO until next reboot ?
> 

Nope.  This error handling is specifically for busmastering
errors, not for media errors.

I've tested media errors (whiteboard marker scribblings on the
CD do this nicely).  DMA errors (bad return value from
HWIF->dmaproc) I can only simulate.


-
-
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/

\
 
 \ /
  Last update: 2005-03-22 11:15    [W:0.312 / U:0.320 seconds]
©2003-2008 Jasper Spaans