Re: [PATCH] Shut up about the damn modules already...

From: Bas Mevissen
Date: Fri Feb 13 2004 - 11:52:06 EST


Rusty Russell wrote:

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?

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.

Regards,

Bas.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/