Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2003 22:39:37 +0100
From:      Christoph Sold <cs@cheasy.de>
To:        Soren Schmidt <sos@spider.deepcore.dk>
Cc:        current@freebsd.org
Subject:   Re: ATAPI CD still not detected, verbose boot logs available
Message-ID:  <200312032239.38101.cs@cheasy.de>
In-Reply-To: <200312030855.hB38t0VJ056332@spider.deepcore.dk>
References:  <200312030855.hB38t0VJ056332@spider.deepcore.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312032239.38101.cs>