From owner-freebsd-stable Thu Nov 9 22:59: 9 2000 Delivered-To: freebsd-stable@freebsd.org Received: from jarrow.nanoteq.co.za (jarrow.nanoteq.co.za [196.37.91.33]) by hub.freebsd.org (Postfix) with ESMTP id C72B237B4CF for ; Thu, 9 Nov 2000 22:58:55 -0800 (PST) Received: from jarrow.dev.nanoteq.co.za (localhost [127.0.0.1]) by jarrow.nanoteq.co.za (8.11.1/8.9.3) with ESMTP id eAA6uMG03116; Fri, 10 Nov 2000 08:56:46 +0200 (SAST) (envelope-from rbezuide@oskar.nanoteq.co.za) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <14859.5061.812358.725100@moriarity.grauel.com> Date: Fri, 10 Nov 2000 08:56:22 +0200 (SAST) Reply-To: rbezuide@oskar.nanoteq.co.za From: Reinier Bezuidenhout To: Richard J Kuhns Subject: Re: My cdrom disappeared with the new ata-all.c :-( Cc: stable@FreeBSD.ORG, Soren Schmidt Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi ... I've upgraded my 5.0-current to the sources of about 2 days ago ... before then my CD-ROM was working just fine (detected etc), since the upgrade my kernel too fails to detect the cdrom. One out of the 5 times I rebooted, it found the cdrom. What seems strange is that if it fails to detect the cdrom, my hardrive LED stays on the whole time. This is not on a laptop but on an Intel BX440 chipset motherboard, PII. Should I try the delay too ?? Reinier On 09-Nov-00 Richard J Kuhns wrote: > Soren Schmidt writes: > > *SIGH* This is a no win game, its incrediable how crappy hardware > > can be made these days :( > > > > 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... > > > > > > Index: ata-all.c > > =================================================================== > > 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 2000/11/09 10:47:29 1.50.2.11 > > +++ ata-all.c 2000/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); > > + DELAY(30000); > > outb(scp->altioaddr, ATA_A_IDS); > > DELAY(100000); > > inb(scp->ioaddr + ATA_ERROR); > > > > > > > > -Søren > > I'm sure you don't want to hear this, but it made no difference. I even > 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 recent > 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 get > there. > -- > Richard Kuhns rjk@grauel.com > PO Box 6249 Tel: (765)477-6000 \ > 100 Sawmill Road x319 > Lafayette, IN 47903 (800)489-4891 / > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message ################################################################### # # # R.N. Bezuidenhout NetSeq Firewall # # rbezuide@oskar.nanoteq.co.za http://www.nanoteq.co.za # # # ################################################################### ---------------------------------- Date: 10-Nov-00 Time: 08:50:41 This message was sent by XFMail ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message