Fixed
Created: Dec 29, 2022
Updated: Mar 2, 2023
Resolved Date: Feb 11, 2023
Found In Version: 10.23.1.0
Fix Version: 10.23.9.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Kernel
The kernel would crash when using nfs rootfs on qemu ppc64 platform.
kernel linux-yocto-5.15.78+gitAUTOINC+f475b1a9de_8cd3f1c8dc,
[ 5.650223] VFS: Mounted root (nfs filesystem) on device 0:16.
[ 5.654033] devtmpfs: mounted
[ 5.716908] Freeing unused kernel image (initmem) memory: 4864K
[ 5.717198] Kernel memory protection not selected by kernel config.
[ 5.717621] Run /sbin/init as init process
[ 5.769696] input: QEMU QEMU USB Mouse as /devices/pci0000:00/0000:00:01.0/usb1/1-2/1-2:1.0/0003:0627:0001.0002/input/input1
[ 5.771890] hid-generic 0003:0627:0001.0002: input: USB HID v0.01 Mouse [QEMU QEMU USB Mouse] on usb-0000:00:01.0-2/input0
[ 5.912795] usb 1-3: new high-speed USB device number 4 using xhci_hcd
[ 6.130199] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:01.0/usb1/1-3/1-3:1.0/0003:0627:0001.0003/input/input2
[ 6.163604] hid-generic 0003:0627:0001.0003: input: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:01.0-3/input0
/sbin/init: /lib64/libm.so.6: version `XZ_5.0' not found (required by /usr/lib64/libkmod.so.2)
[ 3.684984] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[ 3.685219] CPU: 0 PID: 1 Comm: init Not tainted 5.15.78-yocto-standard #1
[ 3.685574] Call Trace:
[ 3.685669] [c000000007443ba0] [c0000000009538d0] dump_stack_lvl+0x74/0xa8 (unreliable)
[ 3.686466] [c000000007443be0] [c000000000103524] panic+0x170/0x3cc
[ 3.686580] [c000000007443c80] [c00000000010cf64] do_exit+0xb44/0xb50
[ 3.686639] [c000000007443d50] [c00000000010d040] do_group_exit+0x60/0xd0
[ 3.686691] [c000000007443d90] [c00000000010d0d4] sys_exit_group+0x24/0x30
[ 3.686760] [c000000007443db0] [c00000000002cfd4] system_call_exception+0x194/0x2f0
[ 3.686819] [c000000007443e10] [c00000000000c2cc] system_call_common+0xec/0x250
[ 3.686882] --- interrupt: c00 at 0x7fff9ed9e840
[ 3.687224] NIP: 00007fff9ed9e840 LR: 00007fff9ed7da20 CTR: 0000000000000000
[ 3.687280] REGS: c000000007443e80 TRAP: 0c00 Not tainted (5.15.78-yocto-standard)
[ 3.687363] MSR: 800000000280f033 <SF,VEC,VSX,EE,PR,FP,ME,IR,DR,RI,LE> CR: 24022442 XER: 00000000
[ 3.687582] IRQMASK: 0
[ 3.687582] GPR00: 00000000000000ea 00007fffcdf5f6a0 00007fff9edc7f00 000000000000007f
[ 3.687582] GPR04: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 3.687582] GPR08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 3.687582] GPR12: 0000000000000000 00007fff9edd0c60 00007fff9e700000 0000000000000000
[ 3.687582] GPR16: 00007fff9e734690 00007fff9edc7cc8 0000000000000000 0000000000000001
[ 3.687582] GPR20: 00000000ffffffff 0000000000000000 00007fff9edc0000 00007fff9edc2b20
[ 3.687582] GPR24: 0000000000000001 00007fff9edc2780 0000000000000009 0000000000000000
[ 3.687582] GPR28: 0000000000000000 00007fff9edc12c8 fffffffffffff000 000000000000007f
[ 3.688107] NIP [00007fff9ed9e840] 0x7fff9ed9e840
[ 3.688154] LR [00007fff9ed7da20] 0x7fff9ed7da20
[ 3.688206] --- interrupt: c00
runqemu - INFO - Cleaning up
runqemu - INFO - Host uptime: 14186250.70
$ setup.sh --machines=qemuppc64 --dl-layers=1 --distros=wrlinux --accept-eula=yes && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build
$ bitbake wrlinux-image-std
$ runqemu slirp nographic qemuppc64 nfs