2000-11-15 11:23:26

by J.A. Magallon

[permalink] [raw]
Subject: net mods installed under misc in 2.2.18-pre21

Hi everyone.

I have noticed that some kernel modules are installed under
/lib/modules/XXX/misc,
instead of /net. I have been checking the drivers/net/Makefile (little knowledge
of
kernel make infraestructure...), and MOD_LIST_NAME is set properly, but the only
content of modules/NET_MODULES is dummy.o.

There is no important issue, but that i build newer net drivers got from Scyld,
and
installed them under modules/XXX/net. But modprobe was still getting the old
ones,
because 'misc' is before 'net'...

Kernel is plain standard kernel 2.2.17 + 2.2.18-pre21-patch + VM-patch + i2c-lm
patch.

I will dig into the makefiles, but someone has a clue ? Perhaps this also
affects
other modules.

--
Juan Antonio Magallon Lacarta #> cd /pub
mailto:[email protected] #> more beer


2000-11-16 05:06:07

by Keith Owens

[permalink] [raw]
Subject: Re: net mods installed under misc in 2.2.18-pre21

On Wed, 15 Nov 2000 11:52:50 +0100,
"J . A . Magallon" <[email protected]> wrote:
>I have noticed that some kernel modules are installed under
>/lib/modules/XXX/misc,
>instead of /net. I have been checking the drivers/net/Makefile (little knowledge

Known problem. Fixed with a new make modules_install algorithm in 2.4
kernels. Back porting that change to 2.2 would force all 2.2 users to
upgrade to modutils 2.3. AC does not want forced user space upgrades
in the stable kernel (and I agree). So you are stuck with the broken
modutles install.