System with the kernel version 2.6.30.9 unable to boot when migrating to baselayout-2. Same thing happens with new installation. More detailed: bash crashes with segfault in early-init.sh, and then in all other subsequent scripts. As I could discover, the crash happens when bash redirects output to /dev/console and works with setfont, loadkeys etc. With kernel 2.6.38 system boots fine. I think, openrc and baselayout-2 can't be used with older kernels. But I don't know exactly which lowest kernel version is capable for using with openrc. The migration guide and related documentation does not have any mentions about limitations of kernel version for using with openrc and baselayout-2. In my humble opinion, these limitations should be appear in the migration guide, and kernel version check must be included in ebuild and early boot scripts. Reproducible: Always Steps to Reproduce: 1. Migrate to baselayout-2 with kernel 2.6.30.9 or install new system from fresh stage-3 2. Reboot or make first boot Actual Results: System unable to boot with older kernel versions Expected Results: Limitations of kernel version must be appear in documentation.
FYI - i'm using baselayout-2 with gentoo-sources-2.6.30-r5 on an AMD64 system and have no issues. (the system does boot using an initramfs, however)
openrc/baselayout doesn't really care about your kernel. I assume you're using a recent udev version together with the old kernel and *that* is causing the issues. Please attache your emerge --info and also your udev version.
(assigning correctly)
Created attachment 291653 [details] emerge --info
(In reply to comment #1) > FYI - i'm using baselayout-2 with gentoo-sources-2.6.30-r5 on an AMD64 system > and have no issues. > > (the system does boot using an initramfs, however) I don't use initramfs, just boot the kernel with lilo from RAID1. (In reply to comment #2) > openrc/baselayout doesn't really care about your kernel. I assume you're using > a recent udev version together with the old kernel and *that* is causing the > issues. > > Please attache your emerge --info and also your udev version. I can't boot with kernel 2.6.30.9 however. And have no booting promlems with kernel 2.6.38 I spent on this issue almost overnight, and can't find a way for successful system boot with kernel 2.6.30.9, but with kernel 2.6.38 system boots fine without problem at all. emerge --info attached, see above. about udev: # emerge -s udev *** cut *** * sys-fs/udev Latest version available: 164-r2 Latest version installed: 164-r2 Size of files: 687 kB *** cut ***
I assume you mean init-early.sh, not early-init.sh. If you boot to init=/bin/bash and try to run the encoding+consolefont stuff manually, what happens? /dev/console at that point should exist, be char device 5:1. For the encoding, try: printf "\033(K" >/dev/console and the rest of setfont etc. I think your kernel is broken.
Closing due to no response from reporter. If this is still an issue, please feel free to reopen. Thanks, William