Description of problem: Whatever is the mean used to hibernate, wake up never happens : - "rtcwake -m disk -s 60" doesn't work - "echo `date '+%s' -d '+ 1 minute'` > /sys/class/rtc/rtc0/wakealarm" followed by "systemctl hibernate (or Hibernate Button pushed)" doesn't work - "systemctl hibernate" followed by a keystroke on usb keyboard doesn't work Though everything seems to be OK such as : cat /sys/power/disk [platform] shutdown reboot suspend test_resume cat /sys/power/state freeze mem disk Hibernate itself works : system shutdown and when I push the Power On button, the environment is restored as it was before hibernation. Only Wake up is failing. More, the following actions are run without any issue : - rtcwake -m mem -s 60 does work - systemctl suspend followed by a keystroke on usb keyboard does work By the way wake up from hibernate works also on Mageia-8 / kernel 5.15.126-desktop-1.mga8 and ubuntu 22.04 / kernel 5.15.0-88-generic It seems that a similar bug was mentioned in this following recent email : https://lore.kernel.org/all/CAJZ5v0iLCsiPncA1t7ogtpch9gjGjzjtDU6G5E+PHB8ZCHgY0A@mail.gmail.com/T/ ... but was not recorded in bugzilla. I assume the patch proposed here has for target a recent kernel version with regards the date of the email. Version-Release number of selected component : Mageia-9 / kernel-desktop-6.4.16-3. How reproducible: - "rtcwake -m disk -s 60" or - "echo `date '+%s' -d '+ 1 minute'` > /sys/class/rtc/rtc0/wakealarm" followed by "systemctl hibernate (or Hibernate Button pushed)" or - "systemctl hibernate" followed by a keystroke on usb keyboard
As a first step, could you try with the vanilla kernel, i.e kernel-linus-6.4.16-6 from updates_testing?
CC: (none) => fri
Done. With kernel-6.4.16-6.mga9, results are the same as with kernel-desktop-6.4.16-3: No wake up from hibernate with rtcwake, wakealarme, USB keyboard.
OK, assigning our kernel and drivers experts
Assignee: bugsquad => kernel
This bug was observed on an Intel computer (NUC12xxxi5). After investigation, I discovered that "Wake up from hibernation" works on the same distribution and the same kernel (Mageia-9 / kernel-desktop-6.4.16-3.mga9) but on another computer (Intel NUC11xxxi3) and only with "Deep S4/S5" BIOS parameter Disabled. This parameter is absent from NUC12xxxi5 BIOS, but another new parameter "Pseudo G3" seems to replace the old "Deep S4/S5". Wake up from hibernation now works also on NUC12xxxi5 after disabling the new BIOS parameter "Pseudo G3".
Resolution: (none) => FIXEDStatus: NEW => RESOLVED
Thank you for the investigation and report. I wonder if there is some place on internet gathering all the BIOS quirks...