Date: Sun, 31 Oct 1999 10:51:57 -0500 (EST) From: Brian Fundakowski Feldman <green@FreeBSD.org> To: Doug Rabson <dfr@nlsystems.com> Cc: Paul van der Zwan <paulz@trantor.xs4all.nl>, freebsd-current@freebsd.org Subject: Re: ATAPI CD errors Message-ID: <Pine.BSF.4.10.9910311049580.54954-100000@green.myip.org> In-Reply-To: <Pine.BSF.4.10.9910311055520.92045-100000@salmon.nlsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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) : -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' 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?Pine.BSF.4.10.9910311049580.54954-100000>