View previous topic :: View next topic |
Author |
Message |
spatz Retired Dev
Joined: 21 Sep 2002 Posts: 61 Location: Israel
|
Posted: Tue Apr 15, 2003 10:08 pm Post subject: Weird modules problem on boot |
|
|
When gentoo boots and is trying to load the modules it says it is unable to load mousedev and joydev. I have those two things compiled built-in the kernel, not as modules and i don't have them anywhere in /etc/modules.d and in /etc/modules.autoload. Why does it want to load them?
The message displayed on boot:
Code: |
modprobe: Note: /etc/modules.conf is more recent than /lib/modules/2.4.20-ck4/modules.dep
modprobe: modprobe: Can't locate module mousedev
modprobe: Note: /etc/modules.conf is more recent than /lib/modules/2.4.20-ck4/modules.dep
modprobe: modprobe: Can't locate module joydev
|
|
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Apr 16, 2003 3:20 am Post subject: |
|
|
This sounds similar to something I see each time I boot. I wrote about it here. I do not see anything about modules.dep though and that could be the bit of information I was missing!
Regards,
BonezTheGoon |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Apr 16, 2003 3:29 am Post subject: |
|
|
Well there is no mention (that I found when I just searched) in either my modules.conf or my modules.dep of keybdev which is the module mentioned in the error I get. Still a mystery to me!!
Regards,
BonezTheGoon |
|
Back to top |
|
|
handsomepete Guru
Joined: 21 Apr 2002 Posts: 548 Location: Kansas City, MO
|
Posted: Wed Apr 16, 2003 3:31 am Post subject: |
|
|
You could try to go back to /usr/src/linux and make -d dep (I think that's the debug switch) and output it to a file. Less through that to see if any weirdness popped up. Or maybe you can cheat and just cut/comment out the offending lines from modules.dep. I have no idea what that'll actually do, but trying things is fun! |
|
Back to top |
|
|
spatz Retired Dev
Joined: 21 Sep 2002 Posts: 61 Location: Israel
|
Posted: Wed Apr 16, 2003 1:49 pm Post subject: |
|
|
I'll try compiling mousedev and joydev as modules, that must solve the problem... |
|
Back to top |
|
|
spatz Retired Dev
Joined: 21 Sep 2002 Posts: 61 Location: Israel
|
Posted: Thu Apr 17, 2003 5:26 pm Post subject: |
|
|
I recompiled my kernel, but the problem is only partially solved.
It doesn't complain about missing mousedev and joydev anymore (now I do have them as modules) but now modprobe and insmod are complaining about modules.conf being newer than modules.dep.
I think this is happening because at every boot the init script is running update-modules, making modules.conf newer. I looked at /sbin/update-modules and the last part there says:
Code: |
# We also call depmod here to stop insmod from complaining that modules.conf
# is more recent then modules.dep
#
if [ -d `depdir` -a -f /proc/modules ]
then
depmod -a
fi
|
Well, insmod is complaining, so what's going on? |
|
Back to top |
|
|
|