[Bug 1990294] Re: Ampere AltraMax sometimes hangs after "EFI stub: Exiting boot services..."

dann frazier 1990294 at bugs.launchpad.net
Tue Nov 15 17:15:48 UTC 2022


Thanks! OK, that shows that we've successfully booted the kernel, but it
is having an issue bringing up a CPU. I've pasted the relevant snippet
below. It isn't obvious to me if this is a kernel issue or some other
platform issue. As a next step, I'd suggest attempting to reproduce w/
the latest mainline kernel (continuing w/ earlycon enabled). If the
problem goes away, perhaps there's a mainline fix we can identify what
"fixed" it. If the problem persists, we probably need to notify the
vendor.

[    3.321372] arch_timer: Enabling local workaround for ARM erratum 1418040
[    3.321394] CPU245: Booted secondary processor 0x0100310100 [0x413fd0c1]
[    8.536939] CPU246: failed to come online
[    8.550338] Detected PIPT I-cache on CPU246
[    8.555817] CPU246: failed in unknown state : 0x0
[    8.555987] GICv3: CPU246: found redistributor 100370000 region 1:0x0000500100f00000
[    8.562727] ------------[ cut here ]------------
[    8.562809] GICv3: CPU246: using allocated LPI pending table @0x0000080002680000
[    8.569364] Dying CPU not properly vacated!
[   16.668834] WARNING: CPU: 0 PID: 1 at kernel/sched/core.c:9215 sched_cpu_dying+0x1d0/0x2a0
[   16.681496] Modules linked in:
[   16.684597] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.15.0-43-generic #46~20.04.1-Ubuntu
[   16.693010] pstate: 604000c9 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   16.700095] pc : sched_cpu_dying+0x1d0/0x2a0
[   16.704432] lr : sched_cpu_dying+0x1d0/0x2a0
[   16.708770] sp : ffff80000881bbe0
[   16.712132] x29: ffff80000881bbe0 x28: ffffcca930eada80 x27: 0000000000000000
[   16.719390] x26: ffff7395107ce000 x25: 00000000000000f6 x24: ffff403e40ed6728
[   16.726651] x23: ffffcca930eb2618 x22: 0000000000000000 x21: 00000000000000f6
[   16.733907] x20: ffffcca930719100 x19: ffff403e40ee7100 x18: 0000000000000014
[   16.741165] x17: 3836323030303830 x16: 3030303078304020 x15: 656c62617420676e
[   16.748425] x14: 69646e6570204950 x13: 3030303038363230 x12: 3030383030303030
[   16.755683] x11: 78304020656c6261 x10: 7420676e69646e65 x9 : ffffcca92e7e39a0
[   16.762940] x8 : 6c6c6120676e6973 x7 : 205d393038323635 x6 : c0000000fffeffff
[   16.770198] x5 : 000000000017ffe8 x4 : 0000000000000000 x3 : ffff80000881b8c8
[   16.777457] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000
[   16.784717] Call trace:
[   16.787197]  sched_cpu_dying+0x1d0/0x2a0
[   16.791182]  cpuhp_invoke_callback+0x14c/0x5a8
[   16.795699]  cpuhp_invoke_callback_range+0x5c/0xb8
[   16.800568]  _cpu_up+0x234/0x360
[   16.803844]  cpu_up+0xb8/0x110
[   16.806945]  bringup_nonboot_cpus+0x7c/0xb0
[   16.811195]  smp_init+0x3c/0x98
[   16.814385]  kernel_init_freeable+0x1a4/0x39c
[   16.818813]  kernel_init+0x2c/0x158
[   16.822359]  ret_from_fork+0x10/0x20
[   16.825992] ---[ end trace bb9ca924bc23dd10 ]---
[   16.830685] CPU246 enqueued tasks (0 total):
[   16.835356] ------------[ cut here ]------------
[   16.835431] GICv3: CPU246: found redistributor 100370000 region 1:0x0000500100f00000
[   16.840045] Dying CPU not properly vacated!
[   16.847925] WARNING: CPU: 0 PID: 1 at kernel/sched/core.c:9215 sched_cpu_dying+0x1d0/0x2a

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1990294

Title:
  Ampere AltraMax sometimes hangs after "EFI stub: Exiting boot
  services..."

Status in grub2 package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  When kernel test rebooted onto the 5.15.0-43-generic HWE kernel, no
  output appeared on the console after the EFI stub:

  Checkpoint 92
  Checkpoint 92
  Checkpoint 92
  Checkpoint 92
  Checkpoint 92
  Checkpoint A0
  Checkpoint 92
  Checkpoint 92
  Checkpoint 92
  Checkpoint 92
  Checkpoint 92
  Checkpoint 92
  Checkpoint 92
  Checkpoint AD
  EFI stub: Booting Linux Kernel...
  EFI stub: ERROR: FIRMWARE BUG: kernel image not aligned on 64k boundary
  EFI stub: Using DTB from configuration table
  EFI stub: Exiting boot services...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1990294/+subscriptions




More information about the foundations-bugs mailing list