From owner-freebsd-questions Sun Aug 23 12:03:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA13433 for freebsd-questions-outgoing; Sun, 23 Aug 1998 12:03:03 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA13427 for ; Sun, 23 Aug 1998 12:03:00 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.8.8/8.8.8) id OAA04691; Sun, 23 Aug 1998 14:01:56 -0500 (CDT) (envelope-from dan) Message-ID: <19980823140156.A4556@emsphone.com> Date: Sun, 23 Aug 1998 14:01:56 -0500 From: Dan Nelson To: Leonard Ong , questions@FreeBSD.ORG Subject: Re: Long Delay References: <199808230156.SAA01845@hub.freebsd.org> <000501bdce4b$d03141c0$55069aca@ZhugeLiang.ong.net.id> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.2i In-Reply-To: <000501bdce4b$d03141c0$55069aca@ZhugeLiang.ong.net.id>; from "Leonard Ong" on Sun Aug 23 11:09:24 GMT 1998 X-OS: FreeBSD 2.2.7-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Aug 23), Leonard Ong said: > Dear Friend, > > I am new to freebsd. In Generic kernel in freebsd 2.2.6 and kernel > that i tried to customized, I find that there is long delay in boot > process. The delay about 30 seconds to 1 minutes, this happen after > the kernel specify the hard-disk type and befre specify the cdrom > type. Edit /sys/i386/isa/wd.c, around line 105. Change the "#define TIMEOUT" line, and set it to somewhere between 2000-4000. This is the timeout that the IDE driver uses when probing for devices (it does three probes per device, so a probe for wd1 where there is nothing at wd1 would wait 10000*3 milliseconds == 30 secs). Setting the timeout at 2000 would result in a 6-second wait per unconnected IDE device. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message