LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 08-19-2017, 09:24 AM   #1
fbeye
Member
 
Registered: Aug 2017
Posts: 49

Rep: Reputation: Disabled
System.map / Kernel association.


After looking up various Google scenarios to find an answer, I seem to not get a specific answer.

I know there needs to be a System.map file and I am under the impression it needs to be associated to the specific kernel being loaded... What confuses me is by default System.map uses the installed kernel but from what I read when recompiling, it mentions to remove "rm System.mal" and then "ln -s System.map-new-kernel System.map (overwriting original?).

My question is, let's say my recompiled kernel is a failure of ignorance, and it doesn't boot, will my original working kernel still boot even though I linked the recompiled kernel/System.map to the standard System.map?

I guess I am asking because I recompiled, got a kernel panic (how original) and when I boot my original I get a plethora of errors and it won't boot. All i did was recompile and modify lilo and added new kernel as well as rm original System.map and overwrite the original.
 
Old 08-19-2017, 10:01 AM   #2
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
I never remove my system map files, I just do compile the kernel run make install and everything is great. you dont need to remove the system map symlink, you can but its only for legacy purposes.
 
Old 08-19-2017, 10:24 AM   #3
fbeye
Member
 
Registered: Aug 2017
Posts: 49

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by /dev/random View Post
I never remove my system map files, I just do compile the kernel run make install and everything is great. you dont need to remove the system map symlink, you can but its only for legacy purposes.
Alright so I can skip the "rm System.map" file but what does the new Kernel associate itself with? Maybe I just don't understand how the two work in conjunction. After I recompile the new kernel do I still need to link the new
System.map-new-kernel to System.map.

From what I gather /boot/vmlinuz will look at System.map so /boot/vmlinuz-new-kernel will look for System.map-new-kernel or still System.map?
 
Old 08-23-2017, 11:16 AM   #4
lazardo
Member
 
Registered: Feb 2010
Location: SD Bay Area
Posts: 270

Rep: Reputation: Disabled
System.map is used for kernel debug and profiling, not required otherwise.

Cheers
 
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
Compile kernel: System.map? iaMMai Linux - Newbie 9 05-19-2005 08:05 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
Custom kernel and System.map tmoorman Mandriva 1 10-22-2003 08:11 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 > Slackware - Installation

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