Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2001 23:53:14 -0600
From:      Sean Kelly <smkelly@zombie.org>
To:        freebsd-stable@freebsd.org
Subject:   Booting with modules
Message-ID:  <20010319235314.A444@edgemaster.zombie.org>

next in thread | raw e-mail | index | archive | help
Is there a limit to the number of modules one can load at boot time?  I
have a list of modules to load in loader.conf, I see loader load them, but
then the kernel never mentions them in startup.

loader.conf:
userconfig_script_load="YES"    # Load userconfig settings
### Modules
# Network
if_dc_load="YES"        # NetGear FA310TX
if_xl_load="YES"        # 3Com 3c900B-TPO
if_ppp_load="YES"       # PPP
# Filesystems
msdos_load="YES"        # FAT
nfs_load="YES"          # Network Filesystem
procfs_load="YES"       # Process filesystem
# Sound
snd_emu10k1_load="YES"  # EMU10K1 driver
# Misc.
agp_load="YES"          # Accelerated Graphics Port
usb_load="YES"          # Universal Serial Bus
vn_load="YES"           # Virtual Node support

When I boot, I see them all loaded before kernel is started.  But then in
the bootup messages:

FreeBSD 4.3-BETA #1: Mon Mar 19 22:15:45 CST 2001
    root@edgemaster.zombie.org:/usr/obj/usr/src/sys/EDGEMASTER
...
real memory  = 134152192 (131008K bytes)
avail memory = 126214144 (123256K bytes)
Preloaded elf kernel "kernel" at 0xc037f000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc037f09c.
Preloaded elf module "msdos.ko" at 0xc037f0ec.
Preloaded elf module "nfs.ko" at 0xc037f18c.
Preloaded elf module "procfs.ko" at 0xc037f228.
Preloaded elf module "vn.ko" at 0xc037f2c8.
Preloaded elf module "if_ppp.ko" at 0xc037f364.
Preloaded elf module "if_dc.ko" at 0xc037f404.
Preloaded elf module "miibus.ko" at 0xc037f4a4.
Preloaded elf module "snd_emu10k1.ko" at 0xc037f544.
link_elf: symbol sndbuf_getbps undefined
Preloaded elf module "usb.ko" at 0xc037f5e8.
Preloaded elf module "agp.ko" at 0xc037f684.                                    
VESA: v2.0, 32768k memory, flags:0x1, mode table:0xc00c6974 (c0006974)
VESA: Matrox Graphics Inc.
...

Notice it loads miibus.ko, which I don't even specify in loader.conf?  This
shows that loader is reading all the modules and adding their dependancies,
but why isn't the kernel getting them all?

-- 
Sean Kelly         | PGP KeyID: 77042C7B
smkelly@zombie.org | http://www.zombie.org

For PGP key, send e-mail with subject "send pgp key"

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?20010319235314.A444>