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


  Search this Thread
Old 09-03-2008, 04:06 PM   #1
LQ Newbie
Registered: Sep 2008
Posts: 2

Rep: Reputation: 0
Red face Could not load modules.dep :(((((

Hi!.. At first I ask: sorry for my English, it's rather bad.

When I boot I get 5-10 messages:

like this:

modprobe: FATAL Coult not load /lib/modules/ no such file or directory

After this everything boots normally and works fine. But this errors make me engry ]:-> ))

I googled for it... There was a lot of results, but they didn't help me...

That's how I've built my kernel:

cd /usr/src/linux-
make menuconfig
make bzImage modules modules_install install
mkinitramfs -o /boot/initrd.img-

After this I've edited my menu.lst

Please help...

P.S. file /lib/modules/ exists!
Old 09-03-2008, 05:59 PM   #2
Registered: Apr 2007
Location: Indianapolis, Indiana
Distribution: RHEL, Fedora, AIX, HP-UX, FreeBSD, Slackware
Posts: 62

Rep: Reputation: 19
have you tried

depmod -a

Then try your modprobe, let us know the outcome.
Old 09-03-2008, 06:09 PM   #3
LQ Newbie
Registered: Sep 2008
Location: Grenoble
Distribution: Debian, Ubuntu
Posts: 1

Rep: Reputation: 0
Did you check with a similar system if your file looks good ?
Try to take a look on the depmod manual
"depmod - Creates a dependency file, "modules.dep", later used by modprobe to automatically load the relevant modules."
And yes! It seems to be important...
Old 09-03-2008, 11:58 PM   #4
LQ Newbie
Registered: Sep 2008
Posts: 2

Original Poster
Rep: Reputation: 0
> have you tried

> depmod -a

I have just tried

# mkinitramfs -o /boot/initrd.img-
# depmod -a

Then rebooted.
But it doesn't help...

> Then try your modprobe, let us know the outcome.

necro13-pc:~# cd /lib/modules/
necro13-pc:/lib/modules/ ls -l modules.dep
-rw-r--r-- 1 root root 248373 2008-09-04 07:40 modules.dep
necro13-pc:/lib/modules/ cd kernel/drivers/char
necro13-pc:/lib/modules/ lsmod | grep lp
lp 11108 0
parport 34060 3 lp,ppdev,parport_pc
necro13-pc:/lib/modules/ ls -l lp.ko
-rw-r--r-- 1 root root 14462 2008-08-31 17:21 lp.ko
necro13-pc:/lib/modules/ rmmod lp.ko
necro13-pc:/lib/modules/ modprobe lp.ko
FATAL: Module lp.ko not found.
necro13-pc:/lib/modules/ insmod lp.ko

> Did you check with a similar system if your file looks good ?

I don't understand... I tried only under Linux..


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
FATAL: Could not load /lib/modules/2.6.14-default/modules.dep no such file exist dr_zayus69 Linux - Software 3 12-26-2005 06:44 PM
Suse 9.2 'Could not load modules.dep' problem Edje SUSE / openSUSE 1 04-09-2005 08:07 AM
FATAL: could not load /lib/modules/2.6.1/modules.dep Fr33B33R Slackware 3 01-12-2004 05:40 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 - Newbie

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