HOWTO: load up 3rd party kernel modules at boot-up

Florin Andrei florin at andrei.myip.org
Thu May 26 05:36:22 UTC 2005


Have a look at this bug report and its resolution:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=123927

The idea is that in the upcoming Fedora Core 4 there will be an
"official" way to load up arbitrary kernel modules when the system boots
up - simply create a *.modules file in /etc/sysconfig/modules and make
it executable. Whatever you put into that file will be executed when the
system boots up.

For example, you probably noticed that the PC speaker does not work
(it's a bug reported very long time ago that was never fixed). You can
patch that bug with a simple script in the /etc/sysconfig/modules
directory, called pcspeaker.modules, with the following content:

#!/bin/sh
/sbin/modprobe pcspkr

Don't forget to do this after creating the file:

chmod +x /etc/sysconfig/modules/pcspeaker.modules

Reboot, then enjoy your PC speaker. ;-)

I tested this method with FC4 test 3 and it works fine.
It does not work with FC3 since the supporting bits are not in place.

-- 
Florin Andrei

http://florin.myip.org/




More information about the fedora-list mailing list