View previous topic :: View next topic |
Author |
Message |
simulacrum Tux's lil' helper
Joined: 30 Nov 2002 Posts: 128 Location: St Paul, MN
|
Posted: Sat May 14, 2005 3:17 pm Post subject: No module loading creating syslog errors |
|
|
I have disabled module loading on my server because it has no hardware which requires a module and I've heard while rare, one could theoretically exploit module loading. I've ran like this for the last couple of years but have always gotten the below error message in my syslogs. I was wondering if anyone knew why this error was appearing (is something trying to modprobe?) and how I would go about identifying the cause and stopping it. Thanks!
Code: |
May 13 14:43:54 [modprobe] FATAL: Could not load /lib/modules/2.6.11-gentoo-r4/modules.dep: No such file or directory
|
|
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Sat May 14, 2005 3:22 pm Post subject: |
|
|
well, IMHO this is not fatal, and modules.dep does not exists, infact you probably didnt run "make modules_install", or if so, the directory is simply empty (of course).
hmm.. what about your kernel configuration?
is CONFIG_MODULES set to NO?
do you have AUTOLOAD MODULES enabled? disable that one. |
|
Back to top |
|
|
simulacrum Tux's lil' helper
Joined: 30 Nov 2002 Posts: 128 Location: St Paul, MN
|
Posted: Sat May 14, 2005 4:12 pm Post subject: |
|
|
I agree it isn't a big problem which is why I've lived with it this was as long as I have.
I have module loading support disabled in the kernel which also disables module autoloading, so the answer to your question is yes both are disabled. When building the kenel without module support you actually can not make modules_install, if you do you get an error stating that modules aren't enabled (I've done this out of habbit a couple times). |
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Sat May 14, 2005 4:55 pm Post subject: |
|
|
hmm. does "/lib/modules/2.6.11-gentoo-r4/" exist at all on your system? if not create it, and see if problem persists.
if problem persists - simply ceate an empty modules.dep in there
yeah yeah - ah well, not a smart solution <g>, but at last it gets you rid of those errors, and they probably spoil yours /var/log/messages, which might get a little annoying i understand.
hmm.. this would be worth a message to those doodes at kernel.org, if this kludge solves your problem. i dont think it is distributuon dependent.. well, i could be wrong, you never know
ah.. btw, what happens if you ENABLE module support, but simply dont create any? |
|
Back to top |
|
|
|