-
-
Notifications
You must be signed in to change notification settings - Fork 254
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
Kernel oops using ZRAM on RPi4/8GB 32bit #1135
Comments
Try a recent image build such as the one from https://github.com/openhab/openhabian/actions/runs/256287021 first. To find out if it's really ZRAM to cause this, you can skip ZRAM installation by editing I have no idea about your kernel issue. Never heard about it before, and I know of people to run ZRAM on a RPi4 so it's not a general problem. |
In the meantime I used openhabian-config to uninstall zram. Since then The Kernel Oops is gone. So to reproduce I configured debugmode to maximum and just installed zram again using openhabian-config. Exactly when enabling zram there is again a Kernel Ooops and openhabian-config ends
The full output of openhabian-config (starting installation of zram):
Next I will install a recent image as you suggested. |
I'd believe it's a kernel issue. Either way, nothing we can deal with in openHABian. |
Still the same also with a new image. There seems to be someone else having a similar problem: So I assume you are right. There is nothing the opanHABian can do about it. I follow the other issue. |
reopen if you have news on an openHABian malfunction |
FWIW, there was a report of someone who had this problem too and he tried the 64bit image and that worked |
Will skip to install ZRAM on 8 GB RPi 4 if running in 32bit |
It looks like this problem has been solved upstream. |
not sure as the solved problem was on 32bit ARM. |
Patch is dated Dec 2 and the current Raspi OS is dated Dec 4 so the patch is (very very likely) not in. |
There's been a release on Jan 11th, 2021 with kernel version 5.4. Can anyone confirm that ZRAM has been fixed with this build? |
As I wrote right above: "the current Raspi OS is dated Dec 4" which is what the openHABian images use. |
If you would like there is plenty of documentation online on how to change your Linux kernel version. This is not supported and should not be attempted unless you know what you are doing. |
Did you deploy a new image from scratch? Which one? 1.6.3 was built after that new Raspi OS release. I forgot the build process is automatically pulling in the latest version (does not happen that often in fact) so yes this is to be expected. Cannot validate though as I don't have that HW. |
1.6.2b I downloading 1.6.3 now and will test again. |
Just installed 1.6.3 fresh then installed zram using openhabian-config and it installed correctly and is running correctly openhabian@openHABianDevice:~ $ zramctl |
Great, thanks. |
Not sure if this is really 100% solved. After activating zram and seeing it running correctly, the system goes into a reboot loop. The Pi keeps rebooting during startup. Reboot loop stops as soon as I disable zram again. I am on a Pi4 with 8gb. |
So does it work or not ? Anyone to read please try and comment |
Are you on the latest kernel version? |
Yes, I am on the latest kernel. What I noticed (and unfortunately didn't have time to systematically test and debug yet). ZRAM works fine until the time I install PIVCCU on the PI. Openhab runs fine with and without ZRAM, tested both. Installed PIVCCU, runs stable without ZRAM enabled. As soon as I enable ZRAM, the system goes into a reboot loop and crashes during startup of the services. As soon as I unplug the HB-RF-USB hardware, the reboot loop stops. If I uninstall zram everything's working fine again. Again, I haven't explicitly analyzed the root cause, so it's a (reproducible) observation. |
Hello
Issue information:
On my brand new Raspberry Pi 4 8GB I initially installed
openhabian v1.6-alpha
image, because it mentioned support for the 8GB model. I then noticed a kernel oops. Not sure why this happened and suspecting the alpha version I installed the current Raspberry Pi OS (2020-08-20-raspios-buster-armhf-lite) and then followed the installation instructions here: https://www.openhab.org/docs/installation/openhabian.html#other-linux-systems-add-openhabian-just-like-any-other-softwareDuring initial setup when running
openhabian-config unattended
I faced a kernel oops again.The oops happens during installation/configuration of zram:
System information:
I tried both Raspian image 1.6-alpha and Raspberry Pi OS
Currently Raspberry Pi OS is running:
uname -m:
armv7l
Best regarda,
Tom
The text was updated successfully, but these errors were encountered: