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

2,127 views
Skip to first unread message

Mario Marietto

unread,
Apr 7, 2021, 2:20:04 PM4/7/21
to android-platform
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 :


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 :




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.


Reply all
Reply to author
Forward
0 new messages