Hello,
I use imager to burn lineageOS21 to my Raspberry 4 model B (I already make Pi OS running well on it)
but from serial log I know it keep rebooting due to error "partition(s) not found in /sys, waiting for their uevent(s): mmcblk0p1, mmcblk0p2, mmcblk0p3", paste part of serial logs as below:
3.841819] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 3.850204] sda: sda1 sda2 sda3 sda4
[ 3.854404] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 3.864063] Freeing unused kernel memory: 1984K
[ 3.868861] Run /init as init process
[ 3.875498] init: init first stage started!
[ 3.879984] init: Unable to open /lib/modules, skipping module loading.
[ 3.886965] init: Copied ramdisk prop to /second_stage_resources/system/etc/ramdisk/build.prop
[ 3.895907] init: [libfstab] Using Android DT directory /proc/device-tree/firmware/android/
[ 3.907259] init: Failed to read vbmeta partitions.
[ 3.976601] init: bool android::init::BlockDevInitializer::InitDevices(std::set<std::string>): partition(s) not found in /sys, waiting for their uevent(s): mmcblk0p1, mmcblk0p2, mmcblk0p3
I tried somethings but all got same error as above:
1) use balenaetcher as alternative
2) use dd as alternative
3) burn lineageOS22, and AOSP - KonstaKANG (Android 16)
4) format SD card via imager (sandisk 32G)
Does any one meet such issue?
I need to know what is partition table of lineageOS look like? below is SD card info:
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *31.9 GB disk4
1: Windows_FAT_32 bootfs 536.9 MB disk4s1
2: Linux 5.6 GB disk4s2
(free space) 25.8 GB -
My analysis:
android init process says it can not detect uevent for mmcblk0p1/mmcblk0p2/mmcblk0p3 from kernel so there may be problem in kernel.
kernel is not able to detect SD card so it does not notify user space init process of MMC specific uevent.
previous logs shows it seems kernel detected SD card but only in "sda: sda1 sda2 sda3 sda4" and "Attached SCSI removable disk" way, not in MMC(micro SD card) way, I do not know why. This caused init process is not able to create specific device node e.g. /dev/mmcblk0px so boot failure.
So my plan is:
1) to change micro SD card to USB flash drive to burn lineageOS, I expect USB flash is more compatible with lineageOS21's kernel.
I use imager to burn lineageOS21 to my Raspberry 4 model B (I already make Pi OS running well on it)
but from serial log I know it keep rebooting due to error "partition(s) not found in /sys, waiting for their uevent(s): mmcblk0p1, mmcblk0p2, mmcblk0p3", paste part of serial logs as below:
3.841819] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 3.850204] sda: sda1 sda2 sda3 sda4
[ 3.854404] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 3.864063] Freeing unused kernel memory: 1984K
[ 3.868861] Run /init as init process
[ 3.875498] init: init first stage started!
[ 3.879984] init: Unable to open /lib/modules, skipping module loading.
[ 3.886965] init: Copied ramdisk prop to /second_stage_resources/system/etc/ramdisk/build.prop
[ 3.895907] init: [libfstab] Using Android DT directory /proc/device-tree/firmware/android/
[ 3.907259] init: Failed to read vbmeta partitions.
[ 3.976601] init: bool android::init::BlockDevInitializer::InitDevices(std::set<std::string>): partition(s) not found in /sys, waiting for their uevent(s): mmcblk0p1, mmcblk0p2, mmcblk0p3
I tried somethings but all got same error as above:
1) use balenaetcher as alternative
2) use dd as alternative
3) burn lineageOS22, and AOSP - KonstaKANG (Android 16)
4) format SD card via imager (sandisk 32G)
Does any one meet such issue?
I need to know what is partition table of lineageOS look like? below is SD card info:
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *31.9 GB disk4
1: Windows_FAT_32 bootfs 536.9 MB disk4s1
2: Linux 5.6 GB disk4s2
(free space) 25.8 GB -
My analysis:
android init process says it can not detect uevent for mmcblk0p1/mmcblk0p2/mmcblk0p3 from kernel so there may be problem in kernel.
kernel is not able to detect SD card so it does not notify user space init process of MMC specific uevent.
previous logs shows it seems kernel detected SD card but only in "sda: sda1 sda2 sda3 sda4" and "Attached SCSI removable disk" way, not in MMC(micro SD card) way, I do not know why. This caused init process is not able to create specific device node e.g. /dev/mmcblk0px so boot failure.
So my plan is:
1) to change micro SD card to USB flash drive to burn lineageOS, I expect USB flash is more compatible with lineageOS21's kernel.
Statistics: Posted by lewiszi — Sat Jun 28, 2025 8:34 am