Hi,
We're in the process of migrating from dunfell to kirkstone and noticed
a regression with the Linux kernel (branch: v5.15/standard/base). The
boot panics with
[ 1.038015] Kernel panic - not syncing: /dev/console is missing!
[ 1.038015] Please ensure your rootfs is properly configured
I have bisected the revisions between the good dunfell one and the bad
kirkstone one and the offending commit is:
0d7260ad7106 check console device file on fs when booting
The weird thing is that vfs_lstat() fails while the subsequent
filp_open() in on the same file succeeds. I'm booting without
initramfs/initrd and with automounted devtmpfs:
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_BLK_DEV_INITRD is not set
Since this commit is not part of upstream Linux, I thought I'd ask for
help here. What's the purpose of this extra check and why is it failing
even though /dev/console exists (filp_open("dev/console") works)?
Best regards,
Sven
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11844):
https://lists.yoctoproject.org/g/linux-yocto/message/11844
Mute This Topic: https://lists.yoctoproject.org/mt/94802745/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-