Date: Fri, 10 Nov 2000 08:56:22 +0200 (SAST) From: Reinier Bezuidenhout <rbezuide@oskar.nanoteq.co.za> To: Richard J Kuhns <rjk@grauel.com> Cc: stable@FreeBSD.ORG, Soren Schmidt <sos@freebsd.dk> Subject: Re: My cdrom disappeared with the new ata-all.c :-( Message-ID: <XFMail.001110085622.rbezuide@oskar.nanoteq.co.za> In-Reply-To: <14859.5061.812358.725100@moriarity.grauel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <ISA bus> on isab0 > atapci0: <Intel PIIX4 ATA33 controller> port 0x1050-0x105f at device 7.1 on > pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 11 > ... > ad0: 11513MB <TOSHIBA MK1214GAP> [23392/16/63] at ata0-master UDMA33 > acd0: DVD-ROM <TORiSAN DVD-ROM DRD-U824> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001110085622.rbezuide>