LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Missing System.map on running system (https://www.linuxquestions.org/questions/linux-kernel-70/missing-system-map-on-running-system-4175442055/)

erj 12-18-2012 06:36 PM

Missing System.map on running system
 
Hello everyone, I'm Eric Jones (erj) and I have an issue with my SuSe 11 SP1 build.
Someone/Some How our /boot/System.map file has been "removed".
The system boots and runs as normal, it's a WebSphere server for Tivoli Service Request Management system.
The issue is when I go to update it I get errors pointing to initrd, further looking finds that there is no /boot/System.map.
Unfortunately it was never backed up so I can't restore it.
What is the best way to recreate the System.map file?
The only thinkg I can think of is to download the source and rebuild the kernel.
The issue with that is this build was done from an IBM image as part of the Tivoli SRM installation so I'm not sure what was compiled into the kernel.
Could be all I need is load ncurses and QT and run the GUI for kernel building?
Been awhile since I had to build kernels on Linux.

erj

unSpawn 12-18-2012 08:17 PM

Quote:

Originally Posted by erj (Post 4852314)
Hello everyone, I'm Eric Jones (erj)

Welcome to LQ, hope you like it here.


Quote:

Originally Posted by erj (Post 4852314)
Someone/Some How our /boot/System.map file has been "removed".

We won't hold it against you, next time be more careful though ;-p


Quote:

Originally Posted by erj (Post 4852314)
The system boots and runs as normal,

That's because, generally speaking, you don't need the System.map unless Syslog or some user land tool needs to look up symbols.


Quote:

Originally Posted by erj (Post 4852314)
Unfortunately it was never backed up so I can't restore it.

IMHO that's a good indication of which procedure to review next...


Quote:

Originally Posted by erj (Post 4852314)
What is the best way to recreate the System.map file?
The only thinkg I can think of is to download the source and rebuild the kernel.

I'd touch the file and see if that doesn't stop the update process. (elif you have an older kernel version with accompanying map file you could boot that and see if that doesn't stop the update process; elif that doesn't work then check the TSRM installation disk for the correct kernel package and extract the System.map.)

erj 12-19-2012 06:29 AM

doh!
 
Forgot about the "touch", should have seen that one coming.
As for finding anything on the TSRM DVD that could be complicated. I need to ask the person who installed it where it's at and it's probably a file not a DVD.
There are older kernel versions in the /boot dir but no map file's. That was my first idea, boot off the old kernel and see what happens.

ej


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