在运行custm内核的Android仿真器中,Zygote将处于循环中

在运行custm内核的Android仿真器中,Zygote将处于循环中,android,android-emulator,kernel,emulation,android-kernel,Android,Android Emulator,Kernel,Emulation,Android Kernel,我目前想用emulator运行编译好的android内核,但emulator不能正常工作,只能在手机屏幕上显示黑色页面。 我使用以下命令下载和编译android内核: git clone https://android.googlesource.com/kernel/goldfish/ -b android goldfish-3.18 git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/x86/x

我目前想用emulator运行编译好的android内核,但emulator不能正常工作,只能在手机屏幕上显示黑色页面。 我使用以下命令下载和编译android内核:

git clone https://android.googlesource.com/kernel/goldfish/ -b android goldfish-3.18
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9
cd goldfish
export CROSS_COMPILE=x86_64-linux-android-
export ARCH=x86_64
export PATH=$PATH:/path/to/x86_64-linux-android-4.9/bin
make x86_64_ranchu_defconfig
make menuconfig  # enable overlayfs and namespaces support here
make -j8
之后,我使用SDK的emulator使用以下命令运行内核: (我在Nexus_5X_api_23上使用Android 7.0 x86_64 google api level 24)

但在这之后,这些文本会出现在终端上(一次又一次地出现),手机屏幕上会显示开机动画

[  270.896420] init: Service 'audioserver' is being killed...
[  270.897184] init: Service 'cameraserver' is being killed...
[  270.897986] init: Service 'media' is being killed...
[  270.898725] init: Service 'netd' is being killed...
[  270.899573] init: Service 'audioserver' (pid 6354) killed by signal 9
[  270.900441] init: Service 'audioserver' (pid 6354) killing any children in process group
[  270.901661] init: Service 'cameraserver' (pid 6355) killed by signal 9
[  270.902456] init: Service 'cameraserver' (pid 6355) killing any children in process group
[  270.903456] init: Service 'media' (pid 6356) killed by signal 9
[  270.904071] init: Service 'media' (pid 6356) killing any children in process group
[  270.904909] init: Service 'netd' (pid 6357) killed by signal 9
[  270.905518] init: Service 'netd' (pid 6357) killing any children in process group
[  270.915485] init: Service 'zygote_secondary' (pid 6587) killed by signal 11
[  270.916367] init: Service 'zygote_secondary' (pid 6587) killing any children in process group
[  271.918795] init: Starting service 'audioserver'...
[  271.919822] init: Starting service 'cameraserver'...
[  271.920826] type=1400 audit(1501255007.918:530): avc: denied { getattr } for pid=6598 comm="audioserver" path="/vendor" dev="rootfs" ino=6328 scontext=u:r:audioserver:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=0
[  271.920848] init: couldn't write 6599 to /dev/cpuset/camera-daemon/tasks: No such file or directory
[  271.920871] init: Starting service 'media'...
[  271.921227] init: Starting service 'netd'...
[  271.927633] type=1400 audit(1501255007.918:531): avc: denied { getattr } for pid=6599 comm="cameraserver" path="/vendor" dev="rootfs" ino=6328 scontext=u:r:cameraserver:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=0
[  272.523185] type=1400 audit(1501255008.518:532): avc: denied { module_request } for pid=6601 comm="netd" kmod="netdev-dummy0" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
[  272.524725] type=1400 audit(1501255008.518:533): avc: denied { module_request } for pid=6601 comm="netd" kmod="net-pf-16-proto-5" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
[  275.926349] init: Starting service 'ipv6proxy'...
[  275.927882] init: Starting service 'emu_hostapd'...
[  275.929091] init: Starting service 'zygote'...
[  275.930412] init: Starting service 'zygote_secondary'...
logcat在这里:

有人能帮忙吗

[  270.896420] init: Service 'audioserver' is being killed...
[  270.897184] init: Service 'cameraserver' is being killed...
[  270.897986] init: Service 'media' is being killed...
[  270.898725] init: Service 'netd' is being killed...
[  270.899573] init: Service 'audioserver' (pid 6354) killed by signal 9
[  270.900441] init: Service 'audioserver' (pid 6354) killing any children in process group
[  270.901661] init: Service 'cameraserver' (pid 6355) killed by signal 9
[  270.902456] init: Service 'cameraserver' (pid 6355) killing any children in process group
[  270.903456] init: Service 'media' (pid 6356) killed by signal 9
[  270.904071] init: Service 'media' (pid 6356) killing any children in process group
[  270.904909] init: Service 'netd' (pid 6357) killed by signal 9
[  270.905518] init: Service 'netd' (pid 6357) killing any children in process group
[  270.915485] init: Service 'zygote_secondary' (pid 6587) killed by signal 11
[  270.916367] init: Service 'zygote_secondary' (pid 6587) killing any children in process group
[  271.918795] init: Starting service 'audioserver'...
[  271.919822] init: Starting service 'cameraserver'...
[  271.920826] type=1400 audit(1501255007.918:530): avc: denied { getattr } for pid=6598 comm="audioserver" path="/vendor" dev="rootfs" ino=6328 scontext=u:r:audioserver:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=0
[  271.920848] init: couldn't write 6599 to /dev/cpuset/camera-daemon/tasks: No such file or directory
[  271.920871] init: Starting service 'media'...
[  271.921227] init: Starting service 'netd'...
[  271.927633] type=1400 audit(1501255007.918:531): avc: denied { getattr } for pid=6599 comm="cameraserver" path="/vendor" dev="rootfs" ino=6328 scontext=u:r:cameraserver:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=0
[  272.523185] type=1400 audit(1501255008.518:532): avc: denied { module_request } for pid=6601 comm="netd" kmod="netdev-dummy0" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
[  272.524725] type=1400 audit(1501255008.518:533): avc: denied { module_request } for pid=6601 comm="netd" kmod="net-pf-16-proto-5" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
[  275.926349] init: Starting service 'ipv6proxy'...
[  275.927882] init: Starting service 'emu_hostapd'...
[  275.929091] init: Starting service 'zygote'...
[  275.930412] init: Starting service 'zygote_secondary'...