From owner-freebsd-stable Thu Nov 9 13:16:40 2000 Delivered-To: freebsd-stable@freebsd.org Received: from moriarity.grauel.com (moriarity.grauel.com [199.233.104.37]) by hub.freebsd.org (Postfix) with ESMTP id BD30937B479 for ; Thu, 9 Nov 2000 13:16:36 -0800 (PST) Received: (from rjk@localhost) by moriarity.grauel.com (8.11.1/8.11.1) id eA9LEjL50503; Thu, 9 Nov 2000 16:14:45 -0500 (EST) (envelope-from rjk) From: Richard J Kuhns MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <14859.5061.812358.725100@moriarity.grauel.com> Date: Thu, 9 Nov 2000 16:14:45 -0500 (EST) To: Soren Schmidt Cc: stable@freebsd.org Subject: Re: My cdrom disappeared with the new ata-all.c :-( In-Reply-To: <200011092038.VAA30964@freebsd.dk> References: <14859.1104.90246.424231@moriarity.grauel.com> <200011092038.VAA30964@freebsd.dk> X-Mailer: VM 6.75 under 21.1 (patch 11) "Carlsbad Caverns" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Soren Schmidt writes: > *SIGH* This is a no win game, its incrediable how crappy hardware > can be made these days :( >=20 > However, could you try this patch and if it doesn't work up the > DELAY further to say 50000 ? The problem here is that lots of > other ATAPI devices hangs if the delay gets much bigger than that...= >=20 >=20 > Index: ata-all.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-all.c,v > retrieving revision 1.50.2.11 > diff -u -r1.50.2.11 ata-all.c > --- ata-all.c=092000/11/09 10:47:29=091.50.2.11 > +++ ata-all.c=092000/11/09 20:35:46 > @@ -1253,7 +1253,7 @@ > DELAY(1); > inb(scp->ioaddr + ATA_STATUS); > outb(scp->altioaddr, ATA_A_IDS | ATA_A_RESET); > - DELAY(10000);=20 > + DELAY(30000);=20 > outb(scp->altioaddr, ATA_A_IDS); > DELAY(100000); > inb(scp->ioaddr + ATA_ERROR); >=20 >=20 >=20 > -S=F8ren I'm sure you don't want to hear this, but it made no difference. I eve= n tried upping it to 70000 and then 100000, but ata1 never showed up. I'= ve just reverted to 1.50.2.10 again. Here's an extract from my most recen= t reboot. The only diffence between this and one with 1.50.2.11 is that = the ata1: and acd0: lines aren't there :(. ... isa0: on isab0 atapci0: port 0x1050-0x105f at device 7.= 1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 irq 11 ... ad0: 11513MB [23392/16/63] at ata0-master UDMA33 acd0: DVD-ROM at ata1-master using UDMA33 Mounting root from ufs:/dev/ad0s2a ... Anything else? I'm heading home right now, but I'll check in after I g= et there. --=20 Richard Kuhns=09=09=09rjk@grauel.com PO Box 6249=09=09=09Tel: (765)477-6000 \ 100 Sawmill Road=09=09=09=09 x319 Lafayette, IN 47903=09=09 (800)489-4891 / To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message