Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lsmod - no modules!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wickaman
Guest





PostPosted: Thu May 16, 2002 3:49 pm    Post subject: lsmod - no modules! Reply with quote

Anyone know what would cause total module failure? If I do an lsmod I get no modules listed and I have a lot of stuff set as modules (using kernel 2.4.19-gentoo-r4).

Also, make modules modules_install doesnt work and neither does update-modules. Both bug out with errors.

So.. is it all screwed? During boot I get a "failed to calculate module dependencies" error too.
Back to top
huw
Apprentice
Apprentice


Joined: 13 May 2002
Posts: 220
Location: UK

PostPosted: Thu May 16, 2002 4:34 pm    Post subject: Reply with quote

what was the last thing you did before you rebooted with this kernel? Looks like something wrong in the kernel configuration like modules support turned off, or the whole thing not compiled properly - did you miss out "make dep" or something?
Back to top
View user's profile Send private message
wickaman
Guest





PostPosted: Thu May 16, 2002 4:58 pm    Post subject: Reply with quote

Its a fresh system, but yes module support is built in and I did a make dep.
Back to top
huw
Apprentice
Apprentice


Joined: 13 May 2002
Posts: 220
Location: UK

PostPosted: Thu May 16, 2002 5:10 pm    Post subject: Reply with quote

ok, those were the first things I could think of that might cause that problem...

cd to /lib/modules/2.4.19-gentoo-r4. If there are any modules there try "insmod [one of your modules]" and see what happens - ie errors/dmesg output.
Back to top
View user's profile Send private message
jay
l33t
l33t


Joined: 08 May 2002
Posts: 980

PostPosted: Thu May 16, 2002 5:46 pm    Post subject: Reply with quote

did you add the modules to the modules.autoload file?
_________________
Do you want your posessions identified? [ynq] (n)
Back to top
View user's profile Send private message
Jeevz
Bodhisattva
Bodhisattva


Joined: 15 Apr 2002
Posts: 195
Location: Boston, MA

PostPosted: Fri May 17, 2002 1:00 pm    Post subject: Re: lsmod - no modules! Reply with quote

wickaman wrote:
Also, make modules modules_install doesnt work and neither does update-modules. Both bug out with errors.


Do you get these errors right after compiling the kernel? If so, what are the error messages?
Back to top
View user's profile Send private message
jay
l33t
l33t


Joined: 08 May 2002
Posts: 980

PostPosted: Sat May 18, 2002 6:31 am    Post subject: Reply with quote

I had a similiar problem, when I wrote changes directly to the /etc/modules.conf file. In this case, delete this file and add the changes to /etc/modules.d/aliases. The modules-update during boot will then automatically create a fresh file.
_________________
Do you want your posessions identified? [ynq] (n)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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