Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel module load question
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
chy1013m1
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2006
Posts: 76

PostPosted: Sun Aug 13, 2006 3:55 am    Post subject: Kernel module load question Reply with quote

Hi, sorry for a very dumb question.. How do I make gentoo load *ALL* available modules under /lib/modules at boot, after a new kernel compilation (I did make modules_install, but some modules do not seem to load, and I do not want to manuallly type in module names into autoload.d entry..)

thanks!
Back to top
View user's profile Send private message
sfragis
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2005
Posts: 95
Location: RE < IT < Europe

PostPosted: Sun Aug 13, 2006 7:38 am    Post subject: Reply with quote

chy1013m1 wrote:

I did make modules_install, but some modules do not seem to load, and I do not want to manuallly type in module names into autoload.d entry..

The command "make modules_install" installs the compiled modules in /lib/modules/new_kernel_version/x/y/z, it has nothing to do with module loading.
If I were you I would use a shell script (after a new kernel compilation):
Code:

#!/bin/sh
kver=$(< /usr/src/linux/.kernelrelease)
find /lib/modules/$kver -name '*.ko' -print > /etc/modules.autoload.d/kernel-2.6

_________________
Regards
Fabio Strozzi
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