All of lore.kernel.org
 help / color / mirror / Atom feed
* kexec failure (Undefined symbol: __stack_chk_fail)
@ 2019-05-11 19:16 Arvind Sankar
  2019-05-11 19:40 ` Arvind Sankar
  0 siblings, 1 reply; 3+ messages in thread
From: Arvind Sankar @ 2019-05-11 19:16 UTC (permalink / raw)
  To: linux-kernel

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: kexec failure (Undefined symbol: __stack_chk_fail)
  2019-05-11 19:16 kexec failure (Undefined symbol: __stack_chk_fail) Arvind Sankar
@ 2019-05-11 19:40 ` Arvind Sankar
  2019-05-11 22:48   ` Arvind Sankar
  0 siblings, 1 reply; 3+ messages in thread
From: Arvind Sankar @ 2019-05-11 19:40 UTC (permalink / raw)
  To: Arvind Sankar; +Cc: linux-kernel

On Sat, May 11, 2019 at 03:16:59PM -0400, Arvind Sankar wrote:
> 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


I get the same error message when trying to load even the currently
running kernel.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: kexec failure (Undefined symbol: __stack_chk_fail)
  2019-05-11 19:40 ` Arvind Sankar
@ 2019-05-11 22:48   ` Arvind Sankar
  0 siblings, 0 replies; 3+ messages in thread
From: Arvind Sankar @ 2019-05-11 22:48 UTC (permalink / raw)
  To: Arvind Sankar; +Cc: linux-kernel

On Sat, May 11, 2019 at 03:40:49PM -0400, Arvind Sankar wrote:
> On Sat, May 11, 2019 at 03:16:59PM -0400, Arvind Sankar wrote:
> > 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
> 
> 
> I get the same error message when trying to load even the currently
> running kernel.

Hm this has mysteriously disappeared after cold-booting into 5.1.1.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-11 22:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-11 19:16 kexec failure (Undefined symbol: __stack_chk_fail) Arvind Sankar
2019-05-11 19:40 ` Arvind Sankar
2019-05-11 22:48   ` Arvind Sankar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.