Skip to content
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

kexec + hibernation doesn't work #54140

Open
r-ricci opened this issue Jan 28, 2025 · 0 comments
Open

kexec + hibernation doesn't work #54140

r-ricci opened this issue Jan 28, 2025 · 0 comments

Comments

@r-ricci
Copy link
Contributor

r-ricci commented Jan 28, 2025

I'm trying to find the cause of this bug: zbm-dev/zfsbootmenu#702.
I've reported it here, but others didn't have luck reproducing it.
So I'm asking here if someone else is able to reproduce or if I'm just hallucinating. I also think some kernel config used by Void is playing a role, but I don't know which one.

First, comment out kernel.kexec_load_disabled=1 in /usr/lib/sysctl.d/10-void-user.conf and reboot (uncomment it again when done testing).
Then do something like this:

# kexec -l /boot/vmlinuz-6.12.11_1 --initrd=/boot/initramfs-6.12.11_1.img --reuse-cmdline
# reboot  #this calls kexec -e
# printf reboot >/sys/power/disk
# printf disk >/sys/power/state

A kernel oops should occur when the system resumes.

If possible, you should try this on a system without ZFS, so the kernel doesn't get tainted.

Please, let me know your suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant