[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: System.map versus /proc/kallsyms
On Tue, 3 Jul 2007, Guennadi Liakhovetski wrote:
> 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 verified the above twice before posting, just because it looked so
strange. the authoritative source would be, of course,
/proc/kallsyms. i'll ask on the fedora list to see if someone has an
explanation.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ