main/linux-5.10: failure to find root fs on lvm volume
When booting a legacy bios server, and the rootfs is on lvm, nlplug-findfs fails to find the block devices that contain the lvm volumes, preventing these volumes from being activated and resulting in mkinitfs-init not being able to mount / switch_root to the rootfs.
This works on Alpine 3.12 with linux 5.4.84. Just upgrading the kernel to 5.10.7 results in these issues.
When running nlplug-findfs with debugging on, on a working system, this is part of the output:
nlplug-findfs: uevent: action='add' subsystem='block' devname='sdc2' devpath='/devices/pci0000:00/0000:00:03.2/0000:01:00.0/host12/port-12:0/end_device-12:0/target12:0:0/12:0:0:0/block/sdc/sdc2'
With linux-5.10.7, this line (and other related lines) are missing.
If I manually run nlplug-findfs afterwards in the emergency shell, the lvm volumes are activated, so this is some kind of timing issue.