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

Error installing Box86 #2475

Closed
3 tasks done
edbernard opened this issue Oct 31, 2023 · 4 comments
Closed
3 tasks done

Error installing Box86 #2475

edbernard opened this issue Oct 31, 2023 · 4 comments
Labels
User Error Issue is due to user error and not a bug with pi-apps

Comments

@edbernard
Copy link

Confirmations

What happened?

Box86 won't install

Description

I simply clicked install on box86 and it immediately failed. I tried over and over, but it still did not work.

What are your system specs (run the following command in your terminal)?

OS: Debian GNU/Linux 12 (bookworm)
OS architecture: 64-bit
Last updated Pi-Apps on: 10/29/2023
Latest Pi-Apps version: 10/29/2023
Kernel: aarch64 6.1.0-rpi4-rpi-2712
Device model: Raspberry Pi 5 Model B Rev 1.0
Cpu name: Cortex-A76
Ram size: 8.04 GB
Raspberry Pi OS image version: 2023-10-10
Language: en_US.UTF-8

(Recommended) Error log? Terminal output? Debug messages?

🭊🬹🬹🬹🬿                                                          
 🭇🬭🬭🬎🬭🬭🬭🬎🬭🬭🬼                                                       
 🮉  ▄ ▄ ▄  ▋   █▀▀🭍 ▄                                              
 🮉  ▄ ▄ ▄  ▋   █▄▄🭞 ▄ ▄▄ 🭂▀▀█ █▀▀🭍 █▀▀🭍 🭂🬰🬰🬰                       
 🮉  ▄ ▄ ▄  ▋   █    █    🭓▄▄█ █▄▄🭞 █▄▄🭞 ▄▄▄🭞                       
 🭦🭏🬭🬭🬭🬭🬭🬭🬭🭄🭛                  █    █                               
                                                                   
                                                                   
tail: warning: --retry only effective for the initial open
Installing Box86...

User error (reporting allowed): 16K pagesize not supported on box86. Check if your system supports running 32bit ARM binaries and open an issue on Box86 GitHub if it can.

Failed to install Box86!
◢◣Need help? Copy the ENTIRE terminal output or take a screenshot.
Please ask on Github: https://github.com/Botspot/pi-apps/issues/new/choose
Or on Discord: https://discord.gg/RXSTvaUvuu
@edbernard edbernard added the bug Something isn't working label Oct 31, 2023
@Botspot
Copy link
Owner

Botspot commented Oct 31, 2023

This is caused by the Raspberry Pi 5 using a 16K kernel pagesize, whereas all previous Raspberry Pi models used a 4K kernel pagesize. I think that long-term, box86/64 will be fixed to support the 16K pagesize, but for now you can force a 4K pagesize by adding this line to the end of your /boot/config.txt file:

kernel=kernel8.img

@theofficialgman theofficialgman added User Error Issue is due to user error and not a bug with pi-apps and removed bug Something isn't working labels Oct 31, 2023
@theofficialgman
Copy link
Collaborator

theofficialgman commented Oct 31, 2023

I simply clicked install on box86 and it immediately failed. I tried over and over, but it still did not work.

What part of the custom error message did you not understand? Trying over and over would never work. It informs you of the problem, and then suggests that you open an issue as the Box86 github.

Mind you this custom message was written before the Pi5 was announced and at that point the only known consumer devices using 16K PageSize kernels were Apple Silicon which cannot run 32bit binaries at all (hardware incompatible).

@edbernard
Copy link
Author

Thank you for your help, I thought that the error meant that there was an issue with the app, and to fix it, I completely wiped the app and tried again. Thank you for your help, I found a work-around by manually building it myself.

@theofficialgman
Copy link
Collaborator

Thank you for your help, I thought that the error meant that there was an issue with the app, and to fix it, I completely wiped the app and tried again. Thank you for your help, I found a work-around by manually building it myself.

Box86 will not function properly on 16K pagesize kernels. the dynarec and translation layers are not currently written for it

theofficialgman added a commit that referenced this issue Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User Error Issue is due to user error and not a bug with pi-apps
Projects
None yet
Development

No branches or pull requests

3 participants