kexec problem on ls1046ardb

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

kexec problem on ls1046ardb

1,051 Views
zhengruoqin
Contributor I

Hi All:

I have tryed to use kexec to boot the second kernel on ls1046a, but it failed.

Kernel Version: 4.16.67 from lsdk 1809

kexec-tools version: 2.0.16

Usage:

# kexec -l zImage
# kexec -e

Description:

I have tryed all the endian of system, include 32/64 big endian(32/64be) and 32/64 little endian(32/64le).

The result is that kexec can boot the second kernel, but the second kernel will panic during it's booting.

I think the panic is causd by the dpaa:ethernet driver, log is like:

[    2.778113] fsl_dpa soc:fsl,dpaa:ethernet@2: qman_init_fq(259) = -5

More detail is in the attachments. 

Could anyone help? 

Thanks.

0 Kudos
2 Replies

801 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello 若钦 郑,

After compiling off DPAA Ethernet in second image, the kexec/kdump should work fine.

This should be mentioned in the Release Notes.

DPAA should not be compiled in second kernel because of known hardware issue of DPAA1, that it does not support warm reset.


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

801 Views
zhengruoqin
Contributor I

By the way, I also find a strange problem, in arm32be, vmlinux can not be loaded properly, log is as follows:

# kexec -l vmlinux
#
# kexec -e
[ 118.439302] imx2-wdt 2ad0000.watchdog: Device shutdown: Expect reboot!
[ 118.445925] kexec_core: Starting new kernel
[ 118.450128] Disabling non-boot CPUs ...
[ 118.587854] IRQ68 no longer affine to CPU1
[ 118.591953] IRQ72 no longer affine to CPU1
[ 118.596049] IRQ76 no longer affine to CPU1
[ 118.600272] CPU1 killed.
[ 118.707839] IRQ69 no longer affine to CPU2
[ 118.711936] IRQ73 no longer affine to CPU2
[ 118.716032] IRQ77 no longer affine to CPU2
[ 118.720221] CPU2 killed.
[ 118.807822] IRQ70 no longer affine to CPU3
[ 118.811920] IRQ74 no longer affine to CPU3
[ 118.816015] IRQ78 no longer affine to CPU3
[ 118.820201] CPU3 killed.
[ 118.823263] Bye!

NO response here, the second kernel can't be booted.

0 Kudos