LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Subba Rao <subb3@ibm.net>
  To  : Adam Hawes" <adam@overfiend.freeservers.com>, "LinuxSA <adam@overfiend.freeservers.com>
  Date: Sat, 18 Sep 1999 12:25:51 -0400 (EDT)

Re: /boot/System.map

A while ago I had the same question. One gentlemen gave the following instruction on
how he creates a new kernal

======
When I build a kernel, the steps I use are:
make xconfig (or menuconfig or config).
make dep		#makes dependencies
make clean		#cleans out old .o files
make bzImage		#makes the kernel. 
make modules		#makes the modules
make modules_install	#copies the modules to the appropriate place
make bzlilo		#Backs up the current kernel and system map to .old
			#copies the new kernel and system map
			#executes the lilo command
======

Typically, the System.map file gets copied to the / directory. Based on the distribution,
they may reside in /boot or something like that. I use Slackware 4.0. After a new kernel
is complied the System.map is in /usr/src/linux/System.map. The "make bzlilo" command
copies it to /. That does not help, since I get warning messages. After I copy the System.map
file to /boot, everything works fine. There is no need to reboot. Copy the new System.map file to
the appropriate location.

Hope this helps.

Good luck.

Subba Rao
subb3@ibm.net
==============================================================
Disclaimer - I question and speak for myself.

http://pws.prserv.net/truemax/
______________________________________________________________
On Sat, 18 Sep 1999 18:29:33 +0930, Adam Hawes wrote:

>Hi all.
>
>I installed Redhat 6.0 today off the pocketbook CD.  I also decided to
>install and compile the kernel version 2.2.11 (on the first disk).  The
>kernel in RH6.0 is 2.2.5.
>
>After untarring the kernel, I configured it, and then I compiled it.  This
>is not new to me; I have been compiling the kernel a fair amount under
>RH5.2.  The problem is that now when I boot I get the message
>
>"Warning: /boot/System.map has an incorrect kernel version."
>
>What is causing this warning, and how do I get it to go away? I have
>searched the help files and howtos, and even grepped /usr/doc for it, but I
>found no reference to the System.map file.
>
>Cheers, Adam
>
>-- 
>Adam Hawes
>Email:     adam@overfiend.freeservers.com
>Web:	   http://overfiend.freeservers.com
>ICQ:       2492016
>
>-- 
>Check out the LinuxSA web pages at http://www.linuxsa.org.au/
>To unsubscribe from the LinuxSA list:
>  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
>
>



-- 
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page