Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/init.d/modules not loading modules in /etc/conf[SOLVED]
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
NotQuiteSane
Guru
Guru


Joined: 30 Jan 2005
Posts: 488
Location: Klamath Falls, Jefferson, USA, North America, Midgarth

PostPosted: Wed Sep 10, 2008 7:03 pm    Post subject: /etc/init.d/modules not loading modules in /etc/conf[SOLVED] Reply with quote

I am having problems with my modules loading at boot time.

my /etc/conf.d/modules looks like this:

Code:
pixel# grep -vh '^[[:space:]]*\(#\|$\)' "$@" /etc/conf.d/modules
modules="ipw2200"
modules="button"
modules="battery"
modules="lzf"
modules="lzo"
modules="evdev"
modules="mousdev"
modules="atkbd"
modules="psmouse"
modules="i8042"
modules="libps2"
modules="serio"
modules="sdhci"
modules="softdog"
modules="acpi-cpufreq"
modules="lzo_decompress"
modules="lzo_compress"
modules="cpufreq_ondemand"
modules="cpufreq_powersave"
modules="tlsf"
module_compcache_args="compcache_size_kbytes=774144"
pixel# grep -vh '^[[:space:]]*\(#\|$\)' "$@" /etc/conf.d/modules | wc -l
21


lsmod shows that out of the baove 21, we have loaded:

Code:
pixel# for i in ipw2200 button battery lzf lzo evdev mousedev atkbd psmouse i8042 libps2 serio sdhci softdog acpi-cpufreq  cpufreq tlsf compcache; do lsmod | grep $i;done
evdev                   7360  1
psmouse                31952  0
tlsf                    4232  0


just to make sure all modules are avadiable...

Code:
pixel# for i in ipw2200 button battery lzf lzo evdev mousedev atkbd psmouse i8042 libps2 serio sdhci softdog acpi-cpufreq  cpufreq tlsf compcache; do modprobe -ls | grep $i;done
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/drivers/net/wireless/ipw2200.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/drivers/acpi/button.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/drivers/acpi/battery.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/crypto/lzf.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/lib/lzo/lzo_decompress.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/lib/lzo/lzo_compress.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/crypto/lzo.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/drivers/input/evdev.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/drivers/input/mouse/psmouse.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/drivers/mmc/host/sdhci.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/drivers/watchdog/softdog.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/drivers/cpufreq/cpufreq_userspace.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/drivers/cpufreq/cpufreq_stats.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/drivers/cpufreq/cpufreq_powersave.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/drivers/cpufreq/cpufreq_conservative.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/mm/tlsf.ko
/lib/modules/2.6.26-tuxonice2008Sep09101436/kernel/drivers/block/compcache.ko
pixel# for i in ipw2200 button battery lzf lzo evdev mousedev atkbd psmouse i8042 libps2 serio sdhci softdog acpi-cpufreq  cpufreq tlsf compcache; do modprobe -ls | grep $i;done | wc -l
19


hmm, looks like i8042 and libps2 aren't compiled as modules. seperate irrelavent issue.

ok, so all but 2 modules are avadiable, and should load, right? but when i start the init script i get this:

Code:
pixel# /etc/init.d/modules -v restart
 * WARNING: you are stopping a boot service
 * Loading module tlsf ...                                                                                                                                                                                                                                         [ ok ]
 * Autoloaded 1 module(s)
pixel#


that's 18 modules not being loaded. any suggestions as to what needs to be changed/fixed?

TIA,

NQS[*]
_________________
These opinions are mine, mine I say! Piss off and get your own.

As I see it -- An irregular blog, Improved with new location

To delete French language packs from system use 'sudo rm -fr /'


Last edited by NotQuiteSane on Thu Sep 11, 2008 5:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Thu Sep 11, 2008 5:04 am    Post subject: Reply with quote

What happens if you put them all on the same line ?
/etc/conf.d/modules:
modules="ipw2200 button battery lzf lzo evdev mousedev atkbd psmouse i8042 libps2 serio sdhci softdog acpi-cpufreq cpufreq tlsf compcache"
Back to top
View user's profile Send private message
NotQuiteSane
Guru
Guru


Joined: 30 Jan 2005
Posts: 488
Location: Klamath Falls, Jefferson, USA, North America, Midgarth

PostPosted: Thu Sep 11, 2008 5:55 pm    Post subject: Reply with quote

cyrillic wrote:
What happens if you put them all on the same line ?
/etc/conf.d/modules:
modules="ipw2200 button battery lzf lzo evdev mousedev atkbd psmouse i8042 libps2 serio sdhci softdog acpi-cpufreq cpufreq tlsf compcache"


that solved it. thanks

NQS
_________________
These opinions are mine, mine I say! Piss off and get your own.

As I see it -- An irregular blog, Improved with new location

To delete French language packs from system use 'sudo rm -fr /'
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