Skip to contentSkip to conversation

Shut up about the damn modules already...

PATCH Samium Gromoff 2 participants 2 messages Feb 13, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 19 lines
Quoted 9 lines · Rusty Russell

Please apply before 2.6.3.

In almost all distributions, the kernel asks for modules which don't exist, such as "net-pf-10" or whatever. Changing "modprobe -q" to "succeed" in this case is hacky and breaks some setups, and also we want to know if it failed for the fallback code for old aliases in fs/char_dev.c, for example.

Just remove the debugging message which fill people's logs:

Yup, those messages are really annoying.

I'm wondering why it is that the kernel is asking for non-existing modules so often. Is it that userspace applications try to access all kinds of devices too often (autoprobing) or it this (wanted) kernel behaviour?

Quoted 6 lines

If it is the former, I think that applications should be fixed in the first place. Maybe userspace and kernel should share knowledge about what devices are there and supported by the kernel(modules).

In the meantime, your patch needs to go in though because fixing this in userspace is not something that will happen on short term.

Wouldn`t this remove the last reason to fix the broken software?

Quoted 3 lines

Regards,

Bas.

regards, Samium Gromoff

#1 lore raw
Quoted 3 lines · Samium Gromoff
Quoted 2 lines

In the meantime, your patch needs to go in though because fixing this in userspace is not something that will happen on short term.

Wouldn`t this remove the last reason to fix the broken software?

I don't believe there's any code which needs fixing in userspace. We just need modprobe.conf to do the right thing when we convert peoples old modules.conf files.

The original modprobe defaults to:

alias net-pf-10 off

unless net-pf-10 is explicitly aliased to something else (ipv6). We therefore just need peoples modprobe.conf files to contain:

install net-pf-10 /bin/true

provided they haven't aliased net-pf-10 to ipv6.

Signature · 4 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core