


Code: Select all
[Failed] Start of Load/Save RF Kill Switch Status failed.
iTCO_vendor_support: vendor-support=0
iTCO_wdt iTCO_wdt: An Intel PCF TCO device was found (version=6 TCOBASE=0x400)
iTCO_wdt iTCO_wdt: initialized. heartbeat=30 sec
[OK] Setup of the virtual console.
intel_tcc_cooling: programmable tcc offset detected
Code: Select all
systemctl status systemd-rfkill.serviceCode: Select all
equery b rfkill
* Searching for rfkill ...
sys-apps/util-linux-2.40.2 (/usr/sbin/rfkill)
sys-apps/util-linux-2.40.2 (/usr/share/bash-completion/completions/rfkill)
sys-kernel/gentoo-sources-6.6.62 (/usr/src/linux-6.6.62-gentoo/net/rfkill)Code: Select all
zcat /proc/config.gz | grep RFKILL
Code: Select all
systemctl status systemd-rfkill.serviceCode: Select all
zcat /proc/config.gz | grep RFKILL
zcat /proc/config.gz | grep RFKILL
CONFIG_RFKILL=m
CONFIG_RFKILL_LEDS=y
CONFIG_RFKILL_INPUT=y
CONFIG_RFKILL_GPIO=m
CONFIG_ATH9K_RFKILL=y
CONFIG_AMILO_RFKILL=m
CONFIG_TOSHIBA_BT_RFKILL=mCode: Select all
(d=rfkill) systemd-rfkill.service: Failed to set up special directory in /var/lib: Read-only file system
systemd-rfkill.service: Main process exited, code=exited, status=230?STATE_DIRECTORY
[Ok] Virtual Console Setup.Code: Select all
LABEL=E68B-375F /efi vfat defaults 1 2
UUID=0ce64439-9491-4c80-8228-3a962ace12cf / ext4 defaults 0 1
Code: Select all
systemd.restore_state=0Code: Select all
(d=rfkill) systemd-rfkill.service: Failed to set up special directory in /var/lib: Read-only file systemCode: Select all
cat /proc/cmdline
Code: Select all
linux /boot/kernel-6.6.58-gentoo-dist root=UUID=0ce64439-9491-4c80-8228-3a962ace12cf ro init=/usr/lib/systemd/systemd console=tty1 loglevel=7 systemd.restore_state=0no:PS : now you have this
Code: Select all
iwlifi 000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-75.ucode failed with -2
NO SUITABLE FIRMWARE FOUND!
minimum version required: iwlwifi-so-a0-hr-b0-59
maximum version supported iwlwifi-so-a0-hr-b0-83
check git://git.kernel.org/...
ACPI Warning: \_SB.PC00.XHCI.RHUB.HS10._DSM: Argument #4 type mismatch - Found [integer], ACPI reqirees [Package] (20230628/nsarguments-61)
Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-0040-4150.sfi (-2)
Bluethooth: hci0: Failed to read MSFT support features (-56)
[ok] Load/Save RF Kill Switch Status
[ok] Virtual Console Setup
You have misunderstanding/misrepresenting the situation. init=/bin/bash on kernel command line can NOT get network going. You must have done something after you got bash prompt.testware73 wrote:cmdline:Code: Select all
linux /boot/kernel-6.6.58-gentoo-dist root=UUID=0ce64439-9491-4c80-8228-3a962ace12cf ro init=/usr/lib/systemd/systemd console=tty1 loglevel=7 systemd.restore_state=0no:PS : now you have thisbut network work when im in inti=/bin/bashCode: Select all
iwlifi 000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-75.ucode failed with -2 NO SUITABLE FIRMWARE FOUND! minimum version required: iwlwifi-so-a0-hr-b0-59 maximum version supported iwlwifi-so-a0-hr-b0-83 check git://git.kernel.org/... ACPI Warning: \_SB.PC00.XHCI.RHUB.HS10._DSM: Argument #4 type mismatch - Found [integer], ACPI reqirees [Package] (20230628/nsarguments-61) Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-0040-4150.sfi (-2) Bluethooth: hci0: Failed to read MSFT support features (-56) [ok] Load/Save RF Kill Switch Status [ok] Virtual Console Setup

The two link have different kernel command line parameters. Which should be consider correct?testware73 wrote:I'm using systemd as "init" system
I finally have my journal with with experimental kernel parameters:
https://0x0.st/8sW3.txt
edit
my journal:
https://0x0.st/8s42.txt

this one:The two link have different kernel command line parameters. Which should be consider correct?
this is only with experimental command line parameters.
this:What is the state of boot now? I don't see significant error that is causing problem
I am not an expert but:one key part is about the missing firmware for i915 so you need to find those firmware files.
I don't know what I misstestware73 wrote:Me too, what do you miss, tell me.
This really tell me nothing. Did you got login prompt? Are you able to use keyboard? And the journal log may not be enough because unlike the other dmesg log, it does not show if keyboard/mouse registered or not.this:What is the state of boot now? I don't see significant error that is causing problem
https://0x0.st/8s42.txt
If "I have to implement this driver in the configuration of my kernel" mean you build the module statically (mean =y) than those firmware also need to build statically in to kernel.I am not an expert but:
I have to implement this driver in the configuration of my kernel.
But I have the gentoo-bin precompiled kernel.

The only way to get a console is through init=/bin/bash.This really tell me nothing. Did you got login prompt? Are you able to use keyboard? And the journal log may not be enough because unlike the other dmesg log, it does not show if keyboard/mouse registered or not.
Code: Select all
Dec 29 19:34:39 kernel: Console: switching to colour dummy device 80x25
[...]
Dec 29 19:34:39 kernel: Loading firmware: i915/adlp_dmc.bin
Dec 29 19:34:39 kernel: i915 0000:00:02.0: Direct firmware load for i915/adlp_dmc.bin failed with error -2
Code: Select all
#!/bin/busybox sh
# Mount the /proc and /sys filesystems.
mount -t proc none /proc
mount -t sysfs none /sys
rescue_shell() {
echo "Something went wrong. Dropping to a shell."
exec sh
}
# Do your stuff here.
# Solution 1: Explicitly open a terminal device (/dev/tty)
echo "Checking and ensuring /dev/tty is accessible..."
# Check if /dev/tty exists, if not create it
if [ ! -c /dev/tty ]; then
echo "/dev/tty not found! Creating /dev/tty..."
mknod /dev/tty c 5 0
fi
# Check if /dev/tty is now accessible
if [ -c /dev/tty ]; then
echo "/dev/tty is available."
else
echo "Failed to create /dev/tty. Exiting rescue mode."
exit 1
fi
# Debugging the tty issue
echo "Debugging tty settings..."
# Show the current terminal device (if any)
echo "Current terminal (tty):"
tty
# Check if stty settings are correct
echo "Current terminal settings:"
stty -a
# Ensure terminal settings are sane
stty sane
# Solution 2: Ensure the root filesystem is correctly mounted
echo "Mounting the root filesystem..."
# Mount the root filesystem (adjust device path as needed)
if ! mount -o ro /dev/nvme0n1p5 /mnt/root; then
echo "Failed to mount root filesystem. Exiting."
exit 1
else
echo "Root filesystem mounted successfully."
fi
# After mounting, check the filesystem status
echo "Root filesystem status:"
df -h /mnt/root
# Debug: List mounted filesystems
echo "Mounted filesystems:"
mount
# Solution 3: Enter rescue shell
echo "Entering rescue shell..."
# Ensure the terminal is interactive
if [ ! -t 1 ]; then
echo "No controlling terminal found. Exiting."
exit 1
fi
# Explicitly open the terminal (tty) and exec a new shell
sh
echo "NOT Failed to mount root filesystem."
umount /proc
umount /sys
umount /dev
exec switch_root /newroot /sbin/init
# Mount the root filesystem.
mount -o ro /dev/nvme0n1p5 /mnt/root
# Clean up.
umount /proc
umount /sys
# Boot the real thing.
exec switch_root /mnt/root /sbin/init
Code: Select all
/dev/tty is available
current terminal (tty):
/dev/console
Mounting root filesystem...
Root filesystem mounted successfully.
Root filesystem status
Filesystem
/dev/nvme0n1p5
Mounted filesystems:
none on /proc type proc (0)
none on /sys type sysfs (0)
/dev/nvme0n1p5 on /mnt/root type ext4 (ro)
sh: can't access tty: job control turned off
~ #