Re: How does Debian load the kernel modules



On 09/26/2006 09:30 PM, Zheng Da wrote:
Does Debian load LKM automatically?
If it does, in which way? With the kernel module loader or with a kerneld
daemon?
I find that there is /etc/modules, but it list only a few modules. lsmod
shows me many more.
So I wonder how the other modules is loaded?


/etc/modules.conf tells the kernel what modules perform what features. When a kernel feature is requested by a program, the kernel looks into /etc/modules.conf to see if there is a module that supports that feature. If so, it's loaded.

Install the kernel sources, then read <kernel-source>/Documentation/kmod.txt. Also read "man modprobe.conf"

HTH


--
paduille.4058.mumia.w@xxxxxxxxxxxxx


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: [PATCH] Blacklist binary-only modules lying about their license
    ... You added a null after the "GPL". ... It appears to me that this is telling the kernel that the module is licensed as "GPL", ... Chris ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [PATCH] [Coding Style]: misc fixes for fs/ext{3,4}/acl.{c,h} from checkpatch.pl
    ... contributed fixes to the Linux kernel? ... My pet theory is that it is similar to the "unsubscribe me" ... cascade effect you sometimes see on mailing lists. ... Since I'm one of those people that sent "Codying style fixes" patches ...
    (Linux-Kernel)
  • Re: bind9 crashing constantly in etch with no log output
    ... I'm running etch on an Athlon XP1800+ with the k7 kernel, but I tried the 686 kernel too in case there was something about that, though it seemed unlikely. ... I get nothing whatsoever in the log file when it crashes. ... If I run it in the foreground with -g I can get some output, though it varies. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: 2.6.25 Issues
    ... It's either the hardware or the chipset, because the nvidia MCP55 chipset with sata_nv and jmicron drivers havebeen working perfectly for me so far. ... I just realized that I haven't rebooted yet, and so am still running a kernel from linux-source-2.6.25 v2.6.25-7. ... the last kernel that the -ck patch could be applied to. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: [PATCH] Blacklist binary-only modules lying about their license
    ... The MODULE_LICENCE macro is a technical way of indicating the licence ... Now it might be that some vendors have written aditional comments ... If some vendor tells the kernel that it's licence is "GPL" then ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)