Skip to content
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

[Docker] Error with the default PAGESIZE of Raspberry Pi 5 #20057

Open
Varoso opened this issue Sep 27, 2024 · 1 comment
Open

[Docker] Error with the default PAGESIZE of Raspberry Pi 5 #20057

Varoso opened this issue Sep 27, 2024 · 1 comment

Comments

@Varoso
Copy link
Contributor

Varoso commented Sep 27, 2024

Current Behaviour

When performing a clean clone from the repository and starting it with Docker Compose, the ac-db-import container fails with the following error message:

: Unsupported system page size
: Unsupported system page size
: Unsupported system page size
terminate called without an active exception

The default page size on the Raspberry Pi can be obtained with the command getconf PAGESIZE, which returns a value of 16384.

After researching further, I found that this can be resolved by modifying the /boot/firmware/config.txt file and adding the line kernel=kernel8.img.

Now, after restarting and running the command getconf PAGESIZE, the value 4096 is obtained, allowing the container to function correctly.

Is it possible to adapt the container to work with the Raspberry Pi's default value instead of having to make this modification?

Expected Blizzlike Behaviour

Works with the default PAGESIZE of the Raspberry Pi

Source

No response

Steps to reproduce the problem

Step 1: Perform a clean clone of the repository on a Raspberry Pi with a freshly installed Raspberry Pi OS
Step 2: Run the command docker compose build
Step 3: Run the command docker compose up -d

Extra Notes

No response

AC rev. hash/commit

: Unsupported system page size
: Unsupported system page size
: Unsupported system page size
terminate called without an active exception

Operating system

Raspberry Pi OS Lite bassed on Debian 12

Custom changes or Modules

No response

@kambire
Copy link

kambire commented Oct 3, 2024

Current Behaviour

When performing a clean clone from the repository and starting it with Docker Compose, the ac-db-import container fails with the following error message:

: Unsupported system page size : Unsupported system page size : Unsupported system page size terminate called without an active exception

The default page size on the Raspberry Pi can be obtained with the command getconf PAGESIZE, which returns a value of 16384.

After researching further, I found that this can be resolved by modifying the /boot/firmware/config.txt file and adding the line kernel=kernel8.img.

Now, after restarting and running the command getconf PAGESIZE, the value 4096 is obtained, allowing the container to function correctly.

Is it possible to adapt the container to work with the Raspberry Pi's default value instead of having to make this modification?

Expected Blizzlike Behaviour

Works with the default PAGESIZE of the Raspberry Pi

Source

No response

Steps to reproduce the problem

Step 1: Perform a clean clone of the repository on a Raspberry Pi with a freshly installed Raspberry Pi OS Step 2: Run the command docker compose build Step 3: Run the command docker compose up -d

Extra Notes

No response

AC rev. hash/commit

: Unsupported system page size : Unsupported system page size : Unsupported system page size terminate called without an active exception

Operating system

Raspberry Pi OS Lite bassed on Debian 12

Custom changes or Modules

No response

To resolve this issue, you found that you can modify the /boot/firmware/config.txt file on the Raspberry Pi and add the line kernel=kernel8.img. This changes the default page size to 4096 bytes after restarting the system. Doing so allows the container to run correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants