Seems to me that the top-level Makefile, after doing a modules_install
should do a depmod to create the modules.dep. At least on SuSE 6.2,
after installing a new kernel, you need to hand run depmod before
booting the new kernel, and I seem to forget to do this step more often
than not.
Here's a simple little one-line patch to do just that. Thoughts?
Flames? Outright hatred?
-Nick
diff -c -r1.1 Makefile
*** Makefile 1999/12/07 14:37:33 1.1
--- Makefile 1999/12/07 14:40:37
***************
*** 345,350 ****
--- 345,351 ----
if [ -s $$MODLIB/.misc ]; then inst_mod $$MODLIB/.misc misc; fi; \
rm -f $$MODLIB/.misc $$MODLIB/.allmods; \
)
+ depmod -a -F System.map $(KERNELRELEASE)
# modules disabled....
-- +-------------------------------+--------------------------------------------+ | /`--_ Nicholas R LeRoy | In a world without fences, Who needs Gates?| |{ }/ Norland Corporation | ---- Experience Linux! ---- | | \ * / W6340 Hackbarth Rd | http://www.linux.org | http://www.ssc.com | | |___| Fort Atkinson, WI 53538 +--------------------------------------------+ | nick.leroy@norland.com | #include <disclaimer.h> | |http://www3.norland.com/~nleroy| These are my own ideas, not my employer's. | +----------------------------------------------------------------------------+- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/