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

redroid11 boot failed

Open mackerel-12138 opened this issue 8 months ago • 2 comments

Describe the bug 请详细描述问题(ZH_CN) A clear and concise description of what the bug is. redroid11 boot failled, but 12 success

version ubuntu22.04 5.15.0-112-generic docker-compose.yml

version: "3"
services:
  redroid:
    image: redroid/redroid:11.0.0-latest
    stdin_open: true
    tty: true
    privileged: true
    ports:
      - "5556:5555"
    volumes:
      - ./redroid-11-data:/data
    command:
      - ro.product.cpu.abilist0=x86_64,arm64-v8a,x86,armeabi-v7a,armeabi
      - ro.product.cpu.abilist64=x86_64,arm64-v8a
      - ro.product.cpu.abilist32=x86,armeabi-v7a,armeabi
      - ro.dalvik.vm.isa.arm=x86
      - ro.dalvik.vm.isa.arm64=x86_64
      - ro.enable.native.bridge.exec=1
      - ro.dalvik.vm.native.bridge=libndk_translation.so
      - ro.ndk_translation.version=0.2.2
      - ro.secure=0
      - androidboot.redroid_width=1280
      - androidboot.redroid_height=720
      - androidboot.redroid_gpu_mode=auto
      - androidboot.redroid_fps=60
    cap_add:
      - CAP_SYS_MODULE

ps -a

USER            PID   PPID     VSZ    RSS WCHAN            ADDR S NAME
root              1      0 10781304  8944 ep_poll             0 S init
root              8      1 10760764  5480 do_poll.c+          0 S init
root             10      1 10762180  7148 do_poll.c+          0 S ueventd
logd             31      1 10763392  7008 sigsuspend          0 S logd
lmkd             32      1 10756584  2516 ep_poll             0 S lmkd
system           33      1 10759528  5340 ep_poll             0 S servicemanager
system           34      1 10761288  6476 ep_poll             0 S hwservicemanager
shell            35      1 10755148  2708 wait_woken          0 S sh
root             38      1 10768240  8368 binder_wa+          0 S vold
system           47      1 10763524  5312 binder_wa+          0 S [email protected]
nobody           48      1 10762244  6816 binder_wa+          0 S [email protected]
root             59      0 10755148  3116 sigsuspend          0 S sh
tombstoned       67      1 10755452  2264 ep_poll             0 S tombstoned
system           72      1 10758488  4396 binder_wa+          0 S [email protected]
media            74      1   19576   5960 binder_wa+          0 S [email protected]
system           75      1 10761264  5848 binder_wa+          0 S [email protected]
system           76      1 10849692 39972 binder_wa+          0 S [email protected]
system           77      1 10774332 11156 binder_wa+          0 S [email protected]
system           78      1 10760432  5432 ep_poll             0 S [email protected]
system           79      1 10759884  5176 binder_wa+          0 S [email protected]
wifi             80      1 10764016  8688 binder_wa+          0 S [email protected]
nobody           82      1 10759376  4548 binder_wa+          0 S android.hardware.power-service.example
credstore        85      1 10764296  7868 binder_wa+          0 S credstore
gpu_service      87      1 10762728  6892 binder_wa+          0 S gpuservice
system           88      1 10879644 71672 ep_poll             0 S surfaceflinger
root            122      1 10765884  5716 ep_poll             0 S adbd
nobody          124      1 10757560  3352 do_poll.c+          0 S traced_probes
nobody          132      1 10757560  3528 do_poll.c+          0 S traced
mdnsr           134      1 8652316   1028 do_select           0 S mdnsd
drm             139      1   26484   8080 binder_wa+          0 S drmserver
system          140      1 10761676  5820 binder_wa+          0 S idmap2d
incidentd       141      1 10762064  5368 ep_poll             0 S incidentd
root            142      1 10764452  5600 binder_wa+          0 S installd
keystore        143      1 10764948  8212 binder_wa+          0 S keystore
mediaex         144      1 10792012 25112 binder_wa+          0 S media.extractor
media           145      1 10765696  5848 binder_wa+          0 S media.metrics
root            148      1 10762252  5584 binder_wa+          0 S storaged
mediacodec      150      1   33696  12856 binder_wa+          0 S media.codec
radio           151      1 10763420  5692 hrtimer_n+          0 S rild
mediacodec      152      1 10772132 14048 binder_wa+          0 S media.swcodec
statsd          153      1 10764108  4916 ep_poll             0 S statsd
system          154      1 10764060  7060 binder_wa+          0 S gatekeeperd
nobody         4581      1 12434400 188356 0                  0 R zygote64
root           4582      1 1543004  84060 do_poll.c+          0 S zygote
audioserver    4583      1 10795160 22444 hrtimer_n+          0 S audioserver
audioserver    4584      1   29012   9400 binder_wa+          0 S android.hardware.audio.service
cameraserver   4608      1   51684  21636 hrtimer_n+          0 S cameraserver
media          4615      1   72856  20804 binder_wa+          0 S mediaserver
root           4616      1 10777180  8484 binder_wa+          0 S netd
wifi           4617      1 10765872  7664 ep_poll             0 S wificond
root           4618   4616 10755708  2500 pipe_read           0 S iptables-restore
root           4619   4616 10755708  2356 pipe_read           0 S ip6tables-restore
root           4634     59 10758220  3400 0                   0 R ps

make sure the required kernel modules present 确保必须的内核功能已开启(ZH_CN)

  • [x] grep binder /proc/filesystems output: nodev binder
  • [x] grep ashmem /proc/misc (optional) nothing

Collect debug logs 收集调试日志(ZH_CN) curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- [CONTAINER] omit CONTAINER if not exist any more. 如容器已退出,可忽略CONTAINER参数(ZH_CN) logcat logcat.zip

Screenshots 截图(ZH_CN)

If applicable, add screenshots to help explain your problem.

mackerel-12138 avatar Jun 18 '24 13:06 mackerel-12138