Date: Tue, 6 Jan 1998 17:19:12 -0600 From: Dan Nelson <dnelson@emsphone.com> To: jservice@oht.hydro.on.ca Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can I speed up probing the second hard disk controller? Message-ID: <19980106171912.08860@emsphone.com> In-Reply-To: <19980106205109.516.rocketmail@send1b.yahoomail.com>; from "James R R Service" on Tue Jan 6 12:51:09 GMT 1998 References: <19980106205109.516.rocketmail@send1b.yahoomail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 06), James R R Service said: > My 200 MHz Pentium has two disk controllers (wd0 and wd1) with a hard > disk on wd0 and the cdrom drive as a slave on wd1. It takes between > 20 and 30 seconds to probe and find wd1 and wcd0. Because of ribbon > cable lengths and the physical layout inside my PC I can't move the > cdrom drive cable to use the first controller. Is there a boot > flag/kernel configuration I can try to eliminate this long probing > delay in FreeBSD v2.2.2? Edit /sys/i386/isa/wd.c, around line 111. There's a TIMEOUT define that you can change, then rebuild your kernel. I set it to 2000 on my machines around here, but you'll want to experiment to get a number you can use. It depends on how quickly your IDE devices respond to the probe. Set the number too low, and the device probes might fail on valid devices. The default is 10000, which might be defined in a spec somewhere as the maximum delay. -Dan Nelson dnelson@emsphone.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980106171912.08860>