Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 01-11-2004, 09:01 AM   #1
LQ Newbie
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
Question Compile Error- /lib/modules/extra/modules.dep

I'm working on building a Media Server PC based on KnoppMyth (Knoppix) and MythTV. I'm trying to upgrade the Kernel from 2.4.21 to 2.4.22 in order to be able to turn off local APIC and its conflict with my nVidia chipset.

I get through what seems like most of the compile, but end up with the following error message. The compile runs for about 7-8 minutes on my Athlon 2500+ before returning this message:

depmod: Can't open /usr/src/linux/debian/tmp-image/lib/modules/extra/modules.dep for writing
make[2]: *** [_modinst_post] Error 255
make[2] Leaving directory '/usr/src/kernel-source-2.4.22'
make[1]: *** [real_stamp_image] Error 2
make[1]: Leaving directory'/usr/src/kernel-source-2.4.22'
make: *** [kernel-image-deb] Error 2
Any idea what might be causing this error and how I might fix it? How can I get a log file of the compile so I can track down what might be happening?

Thanks for your help!

Old 01-11-2004, 10:14 AM   #2
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
This might not be the answer, but are you compiling as root or user? If you have this directory /usr/src/linux/debian/tmp-image/lib/modules/extra/modules.dep then perhaps the problem is the permissions. A normal user wouldn't have permissions to write under /usr.
Old 01-11-2004, 10:20 AM   #3
LQ Newbie
Registered: Jan 2004
Posts: 2

Original Poster
Rep: Reputation: 0
I made myself a member of the SRC directory but still had no success. I even compiled as Root, but again, no success.



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 05:09 PM
/lib/modules/2.6.8/modules.dep not found killer_bunny Debian 1 10-17-2004 10:06 PM
FATAL: could not load /lib/modules/2.6.1/modules.dep Fr33B33R Slackware 3 01-12-2004 05:40 AM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 02:56 AM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 02:32 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:54 AM.

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