-
-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DPS binary doesn't work on non 4k page size linux arm64 kernels #473
Comments
Hey @pschiffe thanks for your report. I have no idea of how to fix it, I will search how to improve on that, any help is welcome. It is probably related to the docker file
Or the deploy specs
|
Maybe it's related to this one oracle/graal#7513, Looks like I will have to upgrade qemu version, maybe graal version too. |
Hey, @pschiffe , I've upgraded GraalVM and Qemu versions, can you check if dps 3.22.0-snapshot fix your usecase? |
* upgrading qemu version to fix the issue * qemu upgrading * [Gradle Release Plugin] - new version commit: '3.22.0-snapshot'. * machine upgrade not necessary anymore * adjusting image * setup new qemu emulator * deleting unused code * adjusting release notes * Upgrading debian image to fix gcc error failed to solve: process "/bin/sh -c apt-get update -y && apt-get install --force-yes -y build-essential curl && apt-get install --force-yes -y libz-dev zlib1g-dev zlib1g" did not complete successfully: exit code: 100 * Revert "deleting unused code" This reverts commit bc2415d. * Revert "setup new qemu emulator" This reverts commit 14b65cb. * adjusting release notes
Hi @mageddo, so far no joy, though the error code is little bit different (and
When trying binary
Trying
|
alright, I will have to try it out |
Hey @pschiffe , Can you check if DPS
|
Hi @mageddo, awesome job! This seems to be fixed in all my use cases. Here's what I've tested (with
It's perfect, thank you! Reg glibc version, it's usually not possible to upgrade the version within the distribution. RHEL 8 & derivates are currently running on This issue can be closed from my side, thanks again. |
Cheers, thanks for your help. |
What is Happening
DPS binary, distributed either as docker image or from
dns-proxy-server-linux-aarch64-3.19.3-snapshot.tgz
archive, doesn't work on non 4k page size linux arm kernels.RHEL 8 variants for arm64 has only 64k page size kernel:
RHEL 9 variants for arm64 have 2 kernel versions (4k and 64k page size) and you can choose. DPS works on the 4k version, but not on the 64k version.
I didn't tested it, but this will probably be issue also when running on linux on apple's arm, as that kernel has 16k page size.
When you try to run the binary from release archive of from docker, it won't start, you just get the error:
Fatal error: Failed to create the main Isolate. (code 8)
When I try to run the DPS as jar, it works:
I think this is some java issue, but I'm not sure how to fix it. Google shows some reports like this for other java sw.
Specs
defreitas/dns-proxy-server:3.19.3-snapshot-aarch64
Rocky Linux 8.10 (Green Obsidian)
The text was updated successfully, but these errors were encountered: