redroid-doc icon indicating copy to clipboard operation
redroid-doc copied to clipboard

鲲鹏920服务器上的虚拟机中运行redroid,可以运行,但adb无法连接

Open wnark opened this issue 1 year ago • 4 comments

Describe the bug qemu-kvm虚拟机配置: image image

虚拟机操作系统:ubuntu-20.04.5-live-server-arm64.iso 内核版本:apt 安装的 linux-headers-5.15.0-94-generic linux-image-5.15.0-94-generic

使用命令:

docker run -itd --rm --privileged \
    --pull always \
    -v /home/android/3/data:/data \
    --name redroid12_64only \
    -p 5555:5555 \
    -p 5900:5900 \
    redroid/redroid:12.0.0_64only-latest \
    redroid.vncserver=1 \
    redroid.gpu.mode=guest

容器可以正常启动,但无法使用vnc/adb访问。 可以使用docker exec -it 007e50b46483 sh进行访问.

虚拟机中存在一张直通进去的nVidia T4,但虚拟机中还未安装nVidia的驱动。

make sure the required kernel modules present

  • grep binder /proc/filesystems
  • grep ashmem /proc/misc image

collect debug logs curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- [CONTAINER] omit CONTAINER if not exist any more.

当收集日志时,存在提示(是容器的网络配置的原因吗):

curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- 007e50b46483
Collecting, please wait...
Error: argument "eth0" is wrong: table id value is invalid


===================================
Please provide the collected logs
(zh_CN) 请提供此处收集的日志
/tmp/tmp.6HJwQy85NM.tgz
===================================

tmp.6HJwQy85NM.zip

Screenshots image

wnark avatar Feb 19 '24 14:02 wnark