LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-29-2003, 05:23 PM   #1
meat_n2_reg
LQ Newbie
 
Registered: Oct 2003
Posts: 13

Rep: Reputation: 0
can't open modules.dep file


Hi ,

Running RH 7.2 pre installed with Kernel version 2.4.7-10.

Just installed kernel 2.4.22 :

m/c loads however receive error message
Can't open /lib/modules/2.4.22/modules.dep

have checked /lib/modules & contains only 2.4.7-10 directory.

tried running depmod -a which creates empty files !

Kernel has loadable module support set to Y

have ran :

make dep
make bzImage
make modules
make modules install

ran fine

have copied & edited files for grub

help

btw uname -a returns 2.4.22

latest kernel had sysmbolic link set to /linux

can't see what I'm doing wrong

cheers Steve
 
Old 10-29-2003, 08:39 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
You probably ran through the kernel compile sequence more than once without doing a make clean. Without a make clean subsequent compiles somtimes think that they can skip compiling modules (or perhaps other things) because it has already been done. I suggest that you change your compile sequence to:

make dep
make clean
make bzImage
make modules
make modules_install


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 10-30-2003 at 10:45 AM.
 
Old 10-30-2003, 01:57 AM   #3
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If that wasn't a typo, you forgot to put an underscore for "make modules_install", which will put compiled modules in thier right places in /lib/modules/<kernel version>
Without an underscore you're actually telling it to do "make modules" AND "make install".
 
Old 10-30-2003, 08:23 AM   #4
meat_n2_reg
LQ Newbie
 
Registered: Oct 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Its was a typo really sorry !

(I am new to this)

Boots cleanly now , however unable to mount cd-rom

receive error message ' can't read superblock'

any ideas ?

cheers Steve
 
Old 10-30-2003, 10:47 AM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"receive error message ' can't read superblock'"

That error message usually means that the wrong file system type was specified. Try:

mount -t iso9660 /dev/xxx /yyyyyyy


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


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
rebuilding a modules.dep file? mpyusko Linux - Software 1 10-15-2005 02:51 PM
Can't open dependencies file modules.dep crontab Linux - Software 0 07-03-2005 01:32 PM
/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
nVidia driver prob : modules.dep not an ELF file? hollywoodb Linux - Newbie 1 08-26-2003 04:20 PM
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 11:39 PM.

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