All of lore.kernel.org
 help / color / mirror / Atom feed
* Issues with kdump/kexec on an ARM dual-core ARM Cortex-A7.
@ 2021-02-23 21:16 Bruce Mitchell
  2021-02-24 14:51 ` Guilherme G. Piccoli
  2021-02-24 15:01 ` Bruce Mitchell
  0 siblings, 2 replies; 3+ messages in thread
From: Bruce Mitchell @ 2021-02-23 21:16 UTC (permalink / raw)
  To: kexec


I am having troubles getting kdump/kexec functioning on an
ARM dual-core ARM Cortex-A7 (a BMC by ASPEED AST2600) and QEMU.
I do have kexec -l loading the new kernel, but after kexec -e
the new kernel starts booting and the I get a watchdog BUG as shown here:
[240.343350] kexec_core: Starting new kernel
[241.639076] IRQ36: set affinity failed(-22).
[241.657868] Bye!
[ 0.000000] Booting Linux on physical CPU 0xf00
.
.
.
[ 1.640405] random: fast init done
[ 1.683871] random: crng init done
[ 28.104415] watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [swapper/0:1]
[ 28.108383] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.14-47f127c #1

This is the first time I have worked on SMP section of the kernel.
In order to get kexec to work I had to implement the SMP HOTPLUG;
I suspect I do not have it functioning properly. I am not finding
good information on implementing it. Is this something unique to
each SoC based on an ARM dual-core ARM Cortex-A7?

Looking for suggestions on how to successfully proceed.


Thank you.

--
Bruce Mitchell

PS - Sorry this is a separate post from the one
I did to linux-arm-kernel@lists.infradead.org
hadn't seen this email list at that point.


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

* Re: Issues with kdump/kexec on an ARM dual-core ARM Cortex-A7.
  2021-02-23 21:16 Issues with kdump/kexec on an ARM dual-core ARM Cortex-A7 Bruce Mitchell
@ 2021-02-24 14:51 ` Guilherme G. Piccoli
  2021-02-24 15:01 ` Bruce Mitchell
  1 sibling, 0 replies; 3+ messages in thread
From: Guilherme G. Piccoli @ 2021-02-24 14:51 UTC (permalink / raw)
  To: Bruce Mitchell; +Cc: kexec mailing list

On Tue, Feb 23, 2021 at 6:18 PM Bruce Mitchell <Bruce.Mitchell@ibm.com> wrote:
>
>
> I am having troubles getting kdump/kexec functioning on an
> ARM dual-core ARM Cortex-A7 (a BMC by ASPEED AST2600) and QEMU.
> I do have kexec -l loading the new kernel, but after kexec -e
> the new kernel starts booting and the I get a watchdog BUG as shown here:
> [240.343350] kexec_core: Starting new kernel
> [241.639076] IRQ36: set affinity failed(-22).
> [241.657868] Bye!
> [ 0.000000] Booting Linux on physical CPU 0xf00
>

Just our of curiosity, what happens when you try "kexec -p" and induce
a kernel panic, to jump to kdump kernel? Does it work, or it's the
same?

Also, worth to try irqpoll maybe as a parameter of the second kernel,
to see if it can progress.

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

* RE: Issues with kdump/kexec on an ARM dual-core ARM Cortex-A7.
  2021-02-23 21:16 Issues with kdump/kexec on an ARM dual-core ARM Cortex-A7 Bruce Mitchell
  2021-02-24 14:51 ` Guilherme G. Piccoli
@ 2021-02-24 15:01 ` Bruce Mitchell
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Mitchell @ 2021-02-24 15:01 UTC (permalink / raw)
  To: Guilherme G. Piccoli; +Cc: kexec mailing list

>
> On Tue, Feb 23, 2021 at 6:18 PM Bruce Mitchell <Bruce.Mitchell@ibm.com> wrote:
> >
> >
> > I am having troubles getting kdump/kexec functioning on an
> > ARM dual-core ARM Cortex-A7 (a BMC by ASPEED AST2600) and QEMU.
> > I do have kexec -l loading the new kernel, but after kexec -e
> > the new kernel starts booting and the I get a watchdog BUG as shown here:
> > [240.343350] kexec_core: Starting new kernel
> > [241.639076] IRQ36: set affinity failed(-22).
> > [241.657868] Bye!
> > [ 0.000000] Booting Linux on physical CPU 0xf00
> >
>
> Just our of curiosity, what happens when you try "kexec -p" and induce
> a kernel panic, to jump to kdump kernel? Does it work, or it's the
> same?

Same results.

>
> Also, worth to try irqpoll maybe as a parameter of the second kernel,
> to see if it can progress.

Thanks for the suggestion.



_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

end of thread, other threads:[~2021-02-24 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-23 21:16 Issues with kdump/kexec on an ARM dual-core ARM Cortex-A7 Bruce Mitchell
2021-02-24 14:51 ` Guilherme G. Piccoli
2021-02-24 15:01 ` Bruce Mitchell

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.