I was creating an updated SD card for the BeagleBone Black, and it kept booting in emergency mode.
The issue is that I use arch, so I have the latest version of ext4. It seems there’s a new filesystem feature, which the beaglebone’s version can’t handle:
dev/mmcblk0p1 has unsupported feature(s): FEATURE_C12
According to this github issue response, you can disable the feature when running mkfs.ext4.
It seems like a good solution would be to add it to the fs options in the getting started guide:
yay, thanks @fpf3 ! yeah this always fun to deal with, i know mainline u-boot supports metadata_csum and 64bit now, but now we have to worry about orphan_file too! I’ll start the long process of adding flags…
i think the biggest worry… what version of mke2fs first supports ^orphan_file as in the past mke2fs didn’t like options passed to it, that it did not know about…
E2fsprogs 1.47.0 (February 5, 2023)
UI and Features
Add support for the orphan_file feature, which speeds up workloads that are deleting or truncating a large number files in parallel. This compat feature was first supported in the v5.15 Linux kernel.
The mke2fs program (via the mke2fs.conf file) now enables the metadata_csum_seed and orphan_file features by default. The metadata_csum_seed feature is an incompat feature which is first supported in the Linux kernel starting in the 4.4 kernel and e2fsprogs 1.43.