Re: system.map

From: Lionel Bouton (Lionel.Bouton@free.fr)
Date: Wed Jan 02 2002 - 16:25:28 EST


Sebastian Roth wrote:

>>Hi all
>>
>
> hello,
>
>
>>Why sometimes I don't need to copy the system.map to
>>/boot when I update the kernel
>>and the system also can boot?
>>
>
>>Is it correct?
>>
>
> yes, this is correct. I think this System.map contains only some useful
> information about modules for the kernel.

> [...]

"man klogd", "man ksymoops".

Short:
System.map is an ordered (by address) list of (kernel address, ?type?,
and syscall name).
Module syscalls are dynamic by nature so there's a kernel interface for
exporting symbols to user utilities needing their addresses (see
/proc/ksyms).

You don't need System.map to boot. But user space apps like ps (can show
the current syscall used by a process), klogd (for clean GPF reports),
ksymoops (mainly as a cross-check with vmlinux symbols) use it and
search it in numerous places : with or without `-uname -r` appended (at
least in / /boot /usr/src/linux).

LB.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:18 EST