El vie, 30-11-2001 a las 10:58, Emilio Jos� Padr�n Gonz�lez escribi�:
> Saludos a todos. Hoy me he dado cuenta (soy un desastre,
> a saber desde cuando pasa) de que al hacer un ps el sistema
> me dice: "Warning: /boot/System.map has an incorrect kernel version"
> 
> �A qu� es debido? La �ltima vez que recompil� el kernel (2.4.13) fue
> hace semanas y no he notado nada raro (creo). Tengo que cambiar
> el System.map cada vez que se recompila el kernel? o s�lo si
> cambio de versi�n de kernel?

Si utilizas �make-kpkg� para recompilar el kernel y hacerlo paquete te
incluir� este fichero.

> Ah, y aunque ya s� que es RTFM si alguien me pudiera dar una peque��sima
> idea de qu� hace este fichero se lo agradecer�a.

Al iniciar el kernel obtengo lo siguiente respecto al System.map en
/var/log/syslog:

[...]
kernel: Loaded 14059 symbols from /boot/System.map-2.4.14-17112001.
kernel: Symbols match kernel version 2.4.14.
kernel: Loaded 55 symbols from 5 modules.
[...]

Por lo que me imagino que tendr� algo que ver con la depuraci�n. Mirando
en klogd(8):

[...]
As part of the kernel compilation  process a listing is created which
specified the address locations of important variables and function in
the kernel being compiled. This listing is saved in a file called
System.map in the top of the kernel directory source tree. Using this
listing a kernel developer can determine exactly what the kernel was 
doing when the error condition occurred.
[...]

Attachment: pgpJFr50Kikos.pgp
Description: PGP signature

Responder a