Date: Sun, 31 Oct 1999 20:25:32 +0100 From: Paul van der Zwan <paulz@trantor.xs4all.nl> To: Brian Fundakowski Feldman <green@freebsd.org> Cc: Doug Rabson <dfr@nlsystems.com>, Paul van der Zwan <paulz@trantor.xs4all.nl>, freebsd-current@freebsd.org, paulz@trantor.xs4all.nl Subject: Re: ATAPI CD errors Message-ID: <199910311925.UAA00450@trantor.xs4all.nl> In-Reply-To: Message from Brian Fundakowski Feldman <green@freebsd.org> of "Sun, 31 Oct 1999 10:51:57 EST." <Pine.BSF.4.10.9910311049580.54954-100000@green.myip.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.10.9910311049580.54954-100000@green.myip.org>, 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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910311925.UAA00450>