Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 11-21-2002, 10:18 AM   #1
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:

Last edited by rioguia; 11-22-2002 at 05:28 PM.
Old 12-05-2002, 08:33 PM   #2
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

and i've done a bug report on this:

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 08:36 PM.
Old 12-06-2002, 01:05 AM   #3
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
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 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.



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

All times are GMT -5. The time now is 02:37 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration