LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-22-2003, 10:21 PM   #1
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
.config and System.map


I would like to keep my old kernel along with 2.6.0
in /boot for now.

My question is this:

When I move the 2.6.0 kernel to /boot, is it important
also to copy the new .config and System.map into /boot?
 
Old 12-23-2003, 01:35 AM   #2
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
Not really.
 
Old 12-23-2003, 02:59 AM   #3
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
It's not a bad idea, though. Some programs I think require it and it only costs you 2 minutes at most. Its a good idea to call them something like "Sytem.map.<kernel version>" and then make a symlink to the one you use most called "System.map". Same for the config file.
 
Old 12-23-2003, 07:30 AM   #4
kc00l
Member
 
Registered: Oct 2003
Location: France/Italy
Distribution: Slackware Current
Posts: 83

Rep: Reputation: 15
Re: .config and System.map

Quote:
Originally posted by Berhanie
I would like to keep my old kernel along with 2.6.0
in /boot for now.

My question is this:

When I move the 2.6.0 kernel to /boot, is it important
also to copy the new .config and System.map into /boot?
Adding to what the other posters replied I'd say to:

$cp linux-2.6.0/.config /boot/config-2.6.0

For documentation's sake.
 
Old 12-23-2003, 01:02 PM   #5
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Original Poster
Rep: Reputation: 165Reputation: 165
thanks for the info, guys.
 
Old 12-24-2003, 05:30 PM   #6
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 535

Rep: Reputation: 30
The .config file isn't necessary as it is not used for kernel booting operation.
System.map is necessary to klogd to "collect" messages from the kernel while booting.
They are given to ksyslogd that prints those messages to the console.
System.map is also used by some emulators as they use those infos to work.
klogd search by default in three directory his suitable System.map.
They are /boot, / , /usr/src/linux-x.x.xx (not sure in this order).
klogd has versioning features as well, so if you rename System.map to System.map-x.x.xx,
it is able to find out the proper System.map.
Simply cp ....../src/linux-x.x.xx /boot/System.map-x.x.xx
Ciao
 
Old 12-24-2003, 10:04 PM   #7
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Original Poster
Rep: Reputation: 165Reputation: 165
That's good to know, urka58, thank you. I checked the
man page of klogd. The order is

/boot/System.map
/System.map
/usr/src/linux/System.map
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is System.map and where should it go? blish_blash Linux - General 4 10-23-2004 01:23 PM
System.map ??? theonebeyond Linux - General 3 09-08-2004 07:19 PM
System.map & config files greythorne Slackware 7 05-23-2004 01:34 AM
What is System.map for? ivanatora Linux - General 2 12-18-2003 05:23 PM
What is System.map for? Rex_chaos Linux - Software 1 04-22-2002 11:04 AM


All times are GMT -5. The time now is 10:09 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