Den 01.10.2023 06:56, skrev Valmor F. de Almeida:
On 9/30/23 17:25, Håkon Alstadheim wrote:

Den 30.09.2023 22:57, skrev Valmor F. de Almeida:

Hello,

For a while now (3 weeks or so) I have been upgrading the linux kernel on a Dell XPS laptop starting from 6.1.41-gentoo (which is my current working kernel) to 6.1.53-gentoo-r1. No kernel I have built since is able to boot. I have been following the same method for many years: make oldconfig, etc...

The booting error starts at:

[snip]

* INIT: Entering runlevel: 3
[snip]
* Starting cronie ...
* Starting DHCP Client Daemon ...
* Starting laptop_mode ...
* Mounting network filesystems ...
/etc/init.d/netmount: line 45 /lib/rc/bin/ewend: Input/output error
/lib/rc/sh/rc-cgroup.sh: line 184: rmdir: command not found
INIT:
INIT: cannot execute "/sbin/agetty"
INIT: cannot execute "/sbin/agetty"
INIT: cannot execute "/sbin/agetty"


Can you show /etc/fstab and the console-log for the entire boot? Seems /sbin is not readable. You sure you have the kernel modules loaded? Are you using an initramfs? If so, does that build without errors ?

Here is fstab:

/dev/nvme0n1p2          /boot           ext2 defaults        0 2
/dev/nvme0n1p3          none            swap sw              0 0
/dev/nvme0n1p4          /               ext4 noatime,discard        0 1
/dev/cdrom              /mnt/cdrom      auto noauto,user     0 0

I have not changed anything from 6.1.41-gentoo (which compiles and boots) except updating the config file for compiling the new kernel. Then I do: make && modules_install. Which runs without errors. After that: grub-mkconfig -o /boot/grub/grub.cfg.
I am not using initramfs.

I can't see anything fishy in fstab, no network-mounts that might have failed. From the original message it looks like your network interface is not being set up correctly, but you should still be able to boot. Also "rmdir: command not found" probably means your PATH does not get set, or else you don't have execute permissions on rmdir. Odd  that this should be dependent on kernel version. You should go over and verify that the transfer of your linux .config went OK. Then verify that the new config does in fact enable modules for your network card, and enable the necessary settings for your init system (looks like you are using openrc?)

Reply via email to