Giter Site home page Giter Site logo

Comments (7)

zhouziyang avatar zhouziyang commented on July 26, 2024 1

binder device cannot found.
please insert module via modprobe binder_linux devices=binder,hwbinder,vndbinder (the devices parameter are required currently).

And may need run as docker run ... redroid.gpu.mode=guest (mentioned in issue #43 )
And redroid11 / redroid12 may encounter netd issue on 5.11 kernel (mentioned in issue #45 ).

from redroid-doc.

zhouziyang avatar zhouziyang commented on July 26, 2024

BTW, I personally not tested on Oracle Cloud yet (but feasible).
Can you provide your test env? you can add my ssh public key: curl https://github.com/zhouziyang.keys | tee -a ~/.ssh/authorized_keys; And send ssh account to [email protected].
Thanks~~

from redroid-doc.

zhouziyang avatar zhouziyang commented on July 26, 2024

@sm1314 I checked binder_linux module params via cat /sys/module/binder_linux/parameters/devices, and it is empty.
please reboot, and run modprobe ashmem_linux && modprobe binder_linux devices=binder,hwbinder,vndbinder again.
run redroid via docker run ... androidboot.redroid_gpu_mode=guest

from redroid-doc.

forrestsocool avatar forrestsocool commented on July 26, 2024

@zhouziyang reboot, and run modprobe ashmem_linux && modprobe binder_linux devices=binder,hwbinder,vndbinder again,cat /sys/module/binder_linux/parameters/devices is still empty

from redroid-doc.

zhouziyang avatar zhouziyang commented on July 26, 2024

I remove redroid.conf in /etc/modules-load.d, and manually load modules instead. it works now.
you can add options under /etc/modprobe.d if auto load wanted.

from redroid-doc.

forrestsocool avatar forrestsocool commented on July 26, 2024

It works, thanks so much~

from redroid-doc.

zYxDevs avatar zYxDevs commented on July 26, 2024

Hi, when i run redoid on my OracleCloud ecs, which running Ubuntu 20.04 based on aarch64 architecture, it will end up in a adb device offline stats, here is some useful info:

adb devices

ubuntu@instance20210825230004:~$ adb devices List of devices attached 127.0.0.1:5555 offline

docker run cmd

sudo docker run -itd --rm --memory-swappiness=0 --privileged --pull always -v ~/data:/data -p 5555:5555 redroid/redroid:11.0.0-arm64

System Info

Linux instance20210825230004 5.11.0-1019-oracle #20~20.04.1-Ubuntu SMP Tue Sep 21 14:20:46 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

Docker Info

Client: Version: 20.10.7 API version: 1.41 Go version: go1.13.8 Git commit: 20.10.7-0ubuntu1~20.04.2 Built: Fri Oct 1 14:05:40 2021 OS/Arch: linux/arm64 Context: default Experimental: true

Server: Engine: Version: 20.10.7 API version: 1.41 (minimum version 1.12) Go version: go1.13.8 Git commit: 20.10.7-0ubuntu120.04.2 Built: Fri Oct 1 03:27:17 2021 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.5.2-0ubuntu120.04.3 GitCommit: runc: Version: 1.0.0rc95-0ubuntu120.04.2 GitCommit: docker-init: Version: 0.19.0 GitCommit:

ReDroid Kernel Modules

After running

sudo modprobe ashmem_linux
sudo modprobe binder_linux devices=binder,hwbinder,vndbinder

ubuntu@instance20210825230004:~$ lsmod | grep -e ashmem_linux -e binder_linux binder_linux 204800 0 ashmem_linux 24576 0

ubuntu@instance20210825230004:~$ grep binder /proc/filesystems nodev binder

ubuntu@instance20210825230004:~$ grep ashmem /proc/misc 123 ashmem

ubuntu@instance20210825230004:$ ls /dev/blind ls: 无法访问 '/dev/blind': 没有那个文件或目录 ubuntu@instance20210825230004:$ ls /dev/blindref ls: 无法访问 '/dev/blindref': 没有那个文件或目录

docker ps -A

USER PID PPID VSZ RSS WCHAN ADDR S NAME root 10 1 10775456 4948 do_sys_po+ 0 S init root 12 1 10776876 6500 do_sys_po+ 0 S ueventd logd 32 1 10877268 5680 sigsuspend 0 S logd lmkd 33 1 10772184 2516 ep_poll 0 S lmkd tombstoned 2363 1 10771376 2232 ep_poll 0 S tombstoned shell 3922 1 10846592 5516 ep_poll 0 S adbd system 4290 1 0 0 0 0 Z [android.hardwar] system 4291 1 0 0 0 0 Z [android.hardwar] nobody 4292 1 0 0 0 0 Z [android.hardwar] mediacodec 4308 1 0 0 0 0 Z [android.hardwar] wifi 4309 1 0 0 0 0 Z [android.hardwar] radio 4310 1 0 0 0 0 Z [rild] mediacodec 4311 1 0 0 0 0 Z [mediaswcodec] statsd 4312 1 0 0 0 0 Z [statsd] nobody 4314 1 10789740 3580 do_sys_po+ 0 S traced_probes nobody 4315 1 10789740 3508 do_sys_po+ 0 S traced root 4317 1 0 0 0 0 Z [usbd] root 4351 1 0 0 0 0 Z [iptables-restor] root 4355 1 0 0 0 0 Z [ip6tables-resto] root 4605 1 0 0 0 0 Z [dumpstate] root 4615 1 0 0 0 0 Z [uncrypt] root 4616 1 0 0 0 0 Z [uncrypt] root 4617 1 0 0 0 0 Z [uncrypt] system 4618 1 0 0 0 0 Z [vdc] root 4634 4628 10773424 3156 0 0 R ps

docker logcat

logcat.log

any help will be appeciated

i try mentioned docker command for my oracle vps, but not worked anymore. please help.

from redroid-doc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.