From owner-freebsd-current Sun Oct 31 7:52:24 1999 Delivered-To: freebsd-current@freebsd.org Received: from green.myip.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 0EF9B14BE0 for ; Sun, 31 Oct 1999 07:52:19 -0800 (PST) (envelope-from green@FreeBSD.org) Received: from localhost ([127.0.0.1] ident=green) by green.myip.org with esmtp (Exim 3.02 #1) id 11hxGw-000EJi-00; Sun, 31 Oct 1999 10:51:58 -0500 Date: Sun, 31 Oct 1999 10:51:57 -0500 (EST) From: Brian Fundakowski Feldman X-Sender: green@green.myip.org To: Doug Rabson Cc: Paul van der Zwan , freebsd-current@freebsd.org Subject: Re: ATAPI CD errors In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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