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

Redroid in proxmox ubuntu VM

Open harryxmin opened this issue 1 year ago • 7 comments

I have enabled dev/tun and cap add net_admin, raw and mknod. When I run the container, it crashes the host system as well. I'm running redroid container in Ubuntu VM on proxmox host.

harryxmin avatar Nov 10 '24 12:11 harryxmin

Try collect Ubuntu VM console logs. BTW, redroid container should not crash your host.

zhouziyang avatar Nov 19 '24 12:11 zhouziyang

Ill grab the logs. the container commands are correct as well yes? dev/net/tun=/dev/tun and the cap settings.

harryxmin avatar Nov 21 '24 03:11 harryxmin

I'm running into the same issue on Ubuntu 22.04.4, running on Oracle Free Tier. If I run modprobe binder_linux devices="binder,hwbinder,vndbinder" and them

docker run -itd --rm --memory-swappiness=0 \
    --privileged --pull always \
    -v ./data:/data \
    -p 5555:5555 \
    --name redroid \
    redroid/redroid:10.0.0-latest \
    redroid.gpu.mode=guest

The entire system crashes/becomes unresponsive, requiring a manual reboot to work again.

But If I don't run modprobe binder_linux devices="binder,hwbinder,vndbinder", the container starts without crashes, but doesn't work.

@zhouziyang here's the last 1000 log lines, if you need something else let me know. log.txt

eitchtee avatar Nov 23 '24 16:11 eitchtee

@eitchtee seems something wrong with the binder drivers. Try switch to some other LTS kernel (such as 5.15 series) and install corresponding binder driver.

zhouziyang avatar Nov 24 '24 09:11 zhouziyang

@harryxmin were you able to run it?

thebigbone avatar Feb 14 '25 09:02 thebigbone

Debian 12 clean install as the guest os, amd epyc nested virtualisation enabled, can't get it to work as well.

07-26 14:33:23.547 70421  4885 E ProcessState: Binder driver /dev/binder is unavailable. Using /dev/binder instead.
07-26 14:33:23.547 70421  4885 W ProcessState: Opening '/dev/binder' failed: No such file or directory
07-26 14:33:23.547 70421  4885 F ProcessState: Binder driver '/dev/binder' could not be opened.  Terminating.
07-26 14:33:23.548 70421  4885 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 70421 (dumpstate), pid 70421 (dumpstate)           07-26 14:33:22.346     0     0 I init    : Sending signal 9 to service 'mtpd' (pid 70276) process group...
^[[A^[[A^[[A^[[A^[[A^[[A07-26 14:33:23.555 70424  4888 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
07-26 14:33:23.555   325   325 I tombstoned: received crash request for pid 70421

by-justin avatar Jul 26 '25 14:07 by-justin

Debian and Ubuntu never worked for me. But arch works flawlessly. Check https://github.com/remote-android/redroid-doc/blob/master/deploy/arch-linux.md

by-justin avatar Jul 27 '25 08:07 by-justin