LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-03-2008, 04:06 PM   #1
Necromancer13
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/2.6.25.10/modules.deb: 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-2.6.25.10
make menuconfig
.....
make bzImage modules modules_install install
mkinitramfs -o /boot/initrd.img-2.6.25.10 2.6.25.10

After this I've edited my menu.lst

Please help...

P.S. file /lib/modules/2.6.25.10/modules.dep exists!
 
Old 09-03-2008, 05:59 PM   #2
misconfiguration
Member
 
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
cbesson
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
Necromancer13
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-2.6.25.10 2.6.25.10
# depmod -a

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

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

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

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

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


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:35 AM.

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