Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel modules autoload fails at boot [SOLVED].
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Dmanciel
n00b
n00b


Joined: 07 Mar 2006
Posts: 5
Location: Cannes, France

PostPosted: Tue Oct 31, 2006 8:09 pm    Post subject: kernel modules autoload fails at boot [SOLVED]. Reply with quote

Hello all,
I have a strange issue and hope it is the right place to post for help...
I have a gentoo 2006.1 installation, built for 32 bit, on an AMD 64 X2 (32 bit is intentional). I compiled 2 kernels from the same kernel version with different names:
2.6.17-gentoo-r8Fred_1
2.6.17-gentoo-r8Fred_2, with different options. I only use the second one as the first one lacked options I needed.

The problem I face is the following:
At startup time, the modules service tries to load the set of modules I defined in the /etc/modules.autoload.d/kernel-2.6 file. None of the module can be loaded. The service fails for all of them.

Once I log, I can modprobe any of these modules (as well as others, btw) without any problem...

Anyone has an idea?

Thanks a lot.
D 125 CL 192
_________________
---
D'Manciel 125 CL 192
Or'Xd
---


Last edited by Dmanciel on Mon Nov 06, 2006 6:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54850
Location: 56N 3W

PostPosted: Tue Oct 31, 2006 8:21 pm    Post subject: Reply with quote

Dmanciel,

I'll make a wild guess. You have /lib on its own partition ?

Please post the output of
Code:
 ls -l /boot
with your /boot mounted, your grub.conf and
Code:
fdisk -l
Please annotate the fdisk with what each parttion is used for.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Dmanciel
n00b
n00b


Joined: 07 Mar 2006
Posts: 5
Location: Cannes, France

PostPosted: Tue Oct 31, 2006 9:35 pm    Post subject: Reply with quote

Thanks for the answer!

However, /lib is not on its own partition. It is on the root file system.

Here is the output of ls -l /boot
Code:
 lrwxrwxrwx 1 root root       1 oct  8 00:31 boot -> ./
 lrwxrwxrwx 1 root root      29 oct 10 07:07 config -> config-2.6.17-gentoo-r8Fred_2
 -rw-r--r-- 1 root root   39861 oct 10 07:07 config-2.6.17-gentoo-r8-FRED_2
 drwxr-xr-x 2 root root    1024 oct  9 22:07 grub/
 -rw-r--r-- 1 root root 1504419 oct  9 22:51 linux-2.6.17-gentoo-r8-FRED_1
 -rw-r--r-- 1 root root 1487983 oct 10 07:07 linux-2.6.17-gentoo-r8-FRED_2
 drwx------ 2 root root   12288 oct  7 23:33 lost+found/
 lrwxrwxrwx 1 root root      33 oct 10 07:07 System.map -> System.map-2.6.17-gentoo-r8Fred_2
 -rw-r--r-- 1 root root  790060 oct 10 07:07 System.map-2.6.17-gentoo-r8-FRED_2
 lrwxrwxrwx 1 root root      30 oct 10 07:07 vmlinuz -> vmlinuz-2.6.17-gentoo-r8Fred_2


Here is the grub.conf file:

Code:
### Boot on first entry by default and fallback to second one in case of problem
default 0
fallback 1
### 30 secs elapse before automatic boot (on default)
timeout 30

splashimage=(hd0,0)/grub/splash.xpm.gz

### First Entry
title GENTOO Full SMP
root (hd0,0)
kernel /linux-2.6.17-gentoo-r8-FRED_2 root=/dev/sda7


And here's the output of fdisk -l:

Code:
Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1               1           5       40131   83  Linux    => /boot
/dev/sda2               6         492     3911827+  82  Linux swap / Solaris
/dev/sda3             493       30401   240244042+   5  Extended
/dev/sda5             493        2925    19543041   83  Linux  => /usr
/dev/sda6            2926        4142     9775521   83  Linux  => /var
/dev/sda7            4143        4386     1959898+  83  Linux  => /
/dev/sda8            4387       30401   208965456   83  Linux  => /home

_________________
---
D'Manciel 125 CL 192
Or'Xd
---
Back to top
View user's profile Send private message
Dmanciel
n00b
n00b


Joined: 07 Mar 2006
Posts: 5
Location: Cannes, France

PostPosted: Mon Nov 06, 2006 6:21 pm    Post subject: kernel modules autoload fails at boot [RESOLUTION] Reply with quote

OK, my mistake.
I did add the name of the module files in the /etc/modules.autoload.d/kernel-2.6 file, instead of the name of the modules themselves... Once the .o and .ko extensions are removed from the module names, it works far better...
_________________
---
D'Manciel 125 CL 192
Or'Xd
---
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum