Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Kernel Recompilation

Posted on 1999-07-07
Medium Priority
Last Modified: 2013-12-15

I'm using a fresh new installation of Slackware 4.0. I've just re-configured my kernel settings through:

cd /usr/src/linux
make menuconfig

And then I compiled the kernel, I did:

make dep ; make clean ; make bzImage

Then I copied the new kernel to my '/boot' directory, reconfigured lilo and rebooted my machine with the new kernel, and it ran just fine, despite several lines like these below during startup:

/lib/modules/2.2.6/misc/b1pci.o: unresolved symbol(s)
/lib/modules/2.2.6/misc/ax25.o: unresolved symbol(s)
/lib/modules/2.2.6/misc/appletalk.o: unresolved symbol(s)
/lib/modules/2.2.6/misc/af_packet.o: unresolved symbol(s)
/lib/modules/2.2.6/misc/ad1848.o: unresolved symbol(s)
/lib/modules/2.2.6/misc/ad1816.o: unresolved symbol(s)

And I really meant it when I've said several. Notice that I've chosen every option on the kernel configuration to be in the kernel, not moduled. Did I miss anything? Do I have to run another make for the modules? I dunno, just guessing... I'm sure it must be just a single step missing.
Question by:diogoschneider
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 1629325
you are missing an entry in your startup scripts. at some point there will be called a script (rc.modules or modules probably somewhere beyond /etc/rc.d) that tries to load "all needed" modules.

also try doing a "depmod -a".

Accepted Solution

X2 earned 200 total points
ID: 1629326
=)  you've missed a step.

you have all the other steps right, but let me list everything step by step.

cd /usr/src/linux
make menuconfig
make dep
make clean
make bzImage
mv arch/i386/boot/bzImage /boot/vmlinuz or whatever it is
cp /boot
lilo (make sure lilo.conf is configured)

cd /lib/modules/
mv 2.2.6 2.2.6.bak (backing up old modules)
cd /usr/src/linux
make modules  (this begins the missing step)
make modules_install
depmod -a
lilo (i always lilo again since i'm paranoid =P)

Hope that helps!


Expert Comment

ID: 1629327
right. you should have done the modules too, of course... ;)

Author Comment

ID: 1629328
Ok, thanks a lot!

Featured Post

What is a Denial of Service (DoS)?

A DoS is a malicious attempt to prevent the normal operation of a computer system. You may frequently see the terms 'DDoS' (Distributed Denial of Service) and 'DoS' used interchangeably, but there are some subtle differences.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

661 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question