The error : couldn't mount RDWR because of unsupported optional features (4000) prevents me from emulate android on the Jetson nano.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The error : couldn't mount RDWR because of unsupported optional features (4000) prevents me from emulate android on the Jetson nano.

Mario Marietto
Hello.

I want to virtualize correctly Android 10 on top of my Jetson nano (arm64) using qemu and kvm on ubuntu 18.04. This is the tutorial that I'm following :


this is the error that I see on the log file :

[ 1.074939] EXT4-fs (vda): couldn't mount RDWR because of unsupported optional features (4000)
[ 1.078049] init: [libfs_mgr]__mount(source=/dev/block/vda,target=/system,type=ext4)=-1: Invalid argument
[ 1.081515] init: Failed to mount /system: Invalid argument
[ 1.084120] init: Failed to mount required partitions early ...
[ 1.096129] init: #00 pc 00000000000e90a0 /init
[ 1.097856] init: #01 pc 000000000006c4d8 /init
[ 1.099631] init: #02 pc 000000000006e930 /init

It seems that the solution is here :

https://unix.stackexchange.com/questions/287159/linux-couldnt-mount-rdwr-because-of-unsupported-optional-features-400

he says : 

To create a ext4 filesystem without this feature:

sudo mke2fs /dev/sdb1 -O ^metadata_csum


Or turn it off on an already created filesystem:

sudo tune2fs -O ^metadata_csum /dev/sdb1


good. So,I should modify the right python script which build the system.img file. Anyway I don't know which is the right one. BTW I copied all the python files that have been used to build the android images on my google drive,here :


https://drive.google.com/drive/folders/1bEeV2Bt-ubuazvwnyi8a-81PTZsMOooI?usp=sharing


what I'm asking is if someone can identify the right python file and if he can modify it a little bit,like suggested on the unix stack exchange site. My hope is that this little modification will fix the problem so that I can emulate android with qemu-kvm on my jetson nano.


--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/7c433130-cf63-408a-be63-eafe1efda9f5n%40googlegroups.com.