anbox / anbox-modules

Anbox kernel modules
329 stars 228 forks source link

debian 10 linux 4.4.154 #34

Closed yuxue521 closed 5 years ago

yuxue521 commented 5 years ago

I have the linux sdk source. Do I still need to use this? I can modify config to generate /dev/binder /dev/ashmem root@rk3288:~$ ls -alh /dev/binder /dev/ashmem crw------- 1 root root 10, 62 Oct 17 02:26 /dev/ashmem crw------- 1 root root 10, 61 Oct 17 02:26 /dev/binder root@rk3288:~$

But it ends immediately after running

[ 66.068586] IPv6: ADDRCONF(NETDEV_UP): veth84N6CR: link is not ready [ 66.079042] IPVS: Creating netns size=1104 id=4 [ 66.144121] eth0: renamed from veth0UNFAJ [ 66.201683] IPv6: ADDRCONF(NETDEV_CHANGE): veth84N6CR: link becomes ready [ 66.208689] anbox0: port 1(veth84N6CR) entered listening state [ 66.214597] anbox0: port 1(veth84N6CR) entered listening state [ 66.826058] init: init first stage started! [ 66.831333] init: init second stage started! [ 66.848425] init: Running restorecon... [ 66.853164] init: waitpid failed: No child processes [ 66.858790] init: (Loading properties from /default.prop took 0.00s.) [ 66.868588] init: (Parsing /init.environ.rc took 0.00s.) [ 66.875405] init: (Parsing /init.usb.rc took 0.00s.) [ 66.881496] init: (Parsing /init.goldfish.rc took 0.00s.) [ 66.887774] init: (Parsing /init.zygote32.rc took 0.00s.) [ 66.893731] init: (Parsing /init.rc took 0.03s.) [ 66.899241] init: write_file: Unable to open '/proc/sys/kernel/sysrq': Read-only file system [ 66.908621] init: Starting service 'ueventd'... [ 66.913677] init: Waiting for /dev/.coldboot_done... [ 66.914900] ueventd: ueventd started! [ 66.926036] ueventd: Coldboot took 0.00s. [ 66.932831] init: Waiting for /dev/.coldboot_done took 0.02s. [ 66.938726] init: /dev/hw_random not found [ 66.945597] init: write_file: Unable to open '/proc/sys/kernel/panic_on_oops': Read-only file system [ 66.955376] init: write_file: Unable to open '/proc/sys/kernel/hung_task_timeout_secs': Read-only file system [ 66.965902] init: write_file: Unable to open '/proc/sys/kernel/sched_tunable_scaling': Read-only file system [ 66.976194] init: write_file: Unable to open '/proc/sys/kernel/sched_latency_ns': Read-only file system [ 66.985849] init: write_file: Unable to open '/proc/sys/kernel/sched_wakeup_granularity_ns': Read-only file system [ 66.996365] init: write_file: Unable to open '/proc/sys/kernel/sched_child_runs_first': Read-only file system [ 67.006412] init: write_file: Unable to open '/proc/sys/kernel/randomize_va_space': Read-only file system [ 67.016099] init: write_file: Unable to open '/proc/sys/kernel/kptr_restrict': Read-only file system [ 67.025368] init: write_file: Unable to open '/proc/sys/vm/mmap_min_addr': Read-only file system [ 67.034367] init: write_file: Unable to open '/proc/sys/kernel/sched_rt_runtime_us': Read-only file system [ 67.044158] init: write_file: Unable to open '/proc/sys/kernel/sched_rt_period_us': Read-only file system [ 67.054666] cgroup: new mount options do not match the existing superblock, will be ignored [ 67.063175] init: write_file: Unable to open '/dev/cpuset/foreground/cpus': Permission denied [ 67.071767] init: write_file: Unable to open '/dev/cpuset/foreground/mems': Permission denied [ 67.080453] init: write_file: Unable to open '/dev/cpuset/foreground/boost/cpus': Permission denied [ 67.089569] init: write_file: Unable to open '/dev/cpuset/foreground/boost/mems': Permission denied [ 67.098788] init: write_file: Unable to open '/dev/cpuset/background/cpus': Permission denied [ 67.107416] init: write_file: Unable to open '/dev/cpuset/background/mems': Permission denied [ 67.116157] init: write_file: Unable to open '/dev/cpuset/system-background/cpus': Permission denied [ 67.125405] init: write_file: Unable to open '/dev/cpuset/system-background/mems': Permission denied [ 67.134760] init: write_file: Unable to open '/dev/cpuset/top-app/cpus': Permission denied [ 67.143089] init: write_file: Unable to open '/dev/cpuset/top-app/mems': Permission denied [ 67.152199] init: write_file: Unable to open '/proc/sys/abi/swp': No such file or directory [ 67.161318] fs_mgr: No entries found in fstab [ 67.166006] init: fs_mgr_mount_all returned an error [ 67.181599] init: (Parsing /system/etc/init/anboxd.rc took 0.01s.) [ 67.188336] init: (Parsing /system/etc/init/atrace.rc took 0.00s.) [ 67.194776] init: (Parsing /system/etc/init/audioserver.rc took 0.00s.) [ 67.201510] init: (Parsing /system/etc/init/bootanim.rc took 0.00s.) [ 67.208228] init: (Parsing /system/etc/init/bootstat.rc took 0.00s.) [ 67.214869] init: (Parsing /system/etc/init/cameraserver.rc took 0.00s.) [ 67.221718] init: (Parsing /system/etc/init/debuggerd.rc took 0.00s.) [ 67.228391] init: (Parsing /system/etc/init/drmserver.rc took 0.00s.) [ 67.235130] init: (Parsing /system/etc/init/dumpstate.rc took 0.00s.) [ 67.241745] init: (Parsing /system/etc/init/gatekeeperd.rc took 0.00s.) [ 67.248588] init: (Parsing /system/etc/init/init-debug.rc took 0.00s.) [ 67.255319] init: (Parsing /system/etc/init/installd.rc took 0.00s.) [ 67.261843] init: (Parsing /system/etc/init/keystore.rc took 0.00s.) [ 67.268420] init: (Parsing /system/etc/init/lmkd.rc took 0.00s.) [ 67.274741] init: (Parsing /system/etc/init/logcatd.rc took 0.00s.) [ 67.281177] init: (Parsing /system/etc/init/logd.rc took 0.00s.) [ 67.287410] init: (Parsing /system/etc/init/mdnsd.rc took 0.00s.) [ 67.293663] init: (Parsing /system/etc/init/mediacodec.rc took 0.00s.) [ 67.300378] init: (Parsing /system/etc/init/mediadrmserver.rc took 0.00s.) [ 67.307490] init: (Parsing /system/etc/init/mediaextractor.rc took 0.00s.) [ 67.314594] init: (Parsing /system/etc/init/mediaserver.rc took 0.00s.) [ 67.321372] init: (Parsing /system/etc/init/mtpd.rc took 0.00s.) [ 67.327640] init: (Parsing /system/etc/init/netd.rc took 0.00s.) [ 67.333822] init: (Parsing /system/etc/init/perfprofd.rc took 0.00s.) [ 67.340503] init: (Parsing /system/etc/init/racoon.rc took 0.00s.) [ 67.350796] init: (Parsing /system/etc/init/servicemanager.rc took 0.00s.) [ 67.358299] init: (Parsing /system/etc/init/surfaceflinger.rc took 0.00s.) [ 67.365419] init: (Parsing /system/etc/init/uncrypt.rc took 0.00s.) [ 67.372172] init: (Parsing /system/etc/init/vdc.rc took 0.00s.) [ 67.378387] init: (Parsing /system/etc/init/vold.rc took 0.00s.) [ 67.384788] init: fs_mgr_mount_all returned unexpected error 255 [ 67.393795] init: Starting service 'logd'... [ 67.401988] init: property_set("ro.hardware", "goldfish") failed [ 67.409235] init: (Loading properties from /system/build.prop took 0.01s.) [ 67.416666] init: (Loading properties from /vendor/build.prop took 0.00s.) [ 67.416703] init: (Loading properties from /factory/factory.prop took 0.00s.) [ 67.416793] fs_mgr: No entries found in fstab [ 67.416812] init: unable to read fstab /fstab.goldfish: No such file or directory [ 67.417043] init: Starting service 'debuggerd'... [ 67.417554] init: do_start: Service debuggerd64 not found [ 67.417804] init: Starting service 'vold'... [ 67.446314] init: Not bootcharting. [ 67.742688] fs_mgr: No entries found in fstab [ 67.758625] init: Starting service 'exec 1 (/system/bin/tzdatacheck)'... [ 67.784337] init: Service 'exec 1 (/system/bin/tzdatacheck)' (pid 19) exited with status 0 [ 67.793056] init: (Loading properties from /data/local.prop took 0.00s.) [ 67.800206] init: Starting service 'logd-reinit'... [ 67.805921] init: write_file: Unable to open '/proc/sys/kernel/hostname': Read-only file system [ 67.814723] init: write_file: Unable to open '/proc/sys/kernel/domainname': Read-only file system [ 67.823713] init: Service 'logd-reinit' (pid 20) exited with status 0 [ 67.830254] init: write_file: Unable to open '/proc/sys/vm/overcommit_memory': Read-only file system [ 67.839447] init: write_file: Unable to open '/proc/sys/vm/min_free_order_shift': No such file or directory [ 67.849288] init: write_file: Unable to open '/proc/sys/vm/dirty_expire_centisecs': Read-only file system [ 67.858898] init: write_file: Unable to open '/proc/sys/vm/dirty_background_ratio': Read-only file system [ 67.870033] init: Starting service 'healthd'... [ 67.875152] init: Starting service 'qemu-props'... [ 67.891753] init: Starting service 'anboxd'... [ 67.896701] init: Starting service 'anbox-log-dumper'... [ 67.902519] init: Starting service 'lmkd'... [ 67.907388] init: Starting service 'servicemanager'... [ 67.913074] init: Starting service 'surfaceflinger'... [ 67.918842] init: cannot find '/system/bin/install-recovery.sh' (No such file or directory), disabling 'flash_recovery' [ 67.930087] init: Starting service 'zygote'... [ 67.935014] init: Starting service 'audioserver'... [ 67.951024] init: Starting service 'cameraserver'... [ 67.951738] binder: 1218:1218 transaction failed 29189/-22, size 0-0 line 2961 [ 67.963678] init: couldn't write 30 to /dev/cpuset/camera-daemon/tasks: No such file or directory [ 67.963722] init: Starting service 'drm'... [ 67.964199] init: Starting service 'installd'... [ 67.964711] init: Starting service 'keystore'... [ 67.965130] init: Starting service 'mediacodec'... [ 67.965540] init: Starting service 'mediadrm'... [ 67.965948] init: Starting service 'mediaextractor'... [ 67.966354] init: Starting service 'media'... [ 67.966804] init: Starting service 'netd'... [ 67.967312] init: Starting service 'fingerprintd'... [ 67.967696] init: Starting service 'gatekeeperd'... [ 67.968744] init: Starting service 'perfprofd'... [ 67.969348] init: property_set("ro.build.product", "generic") failed [ 67.969365] init: property_set("ro.product.device", "generic") failed [ 67.969610] init: do_stop: Service dund not found [ 67.969622] init: do_stop: Service akmd not found [ 67.970955] init: Starting service 'qemud'... [ 67.971326] init: Starting service 'goldfish-logcat'... [ 67.972957] init: Starting service 'goldfish-setup'... [ 67.973577] init: write_file: Unable to open '/proc/sys/kernel/perf_event_paranoid': Read-only file system [ 67.973844] init: Starting service 'console'... [ 67.978846] init: Starting service 'adbd'... [ 67.979279] init: write_file: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory [ 67.979307] init: write_file: Unable to open '/sys/class/android_usb/android0/idVendor': No such file or directory [ 67.979329] init: write_file: Unable to open '/sys/class/android_usb/android0/idProduct': No such file or directory [ 67.979357] init: write_file: Unable to open '/sys/class/android_usb/android0/functions': No such file or directory [ 67.979378] init: write_file: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory [ 67.983731] init: write_file: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory [ 67.983762] init: write_file: Unable to open '/sys/class/android_usb/android0/idVendor': No such file or directory [ 67.983784] init: write_file: Unable to open '/sys/class/android_usb/android0/idProduct': No such file or directory [ 67.983811] init: write_file: Unable to open '/sys/class/android_usb/android0/functions': No such file or directory [ 67.983834] init: write_file: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory [ 67.985172] init: write_file: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory [ 67.985200] init: write_file: Unable to open '/sys/class/android_usb/android0/idVendor': No such file or directory [ 67.985223] init: write_file: Unable to open '/sys/class/android_usb/android0/idProduct': No such file or directory [ 67.985250] init: write_file: Unable to open '/sys/class/android_usb/android0/functions': No such file or directory [ 67.985280] init: write_file: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory [ 67.986485] init: Service 'qemu-props' (pid 22) exited with status 0 [ 67.990647] binder: 1220:1220 transaction failed 29189/-22, size 0-0 line 2961 [ 68.431908] init: Service 'qemud' (pid 42) exited with status 1 [ 68.489730] init: property_set("ro.radio.noril", "yes") failed [ 68.556512] init: no such service 'ril-daemon' [ 68.608076] init: Service 'goldfish-setup' (pid 44) exited with status 0 [ 68.952338] healthd: No battery devices found [ 69.558593] anbox0: port 1(veth84N6CR) entered disabled state [ 69.568018] device veth84N6CR left promiscuous mode [ 69.572902] anbox0: port 1(veth84N6CR) entered disabled state