Re: inconsistent kallsyms data [2.6.11-mm2]

From: Dominik Brodowski
Date: Mon Mar 14 2005 - 17:28:32 EST

On Sun, Mar 13, 2005 at 09:54:41AM +0100, Sam Ravnborg wrote:
> On Thu, Mar 10, 2005 at 12:12:22PM +0000, Paulo Marques wrote:
> > Paulo Marques wrote:
> > >[...]
> > >A simple and robust way is to do the sampling on a list of symbols
> > >sorted by symbol name. This way, even if the symbol positions that are
> > >given to scripts/kallsyms change, the symbols sampled will be the same.
> > >
> > >I'll do the patch to do this and send it ASAP.
> >
> > Ok, here it is.
> >
> > Dominik can you try the attached patch and see if it solves the problem?
> Hi Paulo.
> Alexander Stohr had similar problems with down and __sched_text_start.
> I figured out that what was causing the troubles was the fact that the
> linker generated symbol __sched_text_start changed value from pass 1 to
> pass 2. The reason for this was the alingment used within that section.
> My stamp on this is attached.
> I never came around submitting this since I do not know what the correct
> number for function alignment is on different paltforms.

This patch fixes it on my (x86) system.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at