LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-02-2014, 04:33 PM   #1
hubabuba
Member
 
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193

Rep: Reputation: 30
new kernel/multiple kernels and system.map


Been searching for the answers, but would like to get a clearer answers on here if possible.

After installing 14.1 i dowloaded and compiled kernel 3.12.3

My default install boots huge-smp-3.10.17 and i want to leave it incase i'm unable to boot the 3.12.3.

So I edited lilo.conf to be able to have a choice beetween the 2 kernels untill i know the new 3.12.3 boots without problems.

First question is how can I have 2 system.map files one for each kernel and how will the system know which one to use?

2nd - does kernel.org contain smp kernels or just normal ones and what is the difference between kernels available at kernel.org and the images that come with the slack 14.1 install?

Last question - once the new kernel works can the generic-3.x.x, generic-smp-3.x.x, huge-3.x.x and huge-smp-3.x.x be removed from /boot directory?
 
Old 01-02-2014, 05:15 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,487

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Your searching didn't find this ?.
 
1 members found this post helpful.
Old 01-03-2014, 05:36 AM   #3
Petri Kaukasoina
Member
 
Registered: Mar 2007
Posts: 242

Rep: Reputation: 86
Quote:
Originally Posted by syg00 View Post
Your searching didn't find this ?.
In the old days (kernel 2.4), the kernel Oops was translated with ksymoops using System.map and later klogd did it automatically. But not for a long time.

Now klogd is started with -x "Omits EIP translation and therefore doesn't read the System.map file." The Oops that kernel outputs is all you need, you get it directly from dmesg and you should not try to translate it.

I don't think System.map is needed anywhere. I haven't had it on my systems for years.
 
1 members found this post helpful.
Old 01-04-2014, 06:28 PM   #4
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,825
Blog Entries: 15

Rep: Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184
Often you should place a tag label on the /boot files such as .config and system.map such as the kernel type and version:

vmlinuz-x86_64-3.11.6
config-x86_64-3.11.6
system.map-x86_64-3.11.6

This way boot loaders like Grub, syslinux, and Lilo know what to use per kernel.
 
1 members found this post helpful.
  


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
System.map - what to do when I have multiple kernels in LILO? brgr88 Linux - Kernel 4 04-19-2006 11:20 AM
System.map with several kernels? jontamask Slackware 3 05-23-2004 04:35 AM
Kernel System.map Scorched Linux - Newbie 4 03-02-2004 06:48 PM
Custom Kernel and System.map tmoorman Linux - Software 6 10-23-2003 05:12 PM
Kernel images and System.map Dark_Helmet Linux - Newbie 4 02-03-2003 11:58 AM


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