Date: Thu, 9 Nov 2000 21:38:34 +0100 (CET) From: Soren Schmidt <sos@freebsd.dk> To: rjk@grauel.com (Richard J Kuhns) Cc: stable@freebsd.org, sos@freebsd.org Subject: Re: My cdrom disappeared with the new ata-all.c :-( Message-ID: <200011092038.VAA30964@freebsd.dk> In-Reply-To: <14859.1104.90246.424231@moriarity.grauel.com> from Richard J Kuhns at "Nov 9, 2000 03:08:48 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
It seems Richard J Kuhns wrote:
> I just built and installed a new kernel on my laptop, and it couldn't find
> my cdrom. There were no error messages; dmesg just doesn't show ata1.
>
> This was with ata-dev.c v1.50.2.11. I reverted to v1.50.2.10 and rebuilt,
> and everything was fine.
>
> Let me know if there's any way I can help...
*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
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?200011092038.VAA30964>
