-
Notifications
You must be signed in to change notification settings - Fork 44
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
Xbian repeatedly crash: Kernel panic - system is deadlocked on memory. swapper/0 tainted , HW: BCM2711 #928
Comments
I recommend you to install the previous version of the kernel package (linux-image-bcm2836) to see if the kernel panic disappears with it |
# apt install linux-image-bcm2836* # apt search linux-image-bcm2*
# dpkg --list 'linux-image-*'
Which command to run to install previous version please and what to do if issue (not) appear again? |
Why am I not surprised? Here again in short form:
|
I assume the cause is the same problem as in this issue: raspberrypi/linux#5395 Kernel 6.1 has a new feature called MGLRU, this seems to be very buggy, but is unfortunately enabled by default But today I was working with an installation that had the 32bit 6.1.24 kernel installed and I got these kernel panics all the time To disable MGLRU, a simple command |
There is only one known problem: MGLRU caused OOM kills on Pi 4 when running 32-bit kernels, because Pi 4 has to use |
I have tried this and likely did reboot after which it crashed again and made router not respond to most of LAN computers during the crash, with same or similar kernel panic, then after boot i have found that the lru_gen option was reset back to: cat /sys/kernel/mm/lru_gen/enabled I have failed to find how to make "0x0000" persistent/survive reboot. Can you suggest command for this please? |
Your crash doesn't seem to be related to this issue.
The latest 32-bit kernel disabled MGLRU by default. If you are using the 32-bit kernel, please make sure it's the latest. And please also make sure you don't have modifications to the initscript or services that enable MGLRU, e.g., |
# uname -r
# grep -r lru_gen /etc/ I do not know regarding initscript (not know right command), but tried "grep -Ria lru /etc/" and found nothing that would appear like config. option and such. What do you suggest? |
@slrslr |
After "apt update;apt upgrade", i may be on latest:
This question of mine is unanswered:
Yet i see that after reboot under this newer kernel, it is disabled already: And i will keep you updated on next crash if you have no more instruction on what to do now. |
Yes of course, this was fixed promptly after your issue and no longer occurs with 6.1.28. |
Linux xbian 6.1.24+ ... armv7l
XBian 11.0 - Bullseye - 20230419-0 - Bleeding Edge, 2012-2023
Raspberry Pi 4
I updated Xbian software a few times in last month (Inside Kodi, System update...) and setup 2 new Kodi addons from 2 new repository.
Every couple of days (i think that one day it happened multiple times) i find out internet stop working in home LAN, even unable to connect/ping router or Xbian. Router restart not helps and i find out Xbian deadlocked as per the screenshot attached:
(this deadklock is what happen repeatedly as mentioned)
So i power off/on the Xbian device. Then somehow router device/internet start working.
The text was updated successfully, but these errors were encountered: