From owner-freebsd-current Sun Oct 31 11:31:49 1999 Delivered-To: freebsd-current@freebsd.org Received: from smtp7.xs4all.nl (smtp7.xs4all.nl [194.109.127.50]) by hub.freebsd.org (Postfix) with ESMTP id 369BC14C0E; Sun, 31 Oct 1999 11:31:42 -0800 (PST) (envelope-from paulz@trantor.xs4all.nl) Received: from trantor.xs4all.nl (trantor.xs4all.nl [194.109.61.248]) by smtp7.xs4all.nl (8.9.3/8.9.3) with ESMTP id UAA13001; Sun, 31 Oct 1999 20:31:41 +0100 (CET) Received: from trantor.xs4all.nl (localhost [127.0.0.1]) by trantor.xs4all.nl (8.9.3/8.9.3) with ESMTP id UAA00450; Sun, 31 Oct 1999 20:25:32 +0100 (MET) (envelope-from paulz@trantor.xs4all.nl) Message-Id: <199910311925.UAA00450@trantor.xs4all.nl> X-Mailer: exmh version 2.1.0 09/18/1999 To: Brian Fundakowski Feldman Cc: Doug Rabson , Paul van der Zwan , freebsd-current@freebsd.org, paulz@trantor.xs4all.nl Subject: Re: ATAPI CD errors In-Reply-To: Message from Brian Fundakowski Feldman of "Sun, 31 Oct 1999 10:51:57 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 31 Oct 1999 20:25:32 +0100 From: Paul van der Zwan Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , 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