[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: manual kernel recompile vs make-kpkg



On Wed, Oct 27, 1999 at 08:41:47AM +0200, Onno wrote:

> >You'll want to copy the System.map to /boot as well.
> ># cp /usr/src/kernel-source-2.2.12/System.map /boot/System.map-2.2.12
> 
> Would you elaborate on that please...

I'll try, but I don't know much about the System.map file, so what I
tell you could be wrong - you have been warned. :-)

The System.map file is a "map" of the symbols in the kernel, and their
location (I think, if you look at the file it has what looks like
addresses and then a symbol name in the third column (I'm not sure what
that other character means, the t/T in the second column)).

Some programs (top, ps, etc.) can use the System.map to discover and
display extra information... If you have the wrong System.map file for
the current kernel, when you start those programs, they'll complain.
Most/all of the programs which use the System.map now look for it in the
following order:

/boot/System.map-<kernel-version>
/boot/System.map

I think it looks in at least one other place, but I don't remember where
that is (sorry).

I haven't actually come across any information about the use of the
System.map so far, which is why I don't really know a great deal. Maybe
it's one of those things which you know the purpose of it if you truly
have a use for it. ;-)

The file isn't critical to the running of a system, so if you don't
bother updating it, I don't think anything Really Bad (TM) will happen.

Oh, if you use make-kpkg to build kernels, when you install them with
dpkg the updating of the System.map is handled as part of that, so you
don't have to worry about it.

If someone can post a better explanation, or a pointer to some
information, I'd be very grateful...

-- 
[ Matthew Gregan ]      [ GPG ID: B63A1E95 ]      [ kinetik@ihug.co.nz ]
[ GPG fingerprint:  FB83 2911 F170 B31C 9E4A  E382 CA8A A2F6 B63A 1E95 ]

Attachment: pgpvpkVmj9vQk.pgp
Description: PGP signature


Reply to: