On Sat, Jan 29, 2000 at 03:14:20PM +0000, Dermot Gorman wrote:
> Hi,
> I've recompiled a new kernel to add sound support and remove unecessary
> features. However, on rebooting i get error messages after:
>> FINDING MODULE DEPENDENCIES
>> errors look like:
>> /LIB/MODULES/2.2.12-20 /NET/UNRESOLVED SYMBOLS-lib-so etc etc/
> " /CDROM/ " "
> " /SCSI/ " "
>> I don't think i have any use for modules at the time being so can i just
> switch the modules feature off ? Any ideas as to what is happening here
> with the errors?
You probably still have modules compiled for the previous kernel
sitting in /lib/modules.
If you are compiling different kernels from the _same_ kernel version
(i.e. both are 2.2.12 - never mind the -20, that's a RedHat thing),
then you cannot have modules for both kernels in the same
/lib/modules subdirectory.
So, before doing 'make modules_install', either do
# rm -rf /lib/modules/2.2.12-20
or (better)
# mv /lib/modules/2.2.12-20 /lib/modules/backup-2.2.12-20
and then do the 'make modules_install'.
Redhat's use of the -20 subversion at the end of their kernel
versions is part of their system to get around this problem.
I don't know exactly how it works as I haven't had the need to
figure it out. (I always recompile the kernel with the latest
stable version when I install a machine.)
Later,
Kenn
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!