-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Are there any side effects to kernel page size configuration? #6605
Comments
If all you want to do is change the Pi5 page size to 4kB, use bcm2711_defconfig - it's the only difference between the two defconfigs. And if you don't need to build your own kernel for other reasons, use the prebuilt kernel8.img, which works on all 64-bit-capable Pis:
|
uname -a Thanks, I used defconfig because I wanted to eliminate the effects of my own configuration. I tried kernel8.img and he appeared occasionally |
It's not clear which of those two kernels is "the latest" in your view, but those error message have dogged the V3D driver over the years. Whenever I/we have investigated we've put them down to prefetch/overreading by the 3D hardware when objects end right at the end of a memory page and the following page is not mapped. I submitted a Mesa patch that added some padding after each object. It's possible that for newer V3D blocks more padding is required, but AFAIK these errors are still harmless. |
And to answer the question in the issue title, have you seen this feedback issue?: raspberrypi/bookworm-feedback#107 |
Thank you, Is the patch you're talking about this commit? The 6.6.51 4K kernel also appears occasionally, and at first I was misled. There was a problem with my last reply, I have changed it. I tried 6.6.47 6.6.51 6.6.69, 6.6.70 of 4K kernel, will occasionally the log, but I can't reproduce it in 16K kernel. Could be the answer you're talking about. My program worked, and I decided not to focus on him. |
Describe the bug
After I configured the kernel to 4K page table, there was an exception when opening chromium-browser.But my system still works.
Steps to reproduce the behaviour
KERNEL=kernel_2712
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- bcm2712_defconfig
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- menuconfig
menuconfig changes the page size to 4K
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- Image modules dtbs
Replace the kernel after compiling
Device (s)
Raspberry Pi CM5
System
Logs
[ 47.264394] v3d 1002000000.v3d: MMU error from client PTB (1) at 0x1761000, pte invalid
Additional context
No response
The text was updated successfully, but these errors were encountered: