Problem with kallsyms utility - root cause of "Inconsistent kallsymsdata" error
From: Hrvoje HabjaniÄ
Date: Mon Jan 20 2014 - 13:24:26 EST
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
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 .
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/