2004-01-12 20:10:24

by detlef.grittner

[permalink] [raw]
Subject: 2.6.1: modprobe behaves strange

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


2004-01-12 20:19:09

by David Hollis

[permalink] [raw]
Subject: Re: 2.6.1: modprobe behaves strange

On Mon, 2004-01-12 at 15:11, Detlef Grittner wrote:
> 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)
>
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!

--
David T Hollis <[email protected]>

2004-01-12 21:19:44

by Bongani Hlope

[permalink] [raw]
Subject: Re: 2.6.1: modprobe behaves strange

On Mon, 12 Jan 2004 21:11:52 +0100
[email protected] (Detlef Grittner) wrote:

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

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


Attachments:
(No filename) (1.05 kB)
(No filename) (189.00 B)
Download all attachments