Re: System.map does not match kernel data

2000-11-21 Thread Martin Albert
On Tue, 21 Nov 2000, Liam Ward wrote:
> I'm getting the following message when I run ps/top:
> Warning: /boot/System.map-2.2.17 does not match kernel data.

The message comes from a kernel symbol checking routine in (as far as i
remember) misc/symbol.c in the ps source tree.
I _knew_ for sure my symbols were correct, so i changed the '#if 1 ---
#endif' that encloses exactly that statements to '#if 0'. 

not quite a fix but, guess what, no Warning message anymore 8:)

greetings. martin



Re: System.map does not match kernel data

2000-11-21 Thread Chris Feist
Did you just upgrade your kernel?  (I know 2.2.18pre21 or something just
came out).  I usually just make a symlink from /boot/System.map to
/usr/src/linux/System.map.  Then whenever I upgrade my kernel my System
map stays consistent.

Chris

On Tue, Nov 21, 2000 at 04:37:58PM -, Liam Ward wrote:
> Hi all,
> 
> I'm getting the following message when I run ps/top:
> 
> Warning: /boot/System.map-2.2.17 does not match kernel data.
> 
> I'm assuming (hoping :-) that this is because I did a security update 
> yesterday and something's not quite right.
> 
> Any hints on what to do here?
> 
> Thanks,
> 
> Liam
> 
> 
> Liam Ward
> DV4
> t: +353 1 672 7250
> e: [EMAIL PROTECTED]
> w: www.dv4.com
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null


pgpoNjoKfNEZ2.pgp
Description: PGP signature


Re: System.map does not match kernel data

1999-09-30 Thread Dan Everton
On Wed, Sep 29, 1999 at 06:53:32PM -0700, Seth R Arnold wrote:
> On Wed, Sep 29, 1999 at 05:02:51PM +0200, Jonas Steverud wrote:
> > 
> > When I run some programs (ps, top, etc) I get
> > Warning: /boot/System.map-2.2.10 does not match kernel data.
> > 
> > Is there some way of fixing this/get rid of the message?
> > 
> > I've compiled the kernel myself and the messages started to appear
> > after (I think) and upgrade to PAM.
> 
> I think if you copy /usr/src/kernel/System.map to /boot/System.map-2.2.10
> the message will go away. 

I have the same problem, except my kernel was installed with kernel-package
so I already have /boot/System.map-2.2.12 setup. Symlinking it to
/boot/System.map just means I get two messages.

For me, this started happening after the recent LILO upgrade... anybody have
any hints on tracing the cause of the message?

Dan

-- 
Dan Everton -*- http://www.psynet.net/fada -*- <[EMAIL PROTECTED]>
-- Welcome to Dan's fortune-O-rama 
I'm not prejudiced, I hate everyone equally.


Re: System.map does not match kernel data

1999-09-30 Thread Seth R Arnold
On Wed, Sep 29, 1999 at 05:02:51PM +0200, Jonas Steverud wrote:
> 
> When I run some programs (ps, top, etc) I get
> Warning: /boot/System.map-2.2.10 does not match kernel data.
> 
> Is there some way of fixing this/get rid of the message?
> 
> I've compiled the kernel myself and the messages started to appear
> after (I think) and upgrade to PAM.

I think if you copy /usr/src/kernel/System.map to /boot/System.map-2.2.10
the message will go away. 

-- 
Seth Arnold | http://www.willamette.edu/~sarnold/
Hate spam? See http://maps.vix.com/rbl/ for help
Hi! I'm a .signature virus! Copy me into
your ~/.signature to help me spread!


Re: System.map does not match kernel data

1999-09-30 Thread Pollywog

On 30-Sep-99 Salman Ahmed wrote:
> If you are compiling the kernel by hand, then you need to copy the
> System.map from that directory into /boot right after the kernel has been
> compiled. I am not sure but it might have to be named with the kernel
> version ie /boot/System.map-2.2.12.
That is what I do, then I symlink that to /System.map


--
Andrew


Re: System.map does not match kernel data

1999-09-30 Thread Salman Ahmed

[I don't know if you received an answer to this question, so
here goes]

> "Jonas" == Jonas Steverud <[EMAIL PROTECTED]> writes:

Jonas> When I run some programs (ps, top, etc) I get Warning:
Jonas> /boot/System.map-2.2.10 does not match kernel data.

Jonas> Is there some way of fixing this/get rid of the message?

Yes there is. See below.


Jonas> I've compiled the kernel myself and the messages started to
Jonas> appear after (I think) and upgrade to PAM.

Jonas> (I have a foggy idea what this message means but don't know how
Jonas> to "repair" it.)

The System.map is generated when a kernel is compiled. It can be found
in the /usr/src/linux-x.y.z assuming that the kernel sources are in that
directory. This file contains debugging symbol information that can
be useful if and when the kernel crashes.

If you are compiling the kernel by hand, then you need to copy the
System.map from that directory into /boot right after the kernel has been
compiled. I am not sure but it might have to be named with the kernel
version ie /boot/System.map-2.2.12. Some of the make targets such as
bzlilo automatically do that and setup /etc/lilo.conf. Someone will
correct me if I am wrong here since I have been using the Debian's
excellent kernel-package tools to build kernels and haven't done
it the "old-fashioned way".

If you use the make-kpg script(s) to build the kernel in Debian,
all this is taken care for you by the script(s). For more info on this,
see : /usr/doc/kernel-package, and man make-kpkg.

HTH,

-- 
Salman Ahmed
ssahmed AT interlog DOT com