[summary]: Building Kernel

Kevin P. Fleming kpfleming at linuxfromscratch.org
Sat May 22 12:11:51 PDT 2004


Randy McMurchy wrote:

> I guess I'm confused as to why, if the System.map file is not
> needed, does the kernel look at it?
> 
> ############# Log file snippet ################
> May 20 10:07:37 (none) kernel: Inspecting /boot/System.map-2.6.4
> May 20 10:07:38 (none) kernel: Loaded 21351 symbols from 
> /boot/System.map-2.6.4.

This not the kernel's doing, it's klogd. klogd reads the symbols so that 
it can interpret kernel oops messages and report the symbol information.

2.6 has "ksymoops", meaning the kernel can do this interpretation on its 
own, unless you remove this feature (which is hidden under a special 
menu). With 2.6, if you provide a System.map file to klogd, and an oops 
occurs, the oops message will actually be put into your log twice, once 
by the kernel and once by klogd.



More information about the lfs-dev mailing list