mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arvind Sankar <niveditas98@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: kexec failure (Undefined symbol: __stack_chk_fail)
Date: Sat, 11 May 2019 15:16:59 -0400	[thread overview]
Message-ID: <20190511191658.GA25716@rani.riverdale.lan> (raw)

[-- Attachment #1: Type: text/plain, Size: 1450 bytes --]

I'm running v5.1.0 trying to kexec into v5.1.1. I get an error when
trying to load the kernel image, I enabled some debugging of
arch/x86/kernel/machine_kexec_64.c and got the following log:
[90028.591812] kexec: Applying relocate section .rela.text to 1
[90028.592438] kexec: Symbol: sha256_update info: 12 shndx: 01 value=159 size: 1bc4
[90028.593077] kexec: Symbol: purgatory_sha_regions info: 11 shndx: 08 value=0 size: 100
[90028.593744] kexec: Symbol: sha256_init info: 12 shndx: 01 value=117 size: 42
[90028.594406] kexec: Symbol: purgatory_sha_regions info: 11 shndx: 08 value=0 size: 100
[90028.595086] kexec: Symbol: sha256_final info: 12 shndx: 01 value=1d1d size: b5
[90028.595775] kexec: Symbol: purgatory_sha256_digest info: 11 shndx: 08 value=100 size: 20
[90028.596486] kexec: Symbol: memcmp info: 12 shndx: 01 value=1e9b size: c
[90028.597203] kexec: Symbol: purgatory_backup_dest info: 11 shndx: 08 value=130 size: 8
[90028.597947] kexec: Symbol: purgatory_backup_src info: 11 shndx: 08 value=128 size: 8
[90028.598701] kexec: Symbol: purgatory_backup_sz info: 11 shndx: 08 value=120 size: 8
[90028.599449] kexec: Symbol: __stack_chk_fail info: 10 shndx: 00 value=0 size: 0
[90028.600199] kexec: Undefined symbol: __stack_chk_fail
[90028.600955] kexec-bzImage64: Loading purgatory failed

I have attached the config.gz from the running 5.1.0 kernel and the
built 5.1.1 kernel. The config was working ok with the 5.0 series.

Thanks

[-- Attachment #2: v5.1.0 config --]
[-- Type: application/octet-stream, Size: 21568 bytes --]

[-- Attachment #3: v5.1.1 config --]
[-- Type: application/octet-stream, Size: 22005 bytes --]

             reply	other threads:[~2019-05-11 19:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-11 19:16 Arvind Sankar [this message]
2019-05-11 19:40 ` Arvind Sankar
2019-05-11 22:48   ` Arvind Sankar

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=20190511191658.GA25716@rani.riverdale.lan \
    --to=niveditas98@gmail.com \
    --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®