kmod startup patch

Matthias Urlichs (smurf@noris.de)
Fri, 3 Apr 1998 11:37:51 +0200


Hi,

I noted that in 2.1.92 final, the kmod startup code was moved up to before
/linuxrc is started and the "real" root is mounted, and the deadlock
prevention in kmod.t was removed.

This means that kmod will inherit the RAM disk root, and that if you use
the initrd+/linuxrc code, kmod will be unusable since nobody tells it to
reattach to the new root directory.

Unless I missed something, this is NOT good. Using kmod from within
/linuxrc does not make much sense anyway, since in that restricted
environment you can insmod the drivers you need for startup just as easily,
and auto-unload is unnecessary because you don't load any driver you don't
need for booting the real root in the first place. :-/

So, Linus, please revert these patches. Thank you.

-- 
Matthias Urlichs
noris network GmbH

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu