Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.