Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23386 - baselayout: modprobe errors during boot on non-mod system
Summary: baselayout: modprobe errors during boot on non-mod system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-24 09:31 UTC by Klaus Kusche
Modified: 2004-10-05 08:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Kusche 2003-06-24 09:31:46 UTC
During boot, in the step "Setting system clock ..." (and before the [Ok] of that
step), the error message "modprobe: Can't open dependencies file ..." is
displayed four times on the console.

This is on a non-module system (statically linked kernel with no module
infrastructure at all), so of course this file does not exist.

The error was introduced with baselayout 1.8.6.8-r1, the previous stable
baselayout version displayed no such error.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-06-30 14:24:12 UTC
You cannot maybe be a bit more specific as to what is causing it ?
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-06-30 14:24:57 UTC
If possible, of course.  Thanks.
Comment 3 Klaus Kusche 2003-07-01 11:00:14 UTC
Unfortunately, no. I tried to locate the modprobe call causing this messages in the /etc/init.d scripts, but I failed: 

There is a modprobe in "localmount" and in "modules", but they are both properly surrounded by if's checking for "/proc/modules" (which does not exist on my system). 

There is another modprobe in "pcmcia". This one is *not* properly protected by an if (it reads "/proc/modules" without checking for its existance!), but it does not seem to be the modprobe causing the messages: The messages still appeared even after I commented that "modprobe" out or put an if around it.

I've no idea where these modprobes come from.

Is there any way to trace script execution during initialization?
Comment 4 Torsten Flammiger 2003-07-05 04:50:19 UTC
allmost the same for me: but i HAVE modules and they work as they should. Between starting metalog and pcmcia i get two warning messages: "Hint: insmod errors can be caused..." The name of the module which caused this message is not shown. This all happened after emerging baselayout 1.8.6.8-r1 - no kernel changes where made. I also tried baselayout 1.8.6.9 but the bootmessage remains
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-07-17 12:52:01 UTC
Do any of you have hotplug or module-init-tools installed ?
Comment 6 Klaus Kusche 2003-07-17 13:03:14 UTC
I've hotplug installed, but not module-init-tools.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-04 12:21:59 UTC
Sorry, been MIA for a bit.  Could you try to uninstall hotplug ?  Thanks.
Comment 8 Klaus Kusche 2003-08-05 02:08:41 UTC
The four messages are also displayed when booting with hotplug uninstalled.

However, I noticed that hotplug is a prerequisite to some other package (a dependency check with emerge wanted to re-install hotplug), perhaps that package (I didn't check which one) is responsible for the messages?
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-05 14:09:26 UTC
Right, on 2.4 it was caused by modules-update running the 2.5 stuff as well.
Should be fixed in 1.8.6.10, please try.
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-07 04:07:37 UTC
And ?
Comment 11 Klaus Kusche 2003-08-31 07:08:16 UTC
Sorry for the long delay, I was on holidays.

Emerging baselayout 1.8.6.10 didn't change anything, the messages are still there.
Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-07 16:10:28 UTC
Then I do not know.  Try to track where it comes from please.
Comment 13 Klaus Kusche 2003-09-13 13:51:34 UTC
modprobe is called by devfsd, twice for /dev/rtc and twice for /dev/misc/rtc.

hwclock (started by rc) is running in parallel and most likely causing this.
Comment 14 Klaus Kusche 2003-12-13 11:33:33 UTC
Tried 2.6 kernel, no problem there.
Comment 15 Aron Griffis (RETIRED) gentoo-dev 2004-05-06 19:36:29 UTC
Is this still an issue in current kernels and baselayouts?  There hasn't been any activity in this bug for a long time.
Comment 16 Klaus Kusche 2004-05-22 03:19:50 UTC
The modprobe messages don't appear any more on my system (with 2.6.x kernel and current baselayout, hotplug, ...).

Thanks!
Comment 17 Klaus Kusche 2004-06-05 13:54:05 UTC
Sh*t!

Today, I updated my system to current (new baselayout 1.9.4-r1 and new module-init-tools 3.0-r2, among others), and the problem reappeared!
Comment 18 Klaus Kusche 2004-06-06 03:56:53 UTC
Problem solved.

The messages are indeed caused by devfsd trying to autoload modules when nonexistant /dev/xxx entries are accessed (/dev/rtc in my case, I do not have the rtc interface driver compiled into my kernel), which of course fails in a non-modular system.

I commented out 
LOOKUP          .*           MODLOAD
in /etc/devfsd.conf,
and the messages are gone.
Comment 19 SpanKY gentoo-dev 2004-10-05 08:46:32 UTC
all set now