Interesting, I generated a build based on Linux 6.1.50, and indeed it works fine here as well: meson64 legacy: downgrade to Linux 6.1.50 Ā· MichaIng/build@8e1b6f4 Ā· GitHub
Linux 6.1.92 did not work. No other changes. So it is related to an upstream change. Iāll test some versions in between to narrow it down.
EDIT: I spoke too soon. After another reboot, the same error shows up again, and as well the next 4 power cycles. Seems to be some race condition which succeeds in rare cases but fails most of the time. But pretty weird that even with the Linux version which matches the functional one from your backup, it does not work now. I did also remove all Armbian patches, to rule that out. Doing another build with Armbian patches back in. But I have the feeling that we cannot find a working state anymore ā¦
For completeness, here the matching Armbian forum topic: https://forum.armbian.com/topic/32593-startups-fail-after-root-file-system-moved-to-ssd/
Blacklisting UAS does not help here either. Makes sense since it is a USB stick which does not support UAS anyway.
EDIT2: Stranger, now it works, respectively it worked for all 4 reboots I did: I did another build with same kernel version but Armbian patches re-applied. Additionally, not sure whether it makes a difference, I flashed a U-Boot build with one Armbian patch removed, which switched the boot order to try booting from USB first. This causes issues when booting from SD card or eMMC in some cases, where USB devices take too long to initialize, resulting in a reset when trying to read from them: Odroid N2 Plus: Boot loop when attached USB storage NOT ready Ā· Issue #7168 Ā· MichaIng/DietPi Ā· GitHub
This could indirectly have an effect here, since the USB device is loaded a little later in bootloader stage. Maybe loading it too early works for our case with the bootable USB sticks, since obviously kernel and init system load well, but maybe leaves it sometimes in a different state or what, so that we run into this disconnect later.
But what does not fit into the picture, is that I ran into the same error when booting with petitboot, which tries eMMC/SD card first, and generally takes MUCH longer, since it is a two stage boot process, first loading petitboot, which then loads an embedded U-Boot in a 2nd stage. And of course it does work for you with your backup Linux 6.1.50, without the (un)patched bootloader.
Iām doing another kernel build with latest Linux 6.1.y again. If this works as well, try it with Linux 6.6. Letās see.