LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-17-2002, 04:33 AM   #1
cathodion
Member
 
Registered: May 2002
Location: The Netherlands
Distribution: Fedora Core 2
Posts: 46

Rep: Reputation: 15
Question What to do with /boot/System.map on dual Kernel boot?


Hey folks,

When compiling a kernel someone told me to copy the new System.map file to /boot/System.map.
But what should i do when i have both a 2.2.19 kernel and a 2.4.18 kernel on my system? Just overwrite the System.map with the latest version, or what?

Thanks,
CathodioN.
 
Old 05-17-2002, 07:17 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
The System.map file is used by the kernel logger to determine the module names generating messages. Some programs like top also use the information from the System.map file. Since you have one 2.2 kernel and one 2.4 kernel the System.map file can contain quite a bit of difference.

Most distributions make the System.map file link to the appropiate System.map-kernelversion file. I guess you could link it to the most used version. I don't know if there is a neat way to get it to link to the right one depending on which version you booted. If you use the wrong Sytem.map file everything will still run. You'll just get warnings on boot about not being able to resolve symbols. Several programs like top might also complain.
 
Old 05-17-2002, 12:19 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
I'll add that I don't have System.map at all and it's working with no complains. This file is useful if you'd like to debug your kernel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
boot/System.map: Bad file descriptor pixie Fedora 16 03-01-2005 01:19 PM
system alarm on boot in slackware 10.0 but not win2000(dual boot) Arch Stanton Slackware 3 01-24-2005 11:33 AM
cloning both partitions, dual boot system, master boot record, logical volume manager saranga2000 Linux - Hardware 3 01-10-2005 12:04 PM
LILO using wrong kernel on dual boot system MS3FGX Linux - General 7 03-08-2004 01:50 AM
/boot/System.map not parseable benjaminrtz Linux - General 7 08-19-2002 02:50 AM


All times are GMT -5. The time now is 01:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration