Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Weird modules problem on boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
spatz
Retired Dev
Retired Dev


Joined: 21 Sep 2002
Posts: 61
Location: Israel

PostPosted: Tue Apr 15, 2003 10:08 pm    Post subject: Weird modules problem on boot Reply with quote

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
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Wed Apr 16, 2003 3:20 am    Post subject: Reply with quote

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
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Wed Apr 16, 2003 3:29 am    Post subject: Reply with quote

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
View user's profile Send private message
handsomepete
Guru
Guru


Joined: 21 Apr 2002
Posts: 548
Location: Kansas City, MO

PostPosted: Wed Apr 16, 2003 3:31 am    Post subject: Reply with quote

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
View user's profile Send private message
spatz
Retired Dev
Retired Dev


Joined: 21 Sep 2002
Posts: 61
Location: Israel

PostPosted: Wed Apr 16, 2003 1:49 pm    Post subject: Reply with quote

I'll try compiling mousedev and joydev as modules, that must solve the problem...
Back to top
View user's profile Send private message
spatz
Retired Dev
Retired Dev


Joined: 21 Sep 2002
Posts: 61
Location: Israel

PostPosted: Thu Apr 17, 2003 5:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum