LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Modules.dep needs to be re-built (https://www.linuxquestions.org/questions/linux-newbie-8/modules-dep-needs-to-be-re-built-157041/)

araldit 03-13-2004 05:50 AM

Modules.dep needs to be re-built
 
Hi.

I've running Debain Linux, with kernel 2.4.25, and its fine, but have just added support for APM and made the sound go as modules. The compilation went just fine, and i am now trying to install it with the following command..

dpkg -i kernel-image-2.4.25_MyKernel2.4.25_i386.deb..

I am then prompted:

You are trying to install a kernel version that is the same as the version you are currently running (version 2.4.25). The modules list is quite likely to have been changed, and the modules dependency file /lib/modules/2.4.25/modules.dep needs to be re-built. It can not be built correctly right now, since the module list for the running kernel are likely to be different from the kernel installed. I am creating a new modules.dep file, but that may not be correct. It shall be regenerated correctly at next boot.
I repeat: you have to reboot in order for the modules file to be created correctly. Until you reboot, it may be impossible to load some modules. Reboot as soon as this installation is finished (Do not reboot right now, since you may not be able to boot back up until installation is over, but boot imediately after). I can not stress that too much. You need to reboot soon.

My question is now, how do I re-generate the modules.deb???

make modules install??? perhaps...

Oliv' 03-13-2004 09:51 AM

Hi,

Yes make modules_install will do it. Or you can also do: depmod -ane > /lib/modules/2.4.25/modules.dep

Oliv'


All times are GMT -5. The time now is 03:51 AM.