Open truatpasteurdotfr opened 7 months ago
It is possibly a side effect to the kernel version change due to adding zfs support.
I have an BUG: kernel NULL pointer dereference, address: 0000000000000020
in dmesg for v19
compared to v18 in dmesg
.
dmesg.v18.txt
dmesg.v19.txt
v19 "poweroff" last lines read:
[ OK ] Reached target System Power Off.
but stays there forever.
I have remove the recommended line from the configuration file:
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
And the v20 poweroff and reboot without hanging.
Version 19 -> 20:
initrd-linux: 6.7.10 → 6.1.82, -163.5 KiB
kernel: -334.5 KiB
linux: 6.7.10, 6.7.10-modules → 6.1.82, 6.1.82-modules, -15245.4 KiB
nixos-system-mbp121: 23.11.5648.44733514b72e → 23.11.5742.219951b495fc
zfs-kernel: 2.2.3-6.7.10 → 2.2.3-6.1.82, -184.1 KiB
dmesg attached is no longer reporting the BUG: kernel NULL pointer dereference
error.
dmesg.v20.txt
kernel 6.7.10 bug?
Describe the bug
Nixos fails to poweroff/reboot when the following lines are enabled in
configuration.nix
and rebooted.Steps To Reproduce
Steps to reproduce the behavior:
/etc/nixos/configuration.nix
# nixos-rebuild switch --upgrade
and rebootExpected behavior
proper reboot or poweroff is expected.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
It is a multiboot setup (grub) with monteray/debian 12/nixos. The debian 12 with zfs poweroff/reboot without hanging.
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Version 19 is hanging with zfs Version 18 is fine
Version 18:
Version 19:
Add a :+1: reaction to issues you find important.