-
-
Notifications
You must be signed in to change notification settings - Fork 501
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 upgrades on existing DietPi installations went wrong #3581
Comments
Many thanks for your report. Hmm, I guess you don't have logs from the kernel upgrade anymore, right? Carefully check the output in case any error occurs during the process. Especially on RPi, the kernel upgrades should be very stable, I never had issues like that. On Armbian devices indeed I faced many reports about specific kernel versions introducing certain issues. Armbian seems to be not too careful or testing enough when pushing new kernel versions, sadly. Since SDcard corruption is the by far most source for boot issues, after doing a kernel upgrade, check if any file system errors occurred, e.g.: Btw, it is also possible to make journalctl system logs boot persistent and review them from an external Linux/systemd system, and, a serial console is as well nice to check early boot output on headless systems and even earliest bootloader output when no video output is started yet. Just to mention a few ways to debug such issues 😉. |
just a side note. I did a couple of kernel updated the last days as I rolled back my RPi3b+ (for testing) quite often. All of these kernel updated went without issue and system went fine after rebooting. |
@MichaIng Today, there was another kernel update for armbiam-firmware on my NanoPi NEO2. The machine did boot however this time :-)
|
Ah I was not 100% sure but now it's clear that Armbian kernel packages are not provided as meta packages anymore, like it is for the (generic) Debian kernel packages, the ones of Meverics Odroid repo and Radxa e.g.:
A regular You can see it as benefit since kernel/dtb/bootloader is kept up-to-date on a more regular basis, or you can see it as regression since you loose certain control when those critical upgrades are done as every dietpi-update and dietpi-software install calls Finally I have to think about this. Probably we have to set those packages on hold (
Yes that is expected. Armbian RAM log implementation conflicts with ours, and it creates a zRam mount in |
@MichaIng
Do I have to worry about it? Do I need to take additional steps to reactive DeitPi-RAMlog ? Or can I leave it as it is. I am running Pi-hole on my NanoPi NEO2. Thanks again, Maarten |
|
Great ! Thx |
@maartenlangeveld: I updated the kernel on my NEO2 manually to linux-image-dev-sunxi64 which leads to a Linux kernel, version 5.6.15-sunxi64. Also an apt update/upgrade today did not change anything towards a worse state. Regarding the network reboot issue at the NEO2: I had similar issues at different NanoPi types (e.g. M3, M4v2, NEO4,...). Sometimes further reboots fixed it until the system comes to a "stable state" where further reboots did not show problems any more. I.e. just power cycle the NanoPi at these network issues after changing the network configuration. |
I mark this as closed. Feel free to reopen if required. |
Just to inform I had to re-install dietpi from scratch on both my
rpi-zero-w (buster)
andnanopi-neo2 (buster)
machines after on those machines new kernel versions were installed. Both machines did not boot thereafter.When freshly installing dietpi on both machines the kernel upgrade went fine.
Lots of work so maybe there's a fix that will prevent other users from havong to rebuild their setups from start when doing
apt update
andapt upgrade
.UPDATE:
To be more precise: at least there was no networking connection anymore after reboot. Since my NanoPi NEO2 is headless by nature and I had configured my RPi-Zero-W as a headless system, the only way out was to do fresh installs as I was not able to investigate if only networking failed or there were more issues after kernel upgrade.
The text was updated successfully, but these errors were encountered: