lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <52DD687A.5050203@zg.t-com.hr>
Date:	Mon, 20 Jan 2014 19:18:34 +0100
From:	Hrvoje Habjanić <hrvoje.habjanic@...t-com.hr>
To:	linux-kernel@...r.kernel.org
Subject: Problem with kallsyms utility - root cause of "Inconsistent kallsyms
 data" error


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ