LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-02-2014, 03: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, 04:15 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

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

Rep: Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463
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, 05:28 PM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
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



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 10:20 AM
System.map with several kernels? jontamask Slackware 3 05-23-2004 03:35 AM
Kernel System.map Scorched Linux - Newbie 4 03-02-2004 05:48 PM
Custom Kernel and System.map tmoorman Linux - Software 6 10-23-2003 04:12 PM
Kernel images and System.map Dark_Helmet Linux - Newbie 4 02-03-2003 10:58 AM

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

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