Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev doesn't autoload 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
lixo1
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2010
Posts: 84

PostPosted: Sat Nov 19, 2011 3:43 pm    Post subject: udev doesn't autoload modules Reply with quote

Hi,
I just update my kernel to 3.0.6-gentoo, putting as usual my modules on /etc/conf.d/modules (here an example with few modules)

Code:

# You should consult your kernel documentation and configuration
# for a list of modules and their options.
modules_2_6="vboxnetflt"
modules_2_6="vboxpci"
modules_2_6="vboxdrv"
modules_2_6="vboxnetadp"


but when I boot, udev says "Autoloaded modules 0", and doing lsmod I don't see my cited modules.
What is happening? Why udev cannot load modules from /etc/conf.d/modules?

Thank you very much for any kind of help!
Cheers
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Sat Nov 19, 2011 4:12 pm    Post subject: Reply with quote

If you have only one kernel, use:
modules="module1 module2 module3",
if not, use:
modules_3_0="module1 module2 module3", or
modules_3_0_6="module1 module2 module3", or
modules_3_0_6_gentoo="module1 module2 module3".
Back to top
View user's profile Send private message
lixo1
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2010
Posts: 84

PostPosted: Sat Nov 19, 2011 5:14 pm    Post subject: Reply with quote

Great, it works! Thank you very much!
Back to top
View user's profile Send private message
ultraincognito
Guru
Guru


Joined: 03 Jun 2011
Posts: 346
Location: Ukraine

PostPosted: Sun Nov 20, 2011 9:19 am    Post subject: Reply with quote

Do udev to go in an autoloading kernel modules? It's news for me.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Sun Nov 20, 2011 12:25 pm    Post subject: Reply with quote

udev autoload itself some modules base on hardware detection, but i think it's openrc task to load the modules you've put in /etc/conf.d/modules
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3526

PostPosted: Sun Nov 20, 2011 1:21 pm    Post subject: Reply with quote

sebaro wrote:
If you have only one kernel, use:
modules="module1 module2 module3",
if not, use:
modules_3_0="module1 module2 module3", or
modules_3_0_6="module1 module2 module3", or
modules_3_0_6_gentoo="module1 module2 module3".


I was unaware of your first syntax. I find the second syntax a bit of a pain, because I've discovered by trial and error that there is no "modules_3=" that will work. However I see no reason why I can't use your first syntax instead.

I still keep a 2.6.3x kernel around on all of my systems, because last I heard, python wouldn't emerge on 3.x kernels. Does anyone know if that has changed, if that little problem is fixed? Are there any reasons to keep a 2.6.3x kernel around? (That is, other than my dedicated mythfrontend, which I still haven't managed to find time to get moved to devinput yet.)
_________________
.sigs waste space and bandwidth
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