From owner-freebsd-stable Fri Aug 21 06:38:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA05009 for freebsd-stable-outgoing; Fri, 21 Aug 1998 06:38:41 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from passer.osg.gov.bc.ca (passer.osg.gov.bc.ca [142.32.110.29]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA05004 for ; Fri, 21 Aug 1998 06:38:38 -0700 (PDT) (envelope-from cy@cschuber.net.gov.bc.ca) Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.8.8/8.6.10) id GAA07568; Fri, 21 Aug 1998 06:37:52 -0700 (PDT) Received: from cschuber.net.gov.bc.ca(142.31.240.113), claiming to be "cwsys.cwsent.com" via SMTP by passer.osg.gov.bc.ca, id smtpdEV7563; Fri Aug 21 06:37:14 1998 Received: (from uucp@localhost) by cwsys.cwsent.com (8.9.1/8.6.10) id GAA08894; Fri, 21 Aug 1998 06:37:01 -0700 (PDT) Message-Id: <199808211337.GAA08894@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdWf8886; Fri Aug 21 06:36:51 1998 X-Mailer: exmh version 2.0.2 2/24/98 Reply-to: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-Sender: cy To: "Daniel O'Connor" cc: "Jeff W." , stable@FreeBSD.ORG Subject: Re: FreeBSD takes 8 years to boot up In-reply-to: Your message of "Fri, 21 Aug 1998 14:15:33 +0930." <199808210445.OAA19138@cain.gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 Aug 1998 06:36:44 -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Well, not literally, but a damn long time. I know I have to reconfigure > > the kernel to only probe for the devices known to exist, but after doing > > that, it still takes a long time. I notice the lag right after it detects > > my hard drive, and then another lag after detecting the CDROM. Is there a > > way around this, or should I just get used to getting up for a drink while > > FreeBSD loads? > > The reason for the delay is it waits a while to detect other IDE devices you > might have and waits a while before giving up. If you're only using one > controller, then disable the other one in the config screen. If however you > have, say, a HD on chain 1, and a CDROM on chain 2, then you need to > explicitly disable 'disk wd?' entries. > > So, if you had a HD as master on chain 1 and a CDROM as master on chain to, > change the lines in your kernel config file which read > 'disk wd1 at wdc0 drive 1' > to > 'disk wd1 at wcd0 disable drive 1' > do the same for the wd3 line. I've taken this one step further by also disabling any unused drive addresses in the BIOS. Many BIOS's spend as much time searching the universe for devices as FreeBSD does. It also may be a good idea to remove other unused devices from the kernel as well. The disadvantage to this is that every time you change your configuration you will need to rebuild the kernel. Hopefully that won't be that often. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Open Systems Group Internet: cschuber@uumail.gov.bc.ca ITSD Cy.Schubert@gems8.gov.bc.ca Government of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message