Re: loader.conf examples

From: Robert Watson (rwatson_at_freebsd.org)
Date: 01/23/05

  • Next message: ianjhart: "sendmail failure"
    Date: Sun, 23 Jan 2005 17:41:04 +0000 (GMT)
    To: "Jason C. Wells" <jcw@highperformance.net>
    
    

    On Sun, 23 Jan 2005, Jason C. Wells wrote:

    > --On Sunday, January 23, 2005 7:22 AM -0500 Matt Herzog <msh@blisses.org>
    > wrote:
    >
    > > I'm confused about how and why modules are built and (seemingly
    > > loaded without my having specified any to load) when I have not
    > > told my kernel conf file to build anything as a module. As a former
    > > NetBSD user, I had expected a monolitic kernel . . .
    >
    > You can still run a monolithic kernel as I do. You can also use
    > NO_MODULES as a make option to prevent the build and installation of
    > modules. See also MODULES_OVERRIDE is /sys/conf/NOTES.
    >
    > If you never specified a module to load, then no modules should be
    > loaded. (Ref kldstat) Maybe the default behavior has changed. I
    > wouldn't know though since I don't use the default behavior.

    Modules will sometimes be auto-loaded on demand -- typically this occurs
    in the following sorts of situations:

    - Modules will be auto-loaded of another module that depends on the module
      is loaded.
    - acpi.ko will be auto-loaded during the boot process if ACPI is enabled.
    - The kernel will auto-load modules necessary to mount a requested file
      system if the necessary modules are not already present.
    - If certain features are enabled in rc.conf, the modules will be loaded
      to support them if not already present in the kernel, including modules
      for various ABI compatibility layers (linux, etc), firewalls,
      ATM-related network pieces, NFS, and some MAC modules.
    - The ppp(8) command will auto-load modules to support PPPoE if required.

    The user process requested loading of modules is blocked if the
    securelevel is > 0. Likewise for the auto-loading of modules relating to
    file system mounts. The loader will still load modules during the early
    boot process before the securelevel is available for inspection, however.

    Robert N M Watson

    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: ianjhart: "sendmail failure"

    Relevant Pages

    • Re: Very high load on P4 machines with 2.4.28
      ... the machine with the highest load average is the ... a load of 0.75, pushing out 14Mbit/s. ... > increases your wait I/O time in this particular application. ... nothing that would suggest such change, but then I'm not a kernel hacker, I ...
      (Linux-Kernel)
    • Re: Dynamically loading binaries in Kernel mode.
      ... Right now only the kernel will load ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
      (microsoft.public.development.device.drivers)
    • [RFC 10/11] remove mention of CONFIG_KMOD from documentation
      ... this will allocate the first available loopback device (and load loop.o ... kernel module if necessary) automatically. ... plugged into slots found on all modern laptop computers. ...
      (Linux-Kernel)
    • [PATCH -next 10/11] remove mention of CONFIG_KMOD from documentation
      ... this will allocate the first available loopback device (and load loop.o ... kernel module if necessary) automatically. ... plugged into slots found on all modern laptop computers. ...
      (Linux-Kernel)
    • Xorg xserver blank using one kernel, but ok using another
      ... because xorg.conf is the same whether it's runinng under Xen or a normal kernel. ... The main difference beteween the blank screen and the ok screen is that when the display works, I get "VESA VBE DDC supported" but when it goes blank I get "VESA VBE DDC not supported". ... # This file was generated by dexconf, the Debian X Configuration tool, using ... Load "bitmap" ...
      (Debian-User)