remote-android / redroid-doc

redroid (Remote-Android) is a multi-arch, GPU enabled, Android in Cloud solution. Track issues / docs here
4.33k stars 310 forks source link

rk3588-open /dev/tty: No such device or address 启动2分钟后destroy #682

Open zhangzning opened 6 months ago

zhangzning commented 6 months ago

平台 rk3588 , rock5b,arm64 ubuntu 20.04 Linux rock-5b 5.10.110-99-rockchip-g5db04e2aa688 #rockchip 镜像 redroid/redroid:13.0.0_64only-latest docker version : 24.0.5

make sure the required kernel modules present

rock@rock-5b:~$ grep binder /proc/filesystems
nodev   binder
rock@rock-5b:~$ grep ashmem /proc/misc
124 ashmem

docker events日志

2024-05-13T16:27:27.953315751Z image pull redroid/redroid:13.0.0_64only-latest (io.buildah.version=1.32.0-dev, name=redroid/redroid)
2024-05-13T16:27:28.010563786Z container create 23dc313f99c914739699b7be2a704588e37e3232c92ab5396d14b6295b9bd81d (image=redroid/redroid:13.0.0_64only-latest, io.buildah.version=1.32.0-dev, name=heuristic_williams)
2024-05-13T16:27:28.119460953Z network connect 3a3d735c0fc627eea42be0952dcdc9e5746d222dd55ce129dc21877b743a4a72 (container=23dc313f99c914739699b7be2a704588e37e3232c92ab5396d14b6295b9bd81d, name=bridge, type=bridge)
2024-05-13T16:27:28.575059561Z container start 23dc313f99c914739699b7be2a704588e37e3232c92ab5396d14b6295b9bd81d (image=redroid/redroid:13.0.0_64only-latest, io.buildah.version=1.32.0-dev, name=heuristic_williams)
2024-05-13T16:29:03.141482633Z network disconnect 3a3d735c0fc627eea42be0952dcdc9e5746d222dd55ce129dc21877b743a4a72 (container=23dc313f99c914739699b7be2a704588e37e3232c92ab5396d14b6295b9bd81d, name=bridge, type=bridge)
2024-05-13T16:29:03.234088299Z container die 23dc313f99c914739699b7be2a704588e37e3232c92ab5396d14b6295b9bd81d (execDuration=94, exitCode=129, image=redroid/redroid:13.0.0_64only-latest, io.buildah.version=1.32.0-dev, name=heuristic_williams)
2024-05-13T16:29:03.264478286Z container destroy 23dc313f99c914739699b7be2a704588e37e3232c92ab5396d14b6295b9bd81d (image=redroid/redroid:13.0.0_64only-latest, io.buildah.version=1.32.0-dev, name=heuristic_williams)

docker logs 容器id

rock@rock-5b:~$ docker logs 23dc313f99c9
/system/bin/sh: No controlling tty: open /dev/tty: No such device or address
/system/bin/sh: warning: won't have full job control
zhangzning commented 6 months ago

刚启动的时候adb是可以连接的,问题出在了启动后过一会就会自动停止,ps -a没有容器在运行。辛苦作者以及各位大佬解惑,感谢

zhouziyang commented 6 months ago

Seems some critical service (lmkd possibly) constantly crashed.

Can you provide debug blobs? https://github.com/remote-android/redroid-doc?tab=readme-ov-file#troubleshooting