FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-03-2008, 03:11 PM
Steve Kemp
 
Default modprobe fatal messages at boot

On Thu Jul 03, 2008 at 09:59:27 -0500, Hugo Vanwoerkom wrote:

> modprobe: FATAL: could not load /lib/modules/2.6.25.9/modules.dep: no
> such file or directory
>
> Yesterday I finally found a solution (but not *the* solution) to them in
> an ubuntu forum:

> The solution given is to unpack the initrd.img and put modules.dep in it
> and repack it again, and behold, the messages go away.

Thats a crazy "solution".

The real solution us to run "depmod -a"

Steve
--
Managed Anti-Spam Service
http://mail-scanning.com/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-03-2008, 03:55 PM
Ron Johnson
 
Default modprobe fatal messages at boot

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/03/08 09:59, Hugo Vanwoerkom wrote:
> Hi,
>
>
> When I roll my own kernel these messages show up at boot:
>
> modprobe: FATAL: could not load /lib/modules/2.6.25.9/modules.dep: no
> such file or directory
>
> Yesterday I finally found a solution (but not *the* solution) to them in
> an ubuntu forum:
>
> http://ubuntuforums.org/showthread.php?t=148710
>
> The solution given is to unpack the initrd.img and put modules.dep in it
> and repack it again, and behold, the messages go away.
>
> The thread has complete steps for upacking and repacking an initrd.img
>
> The reason it is no *the* solution is that the Debian kernel images do
> not have the messages and they do not have modules.dep in them either!
>
> So it has something to do with the .config
>
> BTW the reason for rolling my own 2.6.25 is that *it* does *not* have
> the unknown video mode problem, that Debian does.

You need to set the "local version" in "make menuconfig", or edit
the CONFIG_LOCALVERSION variable in .config. Here's what mine looks
like:

$ grep rlj /boot/config-2.6.24smp
CONFIG_LOCALVERSION="rlj_smp"

$ dir /lib/modules
total 32
drwxr-xr-x 7 root root 4096 2008-03-12 17:41 ./
drwxr-xr-x 17 root root 8192 2008-06-19 13:42 ../
drwxr-xr-x 3 root root 4096 2007-09-18 16:06 2.6.20.2rlj/
drwxr-xr-x 3 root root 4096 2007-09-25 17:32 2.6.22rlj/
drwxr-xr-x 3 root root 4096 2007-12-03 22:25 2.6.22rlj_smp/
drwxr-xr-x 3 root root 4096 2008-03-12 18:38 2.6.23rlj_smp/
drwxr-xr-x 3 root root 4096 2008-03-12 18:45 2.6.24rlj_smp/



- --
Ron Johnson, Jr.
Jefferson LA USA

"Kittens give Morbo gas. In lighter news, the city of New New
York is doomed."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhs9okACgkQS9HxQb37XmenvQCfd9MjsjlEEN y32/hQ0P/nCmTP
D64An3nMyW/fAPbG0iO8Z5CcoK/MD4cZ
=7KtZ
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-03-2008, 09:06 PM
Hugo Vanwoerkom
 
Default modprobe fatal messages at boot

Ron Johnson wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/03/08 09:59, Hugo Vanwoerkom wrote:

Hi,


When I roll my own kernel these messages show up at boot:

modprobe: FATAL: could not load /lib/modules/2.6.25.9/modules.dep: no
such file or directory

Yesterday I finally found a solution (but not *the* solution) to them in
an ubuntu forum:

http://ubuntuforums.org/showthread.php?t=148710

The solution given is to unpack the initrd.img and put modules.dep in it
and repack it again, and behold, the messages go away.

The thread has complete steps for upacking and repacking an initrd.img

The reason it is no *the* solution is that the Debian kernel images do
not have the messages and they do not have modules.dep in them either!

So it has something to do with the .config

BTW the reason for rolling my own 2.6.25 is that *it* does *not* have
the unknown video mode problem, that Debian does.


You need to set the "local version" in "make menuconfig", or edit
the CONFIG_LOCALVERSION variable in .config. Here's what mine looks
like:

$ grep rlj /boot/config-2.6.24smp
CONFIG_LOCALVERSION="rlj_smp"

$ dir /lib/modules
total 32
drwxr-xr-x 7 root root 4096 2008-03-12 17:41 ./
drwxr-xr-x 17 root root 8192 2008-06-19 13:42 ../
drwxr-xr-x 3 root root 4096 2007-09-18 16:06 2.6.20.2rlj/
drwxr-xr-x 3 root root 4096 2007-09-25 17:32 2.6.22rlj/
drwxr-xr-x 3 root root 4096 2007-12-03 22:25 2.6.22rlj_smp/
drwxr-xr-x 3 root root 4096 2008-03-12 18:38 2.6.23rlj_smp/
drwxr-xr-x 3 root root 4096 2008-03-12 18:45 2.6.24rlj_smp/



Let me try that. Thanks. My CONFIG_LOCALVERSION="".

Hugo














--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-04-2008, 12:01 PM
Hugo Vanwoerkom
 
Default modprobe fatal messages at boot

Steve Kemp wrote:

On Thu Jul 03, 2008 at 09:59:27 -0500, Hugo Vanwoerkom wrote:

modprobe: FATAL: could not load /lib/modules/2.6.25.9/modules.dep: no
such file or directory


Yesterday I finally found a solution (but not *the* solution) to them in
an ubuntu forum:


The solution given is to unpack the initrd.img and put modules.dep in it
and repack it again, and behold, the messages go away.


Thats a crazy "solution".

The real solution us to run "depmod -a"



No that's not it. Read the ubuntu post, that has all the details. The
problem is not the absence of modules.dep in the *root* file system. The
problem is its absence before the init of initrd.img runs, at that point
there is no root file system yet.


Hugo


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 01:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org