Problems running on Orange Pi 5
Operating system
Josua Riek's Custom Ubuntu 24.04 Image
Description
When attempting to run, it is able to download windows 10 successfully but when actually trying to connect using VNC, the container crashes. Running after the crash results in the container not booting at all with error code 141. Error log:
[+] Running 1/0 ✔ Container windows Created 0.0s Attaching to windows windows | ❯ Starting Windows for Docker v2.11... windows | ❯ For support visit https://github.com/dockur/windows-arm windows | ❯ ERROR: Status 141 while: awk '{print $(2)}' (line 48/11) windows | ❯ ERROR: Status 141 while: SOCKETS=$(lscpu | grep -m 1 -i 'socket(s)' | awk '{print $(2)}') (line 48/11) windows exited with code 141
KVM acceleration is also working, so it can't possibly be a KVM issue.
Docker compose
services: windows: image: dockurr/windows-arm container_name: windows environment: VERSION: "win10" DISK_SIZE: "64G" RAM_SIZE: "4G" CPU_CORES: "2" devices: - /dev/kvm cap_add: - NET_ADMIN ports: - 8006:8006 - 8000:3389/tcp - 8000:3389/udp stop_grace_period: 2m volumes: - /var/win:/storage - /home/orangepi:/shared
Docker log
❯ Starting Windows for Docker v2.11... ❯ For support visit https://github.com/dockur/windows-arm ❯ ERROR: Status 141 while: awk '{print $(2)}' (line 48/11) ❯ ERROR: Status 141 while: SOCKETS=$(lscpu | grep -m 1 -i 'socket(s)' | awk '{print $(2)}') (line 48/11) ❯ Starting Windows for Docker v2.11... ❯ For support visit https://github.com/dockur/windows-arm ❯ ERROR: Status 141 while: awk '{print $(2)}' (line 48/11) ❯ ERROR: Status 141 while: SOCKETS=$(lscpu | grep -m 1 -i 'socket(s)' | awk '{print $(2)}') (line 48/11)
Screenshots (optional)
No response
Update:
Found issue https://github.com/dockur/windows-arm/issues/44 that says the issue with orange pi 5 has already been fixed since version 2.10 but the latest and 2.10 version do not work on an orange pi 5.
Can you try using the new Docker image (version v2.12)?
It successfully boots but windows setup says This is not a supported PC. EDIT: Only if I specify 1 CPU or else it fails with "QEMU: Failed to put registers after init."
Also the computer is an Orange Pi 5 Plus with an RK3588 CPU and not the RK3588S CPU.
Is this issue still present with the latest version (v2.18)?
Yes, with error: ❯ Extracting Windows 11 image... ❯ Adding drivers to image... ❯ Adding win11arm64.xml for automatic installation... ❯ Building Windows 11 image... ❯ Creating a 64G growable disk image in raw format... ❯ Booting Windows using QEMU v9.1.0... ❯ ERROR: qemu-system-aarch64: Failed to put registers after init: Invalid argument
@FastestLion9038 What is the output when you run lscpu?
Output of lscpu command:
Architecture: aarch64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Vendor ID: ARM Model name: - Model: Rockchip RK3588 Thread(s) per core: 0 Core(s) per socket: 0 Socket(s): 0 Stepping: 0x2 BogoMIPS: 48.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimd dp Model name: - Model: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 CPU(s) scaling MHz: 100% CPU max MHz: 1800.0000 CPU min MHz: 408.0000 BogoMIPS: 48.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimd dp Model name: - Model: Rockchip RK3588 Thread(s) per core: 0 Core(s) per socket: 0 Socket(s): 0 Stepping: 0x2 Model name: - Model: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 CPU(s) scaling MHz: 100% CPU max MHz: 1800.0000 CPU min MHz: 408.0000 BogoMIPS: 48.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimd dp Model name: - Model: Rockchip RK3588 Thread(s) per core: 0 Core(s) per socket: 0 Socket(s): 0 Stepping: 0x2 Model name: - Model: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 CPU(s) scaling MHz: 100% CPU max MHz: 1800.0000 CPU min MHz: 408.0000 BogoMIPS: 48.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimd dp Model name: - Model: Rockchip RK3588 Thread(s) per core: 0 Core(s) per socket: 0 Socket(s): 0 Stepping: 0x2 Model name: - Model: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 CPU(s) scaling MHz: 100% CPU max MHz: 1800.0000 CPU min MHz: 408.0000 BogoMIPS: 48.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimd dp Model name: - Model: Rockchip RK3588 Thread(s) per core: 0 Core(s) per socket: 0 Socket(s): 0 Stepping: 0x4 Model name: - Model: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 CPU(s) scaling MHz: 100% CPU max MHz: 2256.0000 CPU min MHz: 408.0000 BogoMIPS: 48.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimd dp Model name: - Model: Rockchip RK3588 Thread(s) per core: 0 Core(s) per socket: 0 Socket(s): 0 Stepping: 0x4 Model name: - Model: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 CPU(s) scaling MHz: 100% CPU max MHz: 2256.0000 CPU min MHz: 408.0000 BogoMIPS: 48.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimd dp Model name: - Model: Rockchip RK3588 Thread(s) per core: 0 Core(s) per socket: 0 Socket(s): 0 Stepping: 0x4 Model name: - Model: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 CPU(s) scaling MHz: 100% CPU max MHz: 2256.0000 CPU min MHz: 408.0000 BogoMIPS: 48.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimd dp Model name: - Model: Rockchip RK3588 Thread(s) per core: 0 Core(s) per socket: 0 Socket(s): 0 Stepping: 0x4 Model name: - Model: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 CPU(s) scaling MHz: 100% CPU max MHz: 2256.0000 CPU min MHz: 408.0000 Caches (sum of all): L1d: 384 KiB (8 instances) L1i: 384 KiB (8 instances) L2: 2.5 MiB (8 instances) L3: 3 MiB (1 instance) Vulnerabilities: Gather data sampling: Not affected Itlb multihit: Not affected L1tf: Not affected Mds: Not affected Meltdown: Not affected Mmio stale data: Not affected Retbleed: Not affected Spec rstack overflow: Not affected Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Spectre v1: Mitigation; __user pointer sanitization Spectre v2: Vulnerable: Unprivileged eBPF enabled Srbds: Not affected Tsx async abort: Not affected
@FastestLion9038 I added support for the Rockchip RK3588 now in v2.20. Can you try this version and confirm if it works now?
It works!
Thank you @kroese
@FastestLion9038 Can I know your configuration? I always end up with the following timeout error:
❯ Extracting Windows 11 bootdisk...
❯ Extracting Windows 11 environment...
❯ Extracting Windows 11 setup...
❯ Extracting Windows 11 image...
❯ Adding drivers to image...
❯ Adding win11arm64.xml for automatic installation...
❯ Building Windows 11 image...
❯ Booting Windows using QEMU v9.1.0...
❯ ERROR: Timeout while waiting for QEMU to boot the machine!
qemu-system-aarch64: terminating on signal 15 from pid 2146 ()
❯ Shutdown completed!
Me too, same error. What's the configuration?