[5140] in RedHat Linux List
Re: kernel 2.0.18 compile
daemon@ATHENA.MIT.EDU (Aaron Holtz)
Tue Nov 19 09:31:47 1996
Date: Tue, 19 Nov 1996 09:25:18 -0500 (EST)
From: Aaron Holtz <primus@stockcar.network1.net>
To: Jason Harrell <jharrell@basenet.net>
cc: redhat-list@redhat.com
In-Reply-To: <Pine.LNX.3.95.961120015418.291C-100000@othello>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Jason,
Two things you might want to try as they helped me compile my
kernel properly and get rid of a ton of error messages on boot:
1. You probably have a directory on your drive called:
/lib/modules/2.0.18
Delete all the subdirectories below it. Then go to
/usr/src/linux
and re-run make modules_install
This will put just the modules that you wanted in your kernel
in the /lib/modules/2.0.18 directory.
There are directories there from previous kernel builds - you
may have removed module support for these, yet at boot-time
it may still want it to be modular in the kernel.
2. Either edit or create the file: /etc/conf.modules
Insert the following three lines into the file and save:
alias net-pf-3 off
alias net-pf-4 off
alias net-pf-5 off
3. Those with a monolithic kernel will want to comment out the
following line in /etc/rc.d/rc.sysinit:
depmod -a
Just put a pound sign (#) in front of the line and save
the file.
4. You may also have to rename the directory /lib/modules/default
to something else. I renamed mine to /lib/modules/default.sav
I don't remember off-hand why this was necessary, but it is
similiar to the reasoning of step #1.
Granted, I have built a monolithic kernel and these fixed my errors on
boot, but it may also help others having a little trouble getting the
kernel to boot without blowing a ton of "errors" to the screen.
Hope this helps anyone out there! I'm new to the 2.0 kernel thing, but
not new to linux, so I have had some trial and error building the new
kernel as well. Thanks to several users on this list who provided the
above answers in one form or another!
Aaron
On Wed, 20 Nov 1996, Jason Harrell wrote:
> I have been trying to recompile this darn kernel since the day before
> forever and nothing seems to work. I do:
> make config
> make dep
> make clean
> make zImage
> make zdisk
> make modules
> make modules_install
> and this still doesn't seem to get it. I get a bunch of errors on boot up
> and since I'm fairly new to Linux I don't know where to begin to look for
> them. One error that sticks out is "Unresolved symbols etc. etc." why am
> I getting this one? Can some tell me how they've gone about successfully
> recompiling theirs? Thanks :-(
>
> Jason
>
>
>
> --
> 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
>
--
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