The patch titled module_subsys: initialize earlier has been added to the -mm tree. Its filename is module_subsys-initialize-earlier.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: module_subsys: initialize earlier From: Mark Huang <mlhuang@xxxxxxxxxxxxxxxx> Initialize module_subsys earlier (or at least earlier than devices) since it could be used very early in the boot process if kmod loads a module before the device initcalls. Otherwise, kmod will crash in kernel/module.c:mod_sysfs_setup() since the kset in module_subsys is not initialized yet. I only noticed this problem because occasionally, kmod loads the modules for my SCSI and Ethernet adapters very early, during the boot process itself. I don't quite understand why it loads them sometimes and doesn't load them other times. Or who is telling kmod to do so. Can someone explain? Signed-off-by: Mark Huang <mlhuang@xxxxxxxxxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/params.c~module_subsys-initialize-earlier kernel/params.c --- a/kernel/params.c~module_subsys-initialize-earlier +++ a/kernel/params.c @@ -699,7 +699,7 @@ static int __init param_sysfs_init(void) return 0; } -__initcall(param_sysfs_init); +subsys_initcall(param_sysfs_init); EXPORT_SYMBOL(param_set_byte); EXPORT_SYMBOL(param_get_byte); _ Patches currently in -mm which might be from mlhuang@xxxxxxxxxxxxxxxx are module_subsys-initialize-earlier.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html