LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-13-2004, 06:50 AM   #1
araldit
Member
 
Registered: Feb 2004
Posts: 66

Rep: Reputation: 15
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...
 
Old 03-13-2004, 10:51 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hi,

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

Oliv'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
modprobe: FATAL: Could not load /lib/modules/.../modules.dep Ankardo Debian 9 02-01-2011 06:09 PM
FATAL: could not load /lib/modules/2.6.1/modules.dep Fr33B33R Slackware 3 01-12-2004 06:40 AM
Compile Error- /lib/modules/extra/modules.dep UpChuck Debian 2 01-11-2004 11:20 AM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 03:56 AM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 03:32 PM


All times are GMT -5. The time now is 02:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration