[3388] in RedHat Linux List

home help back first fref pref prev next nref lref last post

RE: Compiling Kernel

daemon@ATHENA.MIT.EDU (Todd Hutchinson)
Fri Nov 8 11:27:28 1996

From: "Todd Hutchinson" <hutch@hummock.colorado.edu>
Date: Fri, 8 Nov 1996 09:21:53 -0700
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

I thought I understood how to compile the kernel until
         I tried today.  Spent the whole day installing, upgrading the
         4.0 Errata pkgs and all seemed to go well until I decided
         to compile the kernel to more closely match my config.

         Now I get kernel:module errors... and undefine links....

         Tried to put everything back to original and now it too
         complains about module problems.

         What could I be doing wrong?

         Normally I do....

         make mrproper
         make config
         make dep
         make clean
         make zlilo
         make modules
         make modules_install

         Also tried zImage and manually moving the kernel into
         place but still no luck.  Any suggestions greatly
         appreciated!


Well, I'm not sure what zlilo does since I didn't use it.  I used make zImage
in place of where you have make zlilo.  I'm guessing that your getting the
module errors and undefined links at bootup (or when you execute depmod -a,
which is what happens at bootup).  I also got similar errors when I first
compiled the kernel.  Here's what I ended up doing to alleviate them:

First rename the /lib/2.0.18 directory and then mkdir /lib/2.0.18, that way if
something goes wrong you can go back.  Then redo the steps that you listed
above.  Also, I may have the directory name slightly wrong since I can't check
it right now, but it should be close to that.

This relieved all of my bootup errors except for one.  The bootup error that
was not resolved was a complaint about undefined symbols in iBCS.  I have not
solved this yet.  Perhaps someone reading this can help me.  I did compile my
Kernel as a modular kernel as the iBCS stuff said that I should.  Also, let me
know if I've done something incorrect by renaming the original lib/2.0.18
directory.  If what I've done is correct, it should be documented in the Red
Hat User's Guide.

Todd


-- 
*******************************************************************************
Todd Hutchinson					Phone: (303) 492-1847
NSIDC/CIRES  Campus Box 449			Fax:   (303) 492-2468
University of Colorado
Boulder, CO  80309
*******************************************************************************


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post