|
First copy your module to /lib/modules/2.6.12-1.1390_FC4/misc/
(If you use another kernel version, take the directory which corresponds your version, it also may be that you have to create the misc directory first)
Then run "depmod"
Now you can do a "modprobe mykernelmodule" and the kernel will find it automatically.
To load it at system startup create a file /etc/sysconfig/modules/somename.modules
somename is a string you can choose, the ending .modules is important.
In this file write "modprobe mykernelmodule"
Now, make this file executable with "chmod 0755 /etc/sysconfig/modules/somename.modules"
After a reboot your module should be loaded.
I hope I made no mistake here, just write back if something doesn't work as expected.
__________________
Benjamin Duehring, FORWISS
Universitaet Passau, D-94030 Passau
WWW: http://www.lyxx.de/card
|