LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-21-2002, 09:18 AM   #1
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
modprobe can't find modules.dep


i'm trying to reinstall a pcmcia nic on my laptop running redhat 6.2 (uname -r 2.2.17-14). It appears that i used the redhat update service did not complete the current kernel upgrade to 2.2.22-6.2. do I have to complete this or can I just download the most recent kernel and start from there?

when i try
modprobe xirc2ps
it responds:
modprobe: Can't open dependencies file /lib/modules/2.2.17-14/modules.dep

this is not a surprise since the correct path to modules.dep is:
/lib/modules/2.2.22-6.2/modules.dep

Last edited by rioguia; 11-22-2002 at 04:28 PM.
 
Old 12-05-2002, 07:33 PM   #2
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Original Poster
Rep: Reputation: 30
i tried recompiling the kernel but the change document requires updating pcmcia-cs. i can't do that because that package locks up my keyboard and mouse.

i have tried working around this several times
http://www.linuxquestions.org/questi...threadid=36484
http://www.linuxquestions.org/questi...threadid=23409


and i've done a bug report on this: https://bugzilla.redhat.com/bugzilla...g.cgi?id=70999

i have done kernel upgrades in the past through redhat updates (but omitted the pmcia-cs update) and this probably explains why i have had these problems).

Last edited by rioguia; 12-05-2002 at 07:36 PM.
 
Old 12-06-2002, 12:05 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
This might simply be a problem with the kernel you are booting. You might wanna make sure that the kernel you are booting does refer to the proper /lib/modules folder that it's trying to access. This was the only time I ran into that same problem. I was running a different kernel than I was trying to compile against. To fix the problem, I now mv /lib/modules/<kernelversion> /lib/modules/<kernelversion>.old and then "make modules" "make modules_install" with my new kernel. Then after everything is running great, I rm everything from the old kernel, including the kernel and the /lib/modules directory it's referring to.

This might also be that you didn't copy over the System.map file from the base directory of the kernel you updated.

I reread your problem, so replace "you" with "redhat update"

I hope that helps, at least to identify the problem a bit more. From there troubleshooting might be a bit easier (just a kernel rebuild).

Also... Why the old kernel?

Ok, now that I am at the end, I re-read your question again, and realize I am really not helping much. But for what it's worth, I will still post this in case it does help somewhat.

Cool
 
  


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 05:09 PM
New kernel fails to boot: It can't find modules.dep though it's there lixy Linux - General 2 04-16-2005 07:23 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
modprobe cant find modules but they are in /lib/modules/'uname blanny Linux - General 15 09-10-2003 11:05 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:13 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
Open Source Consulting | Domain Registration