Date: Sat, 17 May 1997 12:07:12 -0500 From: Dan Nelson <dnelson@emsphone.com> To: Johan Larsson <gozer@ludd.luth.se> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Probing time. Message-ID: <19970517120712.59744@dan.emsphone.com> In-Reply-To: <Pine.SUN.3.95.970517125136.9261A-100000@sister.ludd.luth.se>; from "Johan Larsson" on Sat, May 17, 1997 at 12:56:51PM %2B0200 References: <Pine.SUN.3.95.970517125136.9261A-100000@sister.ludd.luth.se>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 17), Johan Larsson said: > Is there any way to make the probing time for wdc1 smaller? It is > when my computer boots and it stops for about 20 seconds right after > that the wdc0 and the disks connected to it been found. I have an > ATAPI cdrom as master on that controller, but it is the same when i > have an ordinary harddrive connected to it. Thanks in advance for any > answers :-) Take a look at /sys/i386/isa/wd.c . The first #define after all the #includes is #define TIMEOUT 10000 Every time wdwait() is called, it waits for TIMEOUT ms for a response from an IDE device. I added a little debugging, and with my kernel, wdwait() times out 3 times during probing. That would be around 30 seconds. Try decreasing the TIMEOUT define and see if that helps. I have TIMEOUT set at 2000, and everything still works. Your mileage may vary, depending on how old your IDE devices are. -Dan Nelson dnelson@emsphone.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970517120712.59744>