Possible module auto-loading problem

From: jlnance@unity.ncsu.edu
Date: Wed Jan 01 2003 - 20:50:18 EST


Hello All,
    I think I may have found a problem with respect to module
autoloading. While running the 2.5.53 kernel on a Red Hat 8.0 system,
I tried to automount an ext2 filesystem from a chrooted environment.
The mount failed with a message about ext2 not being supported by the
kernel. If I try this and the automounter is not running chrooted, then
the module gets autoloaded.
    I must admit that I do not really know how module autoloading works.
I believe that the kernel exec /sbin/modprobe when it thinks it may
need a module. My theory is that when a chrooted command needs a module
/sbin/modprobe gets run with the chrooted root fs and it cant see the
ext2 module that it needs from there. I am not sure that this behavior
would be a bug, but I suspect it is something that no one has thought
about. Could someone shed some light on this?

Thanks,

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



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:16 EST