Re: RFC: modules and 2.5

From: Keith Owens (
Date: Tue Jul 03 2001 - 02:39:02 EST

On Tue, 03 Jul 2001 03:24:26 -0400,
Jeff Garzik <> wrote:
>> On Tue, 3 Jul 2001 07:50:50 +0100,
>> Sean Hunter <> wrote:
>> >Does this defeat my favourite module-related gothcha, that the machine panics
>> >if I have (say) a scsi driver builtin to the kernel and the same driver tries
>> >to load itself as a module?
>If this occurs in 2.4 it is a bug and should be fixed in 2.4.

Human error. Create a new kernel with something built in which used to
be a module and forget to make modules_install, so the code is in the
kernel and in /lib/modules. Then do an explicit insmod, if probing
does not fail the module load then oops is all she wrote. One of the
reasons I changed modules_install to erase the old directory first was
to minimize this problem, but humans can still stuff it up. AFAICT it
cannot be fixed in 2.4 because there is no identifier for which
"modules" are included in the kernel.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jul 07 2001 - 21:00:11 EST