Skip to contentSkip to conversation

2.6.1: modprobe behaves strange

DISCUSSION Detlef Grittner 3 participants 3 messages Jan 12, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

I'm using the x86_64 architecture branch and have simply copied the kernel into my configuration of a 2.4.21 kernel.

I have the following lines in /etc/modules.conf:

alias eth0 r8169

alias snd-card-0 snd-via82xx

With the 2.4.21 kernel everything worked fine, with the 2.6.1 kernel I get the following behavior:

modprobe eth0
(no error, but r8169 not loaded)

modprobe r8169
(module r8169 is loaded and works)

modprobe snd-card-0
(FATAL: Modul snd_card_0 not found)

modprobe snd-via82xx
(module snd-via82xx is loaded and works)

I'm not really a kernel expert and so I have to ask:
Am I right, that this could be a problem of the kernel? Is this the wildcard problem that was fixed in mm1? Should I try mm1 or where should I begin to search for the problem?

Detlef

#1 lore raw
Quoted 17 lines · Detlef Grittner

Hello,

I'm using the x86_64 architecture branch and have simply copied the kernel into my configuration of a 2.4.21 kernel.

I have the following lines in /etc/modules.conf:

alias eth0 r8169

alias snd-card-0 snd-via82xx

With the 2.4.21 kernel everything worked fine, with the 2.6.1 kernel I get the following behavior:

modprobe eth0
(no error, but r8169 not loaded)

Quoted 9 lines

modprobe r8169
(module r8169 is loaded and works)

modprobe snd-card-0
(FATAL: Modul snd_card_0 not found)

modprobe snd-via82xx
(module snd-via82xx is loaded and works)

Seems that you do have module_init_tools so you are fine there, but you are editing /etc/modules.conf. On a 2.6 kernel using module_init_tools, you need to use /etc/modprobe.conf.

So we've gone from conf.modules to modules.conf to modprobe.conf. Keeps things interesting!

Signature · 1 line
David T Hollis <[email protected]>
#2 lore raw
In reply to Detlef Grittner
Quoted 27 lines · On Mon, 12 Jan 2004 21:11:52 +0100 [email protected] (Detlef…

Hello,

I'm using the x86_64 architecture branch and have simply copied the kernel into my configuration of a 2.4.21 kernel.

I have the following lines in /etc/modules.conf:

alias eth0 r8169

alias snd-card-0 snd-via82xx

With the 2.4.21 kernel everything worked fine, with the 2.6.1 kernel I get the following behavior:

modprobe eth0
(no error, but r8169 not loaded)

modprobe r8169
(module r8169 is loaded and works)

modprobe snd-card-0
(FATAL: Modul snd_card_0 not found)

modprobe snd-via82xx
(module snd-via82xx is loaded and works)

Quoted 7 lines

I'm not really a kernel expert and so I have to ask:
Am I right, that this could be a problem of the kernel? Is this the wildcard problem that was fixed in mm1? Should I try mm1 or where should I begin to search for the problem?

Detlef

you have to install module-init-tools it has a modprobe that works with 2.6 modules. See Document/Changes under your linux 2.6 sorce