Azul Prime Java on raspberrypi 5, is it possible? (Failed to reserve thread stacks region)
raspberry pi 5 running gentoo musl.
So I want to run a high-performance Minecraft server using Azul Prime (zing), since it's a musl system, I can't use the tarball which uses glibc.
Then I tried docker, but it shows
I even tried to recompile the kernel to enable hugepages support, but still the same error.
Have anyone tried this?
So I want to run a high-performance Minecraft server using Azul Prime (zing), since it's a musl system, I can't use the tarball which uses glibc.
Then I tried docker, but it shows
Code: Select all
pi ~ # docker run -it docker.1ms.run/azul/prime:latest java
##### addr(0xc40000000000)sz(0x40000000000), msg(mmap() error. Failed to reserve thread stacks region)
Have anyone tried this?
Re: Azul Prime Java on raspberrypi 5, is it possible? (Failed to reserve thread stacks region)
I don't think it's libmusl / glibc relates as I get the same error on a standard bookworm on RPI5.
There is mention on the Azul website of a 'ZST' or 'zing_mm.ko' memory management drivers but it also states that is not needed anymore since release 'Azul Platform Prime 19.07'. It alos states that huge tables is not required.
Not sure if the OP has found a solution since his original post was from June 17th...
Code: Select all
~$ docker run -it docker.1ms.run/azul/prime:latest java --version
Unable to find image 'docker.1ms.run/azul/prime:latest' locally
latest: Pulling from azul/prime
11e23ac719b3: Pull complete
6c1a67eff1d3: Pull complete
1bca0d5fb876: Pull complete
Digest: sha256:cedbe38c4c9fea8f28306b556d6e6f20b2e7c864702d7733525079621f9241f7
Status: Downloaded newer image for docker.1ms.run/azul/prime:latest
##### addr(0xc40000000000)sz(0x40000000000), msg(mmap() error. Failed to reserve thread stacks region)
~$ ldd --version
ldd (Debian GLIBC 2.36-9+rpt2+deb12u12) 2.36
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
Not sure if the OP has found a solution since his original post was from June 17th...
Jump to
- Community
- General discussion
- Announcements
- Other languages
- Deutsch
- Español
- Français
- Italiano
- Nederlands
- 日本語
- Polski
- Português
- Русский
- Türkçe
- User groups and events
- Raspberry Pi Official Magazine
- Using the Raspberry Pi
- Beginners
- Troubleshooting
- Advanced users
- Assistive technology and accessibility
- Education
- Picademy
- Teaching and learning resources
- Staffroom, classroom and projects
- Astro Pi
- Mathematica
- High Altitude Balloon
- Weather station
- Programming
- C/C++
- Java
- Python
- Scratch
- Other programming languages
- Windows 10 for IoT
- Wolfram Language
- Bare metal, Assembly language
- Graphics programming
- OpenGLES
- OpenVG
- OpenMAX
- General programming discussion
- Projects
- Networking and servers
- Automation, sensing and robotics
- Graphics, sound and multimedia
- Other projects
- Media centres
- Gaming
- AIY Projects
- Hardware and peripherals
- Camera board
- Compute Module
- Official Display
- HATs and other add-ons
- Device Tree
- Interfacing (DSI, CSI, I2C, etc.)
- Keyboard computers (400, 500, 500+)
- Raspberry Pi Pico
- General
- SDK
- MicroPython
- Other RP2040 boards
- Zephyr
- Rust
- AI Accelerator
- AI Camera - IMX500
- Hailo
- Software
- Raspberry Pi OS
- Raspberry Pi Connect
- Raspberry Pi Desktop for PC and Mac
- Beta testing
- Other
- Android
- Debian
- FreeBSD
- Gentoo
- Linux Kernel
- NetBSD
- openSUSE
- Plan 9
- Puppy
- Arch
- Pidora / Fedora
- RISCOS
- Ubuntu
- Ye Olde Pi Shoppe
- For sale
- Wanted
- Off topic
- Off topic discussion