LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-19-2007, 10:06 AM   #1
lali.p
Member
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 141

Rep: Reputation: 16
Question What is System.map file ?


I recently upgraded my Kernel to 2.6.20.Its working like hell(i mean GRRRR8 :-) thanks to all you people who'll are always ready to help.every thing is working fine.Here's my question which i'm asking to clear my concepts.
During Kernel installation i issued the fllowing commands(as root ofcourse):
1)cp arch/i386/boot/bzImage /boot/vmlinuz
2)cp System.map /boot/System.map-2.6.20.6
3)lilo
I just want to know what is the use of System.map file
that i copied in the /boot directory and what if i just skip the second step ?
Kindly help me know the answer to this question



Thank you
 
Old 04-19-2007, 10:17 AM   #2
agentc0re
Member
 
Registered: Apr 2007
Location: SLC, UTAH
Distribution: Slackware
Posts: 200

Rep: Reputation: 34
i just googled what is system.map
http://en.wikipedia.org/wiki/System.map
gives a really good explanation. hope it's helpful for you.
 
Old 04-19-2007, 11:59 AM   #3
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
It's just another file you can delete :P
 
Old 04-19-2007, 12:21 PM   #4
jonnycando
Member
 
Registered: Nov 2006
Location: Virginia
Distribution: OpenSuSE 10.2
Posts: 121

Rep: Reputation: 15
Quote:
Originally Posted by pdw_hu
It's just another file you can delete :P

OH you shouldna said that!!!
 
Old 04-19-2007, 01:26 PM   #5
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
I like to confuse
(sorry :P, but really, i never ever needed it, and probably normal users won't either)
 
Old 04-20-2007, 01:29 PM   #6
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
Deleting System.map won't break your system, but it is a sort of table of matches used by syslogd and klogd to report errors. So you won't be able to have logs from the kernel in case of errors.
syslogd and klogd have a very tricky method as both have "versioning" along to auto-matching features.
I mean, having the kernel version appended to System.map (ie System.map-2.6.20.4)won't hurt , but is not mandatory as syslogd and klogd are able to automagically reccognise the proper System.map matching the kernel you loaded, and they look for it first on /boot then on / and last on /path/to/kernel/sources.
Deleting System.map from your /boot directory won't stop syslogd and klogd searching for the proper file, and you probably do not notice it is missing (since it is not really missing).
hope this helps understanding
Ciao

Last edited by urka58; 04-20-2007 at 01:31 PM.
 
Old 04-21-2007, 12:19 AM   #7
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
One more post won't hurt This one's a good read...
http://www.dirac.org/linux/system.map/
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is a system map file and how do i generate one? dr_zayus69 Linux - Software 10 07-01-2006 12:53 AM
No System.map file kaltag Linux - General 2 01-08-2004 05:28 AM
What does the System.map file do? elluva Linux - General 7 01-05-2004 11:09 AM
What is System.map file? and why do we need it? concoran Linux - General 9 11-18-2001 09:42 PM
System.map file bash Linux - Software 1 10-01-2001 03:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:19 PM.

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
Open Source Consulting | Domain Registration