Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 1998 06:36:44 -0700
From:      Cy Schubert - ITSD Open Systems Group <cschuber@uumail.gov.bc.ca>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        "Jeff W." <dmt@bigfoot.com>, stable@FreeBSD.ORG
Subject:   Re: FreeBSD takes 8 years to boot up 
Message-ID:  <199808211337.GAA08894@cwsys.cwsent.com>
In-Reply-To: Your message of "Fri, 21 Aug 1998 14:15:33 %2B0930." <199808210445.OAA19138@cain.gsoft.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808211337.GAA08894>