[Gllug] System Map

Dave Jones davej at suse.de
Thu Jul 18 10:03:55 UTC 2002


On Thu, Jul 18, 2002 at 10:55:51AM +0100, tet at accucard.com wrote:

 > System.map is a lookup table of kernel symbols, so various programs
 > can display a symbolic name, rather than just a meaningless address.
 > ps only uses this for the largely undocumented WCHAN field, so unless
 > you're using that, you can safely ignore the error.

It's also needed by klogd and ksymoops, but these only come into
play when you get a kernel panic.

 > The obvious way to get rid of the error is to recompile your kernel
 > and ensure that System.map and your running kernel actually match...

The correct fix is to make sure that it's being saved as for eg
"System.map-2.4.19rc2". The boot scripts (if correctly written)
will then start klogd with -m System.map-`uname -r`, and you'll
always get the right version loaded.

Some distros also used to do 
ln -sf /boot/System.map-`uname -r` /boot/System.map 
at boottime, which also does pretty much the same thing in
an albeit uglier way.

Dave.

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list