LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   new kernel/multiple kernels and system.map (https://www.linuxquestions.org/questions/slackware-14/new-kernel-multiple-kernels-and-system-map-4175489925/)

hubabuba 01-02-2014 03:33 PM

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?

syg00 01-02-2014 04:15 PM

Your searching didn't find this ?.

Petri Kaukasoina 01-03-2014 04:36 AM

Quote:

Originally Posted by syg00 (Post 5090837)
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.

ReaperX7 01-04-2014 05:28 PM

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.


All times are GMT -5. The time now is 05:54 AM.