Hello,
I am running a, typically headless, server at home for several years now, that provides several services for our house (Home Assistant, Mosquitto, etc) as docker containers. So far it has been running on the Dietpie distribution (which to my knowledge is debian based).
A couple of days ago, I changed to Debian 12 and my system is quite unstable since then. Unstable in the sense that the system suddenly freezes. I have connected an external screen to be able to see the corresponding messeges upin freezing. Unfortunately, I fail to make much sense out of them.
Maybe someone on this forum can hint me into the right direction?
Scheduled Maintenance: Scheduled Forum update, upgrade, maintenance planned: 1800 UTC - May 28. viewtopic.php?t=159297
[Software] New Installation frequently crashes.
- ruwolf
- Posts: 669
- Joined: 2008-02-18 05:04
- Location: Banovce nad Bebravou
- Has thanked: 48 times
- Been thanked: 30 times
Re: [Software] New Installation frequently crashes.
Hello.
I am not expert, but for me it seems to be Linux kernel crash after calling program:
I am not expert, but for me it seems to be Linux kernel crash after calling program:
Do you have all used file-systems of your disks clean?linux/fs/binfmt_elf.c wrote:Code: Select all
/** * load_elf_phdrs() - load ELF program headers * @elf_ex: ELF header of the binary whose program headers should be loaded * @elf_file: the opened ELF binary file * * Loads ELF program headers from the binary file elf_file, which has the ELF * header pointed to by elf_ex, into a newly allocated array. The caller is * responsible for freeing the allocated data. Returns NULL upon failure. */
Re: [Software] New Installation frequently crashes.
Hi,
thanks for the reply!
I hope I understood your question correctly:
Actually yes, it was a clean re-install with /, /home, /boot and swap partitions being re-partitioned and formatted.
Maybe I just reinstall again...
thanks for the reply!
I hope I understood your question correctly:
Actually yes, it was a clean re-install with /, /home, /boot and swap partitions being re-partitioned and formatted.
Maybe I just reinstall again...
Last edited by dodgerts on 2024-05-07 06:24, edited 1 time in total.
-
- Global Moderator
- Posts: 3132
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 78 times
- Been thanked: 419 times
Re: [Software] New Installation frequently crashes.
Hello,
Did you do a complete fresh clean install or upgrade from the dietpie distribution?
----
[1] https://packages.debian.org/bookworm/containerd
How did you install Debian 12 ?
Did you do a complete fresh clean install or upgrade from the dietpie distribution?
The program that causes the kernel error is "containerd-shim" from the "containerd" package [1]. The crash is probably caused by an attempt by the kernel to access protected memory on behalf of "containerd-shim".dodgerts wrote: ↑2024-05-04 18:21 Unstable in the sense that the system suddenly freezes. I have connected an external screen to be able to see the corresponding messeges upin freezing. Unfortunately, I fail to make much sense out of them.
Maybe someone on this forum can hint me into the right direction?
----
[1] https://packages.debian.org/bookworm/containerd
Re: [Software] New Installation frequently crashes.
Yes, clean install. Only took docker container directories with configs and data (manual copy after installation) from the old system.
-
- Global Moderator
- Posts: 3132
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 78 times
- Been thanked: 419 times
Re: [Software] New Installation frequently crashes.
Just a guess: perhaps you may investigate what the Docker documentation advises in the case of container migration between different servers running different versions of Docker.
Please change the subject of the first post from "[Software] New Installation frequently crashes" to "[Software] Migrated Docker containers often crash".
Re: [Software] New Installation frequently crashes.
Sorry, I might have expressed myself not precise enough.
All that was migrated were the docker-compose file, as well as local mounted volumes containing the configurations and data for the corresponding container.
e.g. postgres config files and data for postgres container.
Since I considered it a major change (dietpi bullseye to debian bookworm), everything was tested on a secondary computer first. Here everything ran smoothely during test periods, but not as a production environment.
All that was migrated were the docker-compose file, as well as local mounted volumes containing the configurations and data for the corresponding container.
e.g. postgres config files and data for postgres container.
Since I considered it a major change (dietpi bullseye to debian bookworm), everything was tested on a secondary computer first. Here everything ran smoothely during test periods, but not as a production environment.
-
- Global Moderator
- Posts: 3132
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 78 times
- Been thanked: 419 times
Re: [Software] New Installation frequently crashes.
Hello,
You may consider to install and configure kdump-tools [1] to get automatic log recordings about the crashes and analyze system logs about clues.
Hope this helps.
---
[1] https://packages.debian.org/kdump-tools
You may consider to install and configure kdump-tools [1] to get automatic log recordings about the crashes and analyze system logs about clues.
Hope this helps.
---
[1] https://packages.debian.org/kdump-tools
Re: [Software] New Installation frequently crashes.
Thanks for the hint. I actually did not know this tool.
Just installed it...
Just installed it...