Problems with loading modules in new kernel
I have compiled a new kernel(2.6.1) but th emodules are not loading. I have intalled the module-init-tools rpm but it is not loading the modules.
I read in the readme file that I have to run depmod <kernel version> but the file intalled from the new module init tools is depmod-25 so I ran depmod-25 2.6.1. Was that the right thing to do? I was scared if ran depmod I would break something. Which one am I supposed to run? So how do I make the modules load? Thanks in advance Bye |
You likely need to update your modprobe.conf from your old modules.conf. There's a script to do this for you in the module-init-tools package called generate-modprobe.conf
I got the source, and it was in that directory for me. Do some googling to find the script, or download the source package and run: sh generate-modprobe.conf from the source directory. Then you can just type: depmod it should default to most recent version of the program, and current (running) kernel version. --Rounan |
I will try that, thanks.
|
About the depmod, do I need to be in the new kernel for it to work with my new kernel? I am currently dual booting 2.4.24 .and 2.6.1. Also the generate-modprobe.conf script, do I just run it without any arguments or anything?
|
Yes, you just run it without arguments.
And yes, you should be in the new kernel to run depmod - depmod 2.6.1 MAY cause it to build the appropriate dependancies, but I've never used this. --Rounan |
Thanks for all your help so far. I will probably post back if I get any more problems.
|
All times are GMT -5. The time now is 12:17 PM. |