Disabling compiled-in modules at kernel boot cmdline?
From: Witold Krecicki
Date: Sun Jul 25 2004 - 16:36:59 EST
Case: I'm using PowerBook with stock PLD Linux PPC kernel, it has i8042 and
8250 modules built-in. But, those have no use on this machine (as those are
for IBM RS/6000), and actually are really messing stuff (e.g. i8042 gives a
lot of debug info to kernel log (that it cannot find a device blah blah),
with 8250 I cannot use pmac_zilog driver (there is a conflict somewhere)).
Quick look at the code told me that currently there is no possibility to
disable compiled-in kernel modules at boottime. Would it be hard to do? For
example I give module_i8042=off (or sth. ) and initcall for i8042 is not
called. That would be probably enough.
Yes, I know that the solution is compiling kernel myself, but doing it every
week (for testing purposes) for about 2-3 hour could be annoying...
--
Witold Kręcicki (adasi) adasi [at] culm.net
GPG key: 7AE20871
http://www.culm.net
-
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/