Hi! > I encountered a kernel panic when using the Hibernation on kernel version 6.1.25. Below are the details of the issue: > > **Description:** > When I enable CONFIG_HIBERNATION and assign a specific partition for hibernation resuming and perform a specific operation, the system crashes with a kernel panic. > > CONFIG_HIBERNATION=y > CONFIG_PM_STD_PARTITION="/dev/mmcblk0p16" > > **Steps to Reproduce:** > 1. Set printk to level 8: ` echo 8 > /proc/sys/kernel/printk` > 2. Set up the swap partition: ` mkswap /dev/mmcblk0p16` > 3. Enable the swap partition: ` swapon -p -3 /dev/mmcblk0p16` > 4. Configure hibernation resuming settings: ` echo "/dev/mmcblk0p16" > /sys/power/resume` > 5. Configure hibernation mode:` echo reboot > /sys/power/disk` > 6. Perform the operation: ` echo disk > /sys/power/state` > 7. Observe the kernel panic > > > **Expected Behavior:** > The operation should complete successfully without causing a kernel panic. > > **Actual Behavior:** > The system crashes with a kernel panic. > > **Environment:** > - Kernel version: 6.1.25 > - Distribution: Yocto 4.0 32bit/Kernel 6.1.25 32bit > - Hardware: Arm Cortex A55, 1GB RAM We'd need to know way more about the hardware. Also testing with latest mainline would be useful. Best regards, Pavel -- People of Russia, stop Putin before his war on Ukraine escalates.