Dave Sill wrote:
> Everything seemed to go pretty smoothly during the build. When I boot
> the new kernel, it's unable to load any modules. <... cut ...>
Hmmm, try running "depmod -a" -- but I think your "make
modules_install" may have failed to overwrite older modules.
Hence why I always recommend the use of "EXTRAVERSION" in an
alternate "makefile" to "tag" a new kernel with a label _different_
than the existing kernel. That way you can boot either kernel (new
or old) and not have to worry about modules conflicting with each
other.
Next time, create a file called "makefile" in your /usr/src/linux
directory:
# Include main Makefile -- add kernel tag to EXTRAVERSION
include Makefile
EXTRAVERSION:=$(EXTRAVERSION)-MYBUILD
Then run "make config ..." as normal. Your kernel
files/modules/dires will be tagged with "-MYBUILD" at the end (or
replace "MYBUILD" with whatever you want).
I have a set of scripts to automate this. You can find them here:
http://lists.leap-cf.org/pipermail/leaplist/2001-February/009641.html
[ They are a little out of date. I'll send updated ones directly to
you if you'd like ]
I'm also working on a ncurses-based menuing system that automates
this. Here's a preliminary screenshot:
http://www.smithconcepts.com/files/conmenu/conmenu_kernel.jpg
-- TheBS
CC: ELUG
--
Bryan "TheBS" Smith chat:thebs413 @AOL/MSN/Yahoo
Engineer mailto:b.j.smith@xxxxxxxx,thebs@xxxxxxxxxxx
*********************************************************
"Never apply a Star Trek solution to a Babylon 5 problem"
-- Nicholas C. Weaver
|