Hi all,
I am using Armbian Bionic on ASUS Tinkerboard S board(s) in an application where the power may fail at any point.
I have now, for the second time, seen a running OS starting to fail with the error.
ALERT! /dev/mmcblk0p1 does not exists. Dropping to a shell!
I have restarted the board several times, but the error continues.
If I do a:
(initramfs) blkid
/dev/mmcblk2p1: UUID=....
/dev/mmcblk2: PTUUID=..
It seems that the OS tries to boot from the wrong device.
If I then, booting from another OS using SD card, change the /boot/boot.cmd rootdev:
setenv rootdev "/dev/mmcblk2p1"
And rerun the mkimage
sudo ../usr/bin/mkimage -C none -A arm -T script -d boot.cmd boot.scr
This fixes the problem..
Did anybody else experience this? I have seen it on two distinct boards so far. I can provide Armbian versions if needed.
How does this device enumeration work, and why does it suddenly change? Could this be due to power failure during boot?