Quote:> I am having similar problems with my new RH 6.0 installation. I can
> make the kernel image, fix up lilo and everything and be able to boot my
> old kernel, but as soon as I hit that 'make_install' I am screwed. My
> old kernel complains that it can't find the modules dependancies, and
> the new image gets all upset about
> not finding 'inet-pf-1'. Does anyone have any solutions here?
after booting a new kernel, you need to run 'depmod -a' to remake the
dep file (it's usually in /lib/modules/{version}/modules.dep). The warning
about 'net-pf-1' is b/c you have compiled support for Unix domain sockets
as a module and not included a line like 'alias net-pf-1 unix' to your
/etc/conf.modules.
Quote:> Also, I am confused as to how two different kernel images can now
> peacefully co-exist when using modules? Don't they try and use the same
> modules directory so that only one of them can have the
> correct dependancies??? Can anyone offer some explanation?
look at /lib/modules, the directory where the modules are installed. Mine
looks like:
./ ../ 2.0.36/ 2.2.0-pre7/ 2.2.5/
which is one directory for each version I currently have installed. Each one
contains its own modules.dep file, so the kernel doesn't get confused. A very
elegant design on the kernel people's part IMO.
-ckm