mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Problem with kallsyms utility - root cause of "Inconsistent kallsyms data" error
@ 2014-01-20 18:18 Hrvoje Habjanić
  0 siblings, 0 replies; only message in thread
From: Hrvoje Habjanić @ 2014-01-20 18:18 UTC (permalink / raw)
  To: linux-kernel


Hi.

While building custom kernel for ARM, using openwrt, i did hit
"Inconsistent kallsyms data", and i can repeat it every time.

After short investigation, i did track problem down to kallsyms utility,
which generates source for compressed binary dump of kernel symbols table.

To make it short, i have 2 symbol tables, and they differ only in
position of one symbol. But, after compression by kallsyms, those
generate different outputs (which is expected, since address are
different) and also this output changes in size! And this is not expected.

If both tables have the same number of symbols, and names are the same,
i would guess that output _should not_ differ in size?


So, the question is - is this behavior of kallsyms a bug, or a "feature"?


Please note that this causes somewhat "hard-to-get" error "Inconsistent
kallsyms data", and in my case, adding "make KALLSYMS_EXTRA_PASS=1" does
_not_ help.

This problem was previously noted, and "bandaged" by different hack's,
which do not prevent future occurrences of "Inconsistent kallsyms data".

For details, see https://bugzilla.kernel.org/show_bug.cgi?id=69021 .

Regards,

H.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-20 18:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-20 18:18 Problem with kallsyms utility - root cause of "Inconsistent kallsyms data" error Hrvoje Habjanić

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®