mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Hrvoje Habjanić" <hrvoje.habjanic@zg.t-com.hr>
To: linux-kernel@vger.kernel.org
Subject: Problem with kallsyms utility - root cause of "Inconsistent kallsyms data" error
Date: Mon, 20 Jan 2014 19:18:34 +0100	[thread overview]
Message-ID: <52DD687A.5050203@zg.t-com.hr> (raw)


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.

                 reply	other threads:[~2014-01-20 18:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52DD687A.5050203@zg.t-com.hr \
    --to=hrvoje.habjanic@zg.t-com.hr \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®