[SLE] How to block kernel module from loading?
Whenever I boot my system it loads the cx88_alsa module for my tv card. This blocks the system from loading the module for the sound card and I have no sound. After much effort I can manually unload the cx88_alsa module and restart the sound and all is well until the next reboot. How can I stop the system for loading the cx88_module automatically? Thanks Eddie -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sunday 30 July 2006 12:39, eddieleprince wrote:
Whenever I boot my system it loads the cx88_alsa module for my tv card. This blocks the system from loading the module for the sound card and I have no sound. After much effort I can manually unload the cx88_alsa module and restart the sound and all is well until the next reboot.
How can I stop the system for loading the cx88_module automatically?
i'm not sure if you can block it from loading, but you can automatically unload it at boot-up: /etc/init.d/boot.local Just add something like: rmmod cx88_alsa modprob my_sound_driver # (if needed) to that file, and that "should" do the trick. -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
Whenever I boot my system it loads the cx88_alsa module for my tv card. This blocks the system from loading the module for the sound card and I have no sound. After much effort I can manually unload the cx88_alsa module and restart the sound and all is well until the next reboot.
How can I stop the system for loading the cx88_module automatically?
i'm not sure if you can block it from loading, but you can automatically unload it at boot-up:
But it may be loaded later on by udev or something again. And for modules which cannot be removed (/me flames ipv6.ko), just kill the file from /lib/modules.
/etc/init.d/boot.local
Just add something like:
rmmod cx88_alsa modprob my_sound_driver # (if needed)
to that file, and that "should" do the trick.
-- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
Jan Engelhardt -- -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
eddieleprince wrote:
Whenever I boot my system it loads the cx88_alsa module for my tv card. This blocks the system from loading the module for the sound card and I have no sound. After much effort I can manually unload the cx88_alsa module and restart the sound and all is well until the next reboot.
How can I stop the system for loading the cx88_module automatically?
I could be missing something here, but shouldn't you be asking how you can have both your TV-card module and your soundcard module loaded at the same time? Is it a perhaps a matter of sequence? First sound, then TV? /Per Jessen, Zürich -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Per Jessen wrote:
eddieleprince wrote:
Whenever I boot my system it loads the cx88_alsa module for my tv card. This blocks the system from loading the module for the sound card and I have no sound. After much effort I can manually unload the cx88_alsa module and restart the sound and all is well until the next reboot.
How can I stop the system for loading the cx88_module automatically?
One answer may be to add cx88_alsa to /etc/modprobe.d/blacklist - I did some googling on cx88_alsa, it seems to be a frequent/wellknown problem. /Per Jessen, Zürich -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sun, 2006-07-30 at 13:06 +0200, Per Jessen wrote:
Per Jessen wrote:
eddieleprince wrote:
Whenever I boot my system it loads the cx88_alsa module for my tv card. This blocks the system from loading the module for the sound card and I have no sound. After much effort I can manually unload the cx88_alsa module and restart the sound and all is well until the next reboot.
How can I stop the system for loading the cx88_module automatically?
One answer may be to add cx88_alsa to /etc/modprobe.d/blacklist - I did some googling on cx88_alsa, it seems to be a frequent/wellknown problem.
In the init script for the tv card add a requirement for the sound card: # Required-Start: alsasound run insserv -d to re-order the scripts and the sound card should now start before the tv card. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sunday 30 July 2006 12:02, Per Jessen wrote:
eddieleprince wrote:
Whenever I boot my system it loads the cx88_alsa module for my tv card. This blocks the system from loading the module for the sound card and I have no sound. After much effort I can manually unload the cx88_alsa module and restart the sound and all is well until the next reboot.
How can I stop the system for loading the cx88_module automatically?
I could be missing something here, but shouldn't you be asking how you can have both your TV-card module and your soundcard module loaded at the same time?
Is it a perhaps a matter of sequence? First sound, then TV?
/Per Jessen, Zürich
After completing an update, which included the latest kernel, and rebooting; both modules seem to be loaded and the sound is working through the soundcard. The tv module looks as if it needs some sorting out but that is not critical as I'm not using it for anything. Thanks to all who responded to help me solve this. Eddie -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (5)
-
eddieleprince
-
Jan Engelhardt
-
Ken Schneider
-
Per Jessen
-
stephan beal