LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Kernel compilation

[ILUG] Kernel compilation

Kenn Humborg kenn at linux.ie
Sun Jan 30 13:53:13 GMT 2000


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






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell