View previous topic :: View next topic |
Author |
Message |
chy1013m1 Tux's lil' helper
Joined: 12 Jul 2006 Posts: 76
|
Posted: Sun Aug 13, 2006 3:55 am Post subject: Kernel module load question |
|
|
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 |
|
|
sfragis Tux's lil' helper
Joined: 24 Mar 2005 Posts: 95 Location: RE < IT < Europe
|
Posted: Sun Aug 13, 2006 7:38 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|