From owner-freebsd-current@FreeBSD.ORG Wed Dec 3 13:39:59 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BAD916A4CE for ; Wed, 3 Dec 2003 13:39:59 -0800 (PST) Received: from customer.ecore.net (enterprise.ecore.net [212.223.99.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 33D7943FDD for ; Wed, 3 Dec 2003 13:39:56 -0800 (PST) (envelope-from cs@cheasy.de) Received: (qmail 28554 invoked from network); 3 Dec 2003 21:39:51 -0000 Received: from p508406c4.dip0.t-ipconnect.de (HELO kiste) (80.132.6.196) by cheasy.de with SMTP; 3 Dec 2003 21:39:51 -0000 From: Christoph Sold To: Soren Schmidt Date: Wed, 3 Dec 2003 22:39:37 +0100 User-Agent: KMail/1.5.4 References: <200312030855.hB38t0VJ056332@spider.deepcore.dk> In-Reply-To: <200312030855.hB38t0VJ056332@spider.deepcore.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200312032239.38101.cs@cheasy.de> cc: current@freebsd.org Subject: Re: ATAPI CD still not detected, verbose boot logs available X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2003 21:39:59 -0000 On Wednesday 03 December 2003 09:55, Soren Schmidt wrote: > Could you try this simple patch and see if that helps? Works for me. No problems so far during three reboots. Log files available at http://cheasy.dyndns.org/bootlogs/5.1-2003-11-30-patched/ Thanks for the good work! =2DChristoph Sold Index: ata-lowlevel.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/sys/dev/ata/ata-lowlevel.c,v retrieving revision 1.23 diff -u -r1.23 ata-lowlevel.c =2D-- ata-lowlevel.c =A0 =A0 =A02 Nov 2003 22:04:53 -0000 =A0 =A0 =A0 1.23 +++ ata-lowlevel.c =A0 =A0 =A03 Dec 2003 07:50:44 -0000 @@ -575,7 +575,7 @@ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0 =A0 =A0 =A0 =A0 =A0 } =A0 =A0 =A0 =A0 } =2D =A0 =A0 =A0 if (stat1 & ATA_S_BUSY) { + =A0 =A0 =A0 if (!((mask =3D=3D 0x03) && (stat0 & ATA_S_BUSY)) && (stat1 &= =20 ATA_S_BUSY)) { =A0 =A0 =A0 =A0 =A0 =A0 ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_SLAVE); =A0 =A0 =A0 =A0 =A0 =A0 DELAY(10);