Closed am9zZWY closed 1 year ago
might be similar to this one https://github.com/MichaIng/DietPi/issues/5886
Probably not exactly the same, but of similar kind, actually more similar to: #5554
Does it work to append systemd.unified_cgroup_hierarchy=0
to the last line of /boot/extlinux/extlinux.conf
?
MR up: https://gitlab.com/pgwipeout/quartz64_ci/-/merge_requests/5 But Peter hasn't been responsive to my other MR's so far, so no guarantee š.
Do I have to restart the system after the change?
yes
No, it didn't help
Can you show the file content:
cat /boot/extlinux/extlinux.conf
And is the error message the same, or a different one?
root@DietPi:~# cat /boot/extlinux/extlinux.conf
default l0
menu title Quartz64 boot menu
prompt 0
timeout 10
label l0
menu label Boot primary OS
linux /boot/vmlinuz
fdt /boot/rk3566-quartz64-a.dtb
append earlycon=uart8250,mmio32,0xfe660000 console=ttyS2,1500000n8 console=tty1 root=PARTUUID=e28ca6fa-01 rootfstype=ext4 rootwait fsck.repair=yes net.ifnames=0
systemd.unified_cgroup_hierarchy=0
The error message is the same
The settings needs to be "appended to the last line" and not added as new line š:
default l0
menu title Quartz64 boot menu
prompt 0
timeout 10
label l0
menu label Boot primary OS
linux /boot/vmlinuz
fdt /boot/rk3566-quartz64-a.dtb
append earlycon=uart8250,mmio32,0xfe660000 console=ttyS2,1500000n8 console=tty1 root=PARTUUID=e28ca6fa-01 rootfstype=ext4 rootwait fsck.repair=yes net.ifnames=0 systemd.unified_cgroup_hierarchy=0
Omg! Yeah it works š
Okay great. So same as with Tinker Board, we can either add this OOTB to both boards' boot settings, or we add it whenever Docker or K3s is installed. We already add this when a too low kernel version is detected, so this seems to be a good hook to minimise possible other negative impacts of forcing legacy cgroupv1.
Solved with, until the missing module is available: https://github.com/MichaIng/DietPi/commit/e41cd73
Better approach: https://github.com/MichaIng/DietPi/commit/3248247
Now solving this really.
Our new set of images has the needed kernel features now included, so that disabling cgroupv2 is not needed anymore: https://dietpi.com/downloads/images/testing/
The kernel itself can be upgraded as well with the matching firmware package from here: https://dietpi.com/downloads/binaries/
Will ship this upgrade with next DietPi update, after some more testing and probably little enhancements to the kernel config.
Details:
Linux DietPi 6.1.0-rc1 #1 SMP PREEMPT Wed Nov 9 01:08:14 UTC 2022 aarch64 GNU/Linux
docker run -d -p 9002:9000 --name=portainer --restart=always -v /run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
Steps to reproduce:
Expected behaviour:
Actual behaviour:
Extra details:
systemd.unified_cgroup_hierarchy=0
to some/boot/boot.ini
file, which I don't have.Additional logs: