In message <[EMAIL PROTECTED]>, Brian Fun
dakowski Feldman wrote:
>Have you either tried disabling DMA on the drive?  This is easily achieved
>by the following (whitespace mangled):
>
>--- atapi-all.c 1999/10/10 18:08:38     1.19
>+++ atapi-all.c 1999/10/23 16:51:12
>@@ -135,7 +135,8 @@
>                               udmamode(atp->atapi_parm),
>                               atp->atapi_parm->dmaflag);
>-               if (!(atp->atapi_parm->drqtype == ATAPI_DRQT_INTR) &&
>+               if (atp->atapi_parm->device_type != ATAPI_TYPE_CDROM &&
>+                   !(atp->atapi_parm->drqtype == ATAPI_DRQT_INTR) &&
>                    !ata_dmainit(atp->controller, atp->unit,
>                                 (apiomode(atp->atapi_parm) < 0) ?
>                                 (atp->atapi_parm->dmaflag ? 4 : 0) : 
>

This patch allows me to mount the cdrom... The probes show PIO mode i.s.o. DMA.
So it looks like DMA is broken for this drive.. 

        Paul

-- 
Paul van der Zwan               paulz @ trantor.xs4all.nl
"I think I'll move to theory, everything works in theory..."




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to