Strange problem with ps (System.map does not match kernel data)

2001-07-18 Thread Dave Carrigan
I am running Debian/unstable, and the 2.4.4 kernel, patched with SGI xfs:

 $ uname -a
 Linux cbgb 2.4.4-xfs #1 Sun Jun 10 21:03:50 PDT 2001 i686 unknown

When I boot the system, everything is fine, but after a day or so,
whenever I run ps, I get the following error:

 $ ps -ef
 {shmem_file_setup} {__VERSIONED_SYMBOL(shmem_file_setup)}
 Warning: /boot/System.map-2.4.4-xfs does not match kernel data.
 UIDPID  PPID  C STIME TTY  TIME CMD
 root 1 0  0 Jul16 ?00:00:05 init
 root 2 1  0 Jul16 ?00:00:00 [keventd]
  ... snip ...

This does not happen immediately; right after I boot, ps does not give
me the error message, but something happens at a later time and starts
causing problems.

Has anyone else seen this?

-- 
Dave Carrigan ([EMAIL PROTECTED])| Yow! Hello.  I know the divorce
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | rate among unmarried Catholic
Seattle, WA, USA| Alaskan females!!
http://www.rudedog.org/ | 



System.map does not match kernel data

2001-05-16 Thread omicron
hello
when i do `ps` , i get the following error message on stderr...

{inet_release} {inet_release_R__ver_inet_release}
Warning: /boot/System.map-2.4.2 does not match kernel data.
{inet_release} {inet_release_R__ver_inet_release}
Warning: /boot/System.map does not match kernel data.
{inet_release} {inet_release_R__ver_inet_release}
Warning: /usr/src/linux/System.map does not match kernel data.

what does it mean ? I *did* compile (and recompile ) my kernel a
dozen times..is it because of that ?

Thanks in advance..

regards
omicron

-- 
**
omicron Mail:[EMAIL PROTECTED]
(Sridhar N)  www:omicron.symonds.net
 pubkeys:omicron.symonds.net/pubkeys

   C O G I T O   E R G O   S U M
~~~



Re: [users] System.map does not match kernel data

2001-05-16 Thread MaD dUCK
also sprach omicron (on Wed, 16 May 2001 03:57:53PM +0530):
   what does it mean ? I *did* compile (and recompile ) my kernel a
 dozen times..is it because of that ?

yes. copy the file /usr/src/linux/System.map to
/boot/System.map-`uname -r` and you are set.

System.map maps kernel address space to function names such that
proggies like ps, top, strace, and other debugging tools may present
the user with meaningful names rather than 32/64bit addresses.

martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^.*|tr * mailto:; [EMAIL PROTECTED]
-- 
the packages come out en masse,
like minitab, systat, and sas.
the ultimate mess
is spss,
which everyone uses, alas. 



System.map does not match kernel data

2000-11-21 Thread Liam Ward
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



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

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



Warning: /usr/src/linux/System.map does not match kernel data.

2000-01-20 Thread Jose Rodriguez
¡Hola!

Pues eso, que cada vez que hago un 'ps' o un 'top', me sale el mensaje

Warning: /usr/src/linux/System.map does not match kernel data.

He recompilado e instalado el nuevo kernel, y he hecho lilo.  ¿Que
sucede con el System.map? ¿Como puedo volver a generarlo?

Saludotes,

--
Jose Rodriguez  [EMAIL PROTECTED]
Instituto Nacional de Meteorologia  SPAIN




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


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 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 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.