Re: System.map versus /proc/kallsyms

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

 



On Mon, 2 Jul 2007, Robert P. J. Day wrote:

>   i just *know* i'm going to embarrass myself with this question, but
> what is the difference between the addresses for a given symbol in
> those two locations?

Symbols, that are present in both must match. E.g.,

$ grep jiffies_64 /proc/kallsyms
c0122e00 T get_jiffies_64
$ grep get_jiffies_64 /boot/System.map-2.6.16
c0122e00 T get_jiffies_64

>   specifically, i'm looking at a fedora 7 system running the latest
> "yum updated" kernel 2.6.21-1.3228.fc7.  if i look at the System.map
> file that came with it that's sitting in the /boot directory, that
> tells me this:
> 
> c130bc00 D jiffies
> 
>   OTOH, if i check /proc/kallsyms, i'm told this:
> 
> c070bc00 D jiffies
> 
>   so how am i supposed to interpret that?

Either you're looking at a wrong System.map or fedora guys have messed 
things up a bit...

>  i typically use the
> contents of /proc/kallsyms to determine a symbol's address, so how am
> i supposed to interpret the info in System.map?  thanks.

Yes, /proc/kallsyms is correct in any case.

Thanks
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux