Bug 14752

Summary: NanoPi R4S does not boot after update: initramfs has no MMC/PMIC drivers (dracut 108 with glibc 2.44)
Product: IPFire Reporter: Michael Tremer <michael.tremer>
Component: ---Assignee: Assigned to nobody - feel free to grab it and work on it <nobody>
Status: CLOSED DUPLICATE QA Contact:
Severity: Crash    
Priority: Will affect an average number of users    
Version: 2   
Hardware: unspecified   
OS: Unspecified   
Attachments: Serial boot log of the NanoPi R4S

Description Michael Tremer 2026-10-30 11:28:08 UTC
NanoPi R4S no longer boots after updating to a Core Update 205 testing build. U-Boot, the kernel (6.18.54-ipfire) and the initramfs load, but the root device never appears and dracut drops to its debug shell.

Symptoms (full serial log attached):
- initramfs is generated by dracut-108 ("dracut: dracut-108")
- the SD card never shows up: fe320000.mmc and the RK808 PMIC regulators stay in deferred probe, no rk808/mmc_block module is ever loaded
- /dev/disk/ only contains by-diskseq, no by-uuid
- dracut loops on "Scanning for all btrfs devices", then "/dev/disk/by-uuid/9b54f8f0-... does not exist" and "Could not boot."

Cause:
The kernel config for these drivers has not changed (MFD_RK8XX_I2C, REGULATOR_RK808, COMMON_CLK_RK808 and MMC_BLOCK have always been modules). The initramfs was regenerated by the Core Update with dracut-ng 108 on glibc 2.44, with which dracut no longer finds most kernel modules, so the ramdisk is missing the drivers that are required to reach the root file system. This is the problem tracked in bug #14666. It was fixed by updating to dracut 112 (ec81ce0904) and shipping it in Core Update 205 (5d587f6095).

Affected: systems that applied a Core Update 205 snapshot from before 2026-10-26 (glibc 2.44 together with dracut-ng 108).

Recovery:
The ramdisk has to be rebuilt from outside the broken system: boot the SD card in another machine or a rescue system, mount root and /boot, chroot into it, update to a current Core Update 205 so that dracut 112 is installed, then run
  dracut --regenerate-all --force
  mkimage -A arm64 -T ramdisk -C lzma -d /boot/initramfs-<kver>.img /boot/uInit-<kver>
Alternatively reflash a fresh image.
Comment 1 Michael Tremer 2026-10-30 11:28:15 UTC
Created attachment 1807 [details]
Serial boot log of the NanoPi R4S

Full serial console log as reported by the user (originally https://nopaste.ipfire.org/raw/pgGGZf6l).
Comment 2 Michael Tremer 2026-10-30 11:28:30 UTC
This is caused by dracut-ng 108 not finding most kernel modules with glibc 2.44, which is tracked in bug #14666.

*** This bug has been marked as a duplicate of bug 14666 ***