View previous topic :: View next topic |
Author |
Message |
NP_complete Tux's lil' helper
Joined: 21 Mar 2009 Posts: 136
|
Posted: Wed Aug 07, 2024 4:56 pm Post subject: [SOLVED W/CAVEAT] No suspend on Meteor Lake-P with coreboot |
|
|
My laptop uses coreboot as its BIOS system, and I can't use suspend. It acts like it's trying to suspend, only to bounce back shortly. The kernel config seems ok. My hardware profile, via lspci -nnk, is here.
Many thanks.
Last edited by NP_complete on Thu Aug 08, 2024 11:47 pm; edited 1 time in total |
|
Back to top |
|
|
kgdrenefort Guru
Joined: 19 Sep 2023 Posts: 312 Location: Somewhere in the 77
|
Posted: Thu Aug 08, 2024 10:16 am Post subject: |
|
|
Hello,
Could you please provides us the output of this command :
Giving us a lot of details about your Gentoo software and hardware configuration.
What is your GPU card ? I might remember the NVidia could have problem for suspending or going hibernate.
How do you try to do that ? GUI (which one) ? Command-line (which one) ?
Do you use wayland server or X.org ?
Regards,
GASPARD DE RENEFORT Kévin _________________ Traduction wiki, pour praticiper.
Custom logos/biz card/website. |
|
Back to top |
|
|
NP_complete Tux's lil' helper
Joined: 21 Mar 2009 Posts: 136
|
Posted: Thu Aug 08, 2024 5:45 pm Post subject: |
|
|
GASPARD DE RENEFORT Kévin, thank you for replying. Here is my emerge --info. My GPU is: Quote: | 00:02.0 VGA compatible controller [0300]: Intel Corporation Meteor Lake-P [Intel Graphics] [8086:7dd5] (rev 08)
DeviceName: VGA compatible controller
Subsystem: Intel Corporation Meteor Lake-P [Intel Graphics] [8086:7dd5]
Kernel driver in use: i915
Kernel modules: i915 | I am using GNOME on Wayland. I tried suspending both from the command line (systemctl suspend) and from the GUI. Same result. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5093 Location: Bavaria
|
Posted: Thu Aug 08, 2024 9:04 pm Post subject: |
|
|
What we need is the output of dmesg. Best would be: A new system start - then do nothing but trying to suspend; then do "dmesg".
And of course your current kernel .config _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
NP_complete Tux's lil' helper
Joined: 21 Mar 2009 Posts: 136
|
Posted: Thu Aug 08, 2024 11:41 pm Post subject: |
|
|
@pietinger, thanks for the great lead! That was a great one, indeed. As I was pouring through dmesg output, I saw Quote: | [ 23.802806] e1000e 0000:00:1f.6: PM: failed to suspend async: error -2 |
Blacklisting e1000e got the suspend working. The obvious question then became: how do I get the Ethereal device to suspend properly? I searched around and found not one but two relevant bug reports, both filed on June 5th this year, and a third one from 2018. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5093 Location: Bavaria
|
Posted: Fri Aug 09, 2024 12:42 am Post subject: |
|
|
NP_complete wrote: | Blacklisting e1000e got the suspend working. The obvious question then became: how do I get the Ethereal device to suspend properly? I searched around and found not one but two relevant bug reports, both filed on June 5th this year, [..] |
Which kernel version do you use ? Maybe try another (later) ? Maybe change from 6.6 to 6.10 (because they said in the bug it is fixed in 6.10).
I know only a report where Gentoo users had problems with resume after suspend ( https://forums.gentoo.org/viewtopic-t-1166274.html ) and there was a suggestion to disable:
Code: | [*] Networking support --->
[ ] Netlink interface for ethtool |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
NP_complete Tux's lil' helper
Joined: 21 Mar 2009 Posts: 136
|
Posted: Fri Aug 09, 2024 1:05 am Post subject: |
|
|
Hm... I am already using 6.10.2, and I disabled the kernel option you suggested. Same error. Unless you say otherwise, it looks like I must wait for the other bug to get fixed, hoping this will fix my issue. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5093 Location: Bavaria
|
Posted: Fri Aug 09, 2024 10:53 am Post subject: |
|
|
NP_complete wrote: | Hm... I am already using 6.10.2, and I disabled the kernel option you suggested. Same error. Unless you say otherwise, it looks like I must wait for the other bug to get fixed, hoping this will fix my issue. |
Yes ... for testing you could boot with a 6.6 LiveCD and check if suspend works there (then you really know for sure its a kernel/driver problem). _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
nicop Tux's lil' helper
Joined: 10 Apr 2014 Posts: 88
|
Posted: Fri Aug 09, 2024 11:40 am Post subject: |
|
|
Maybe try to disable offload before suspend ? :
Code: | ethtool -K ethXX rx off tx off sg off gso off tso off |
EDIT : try all of them |
|
Back to top |
|
|
NP_complete Tux's lil' helper
Joined: 21 Mar 2009 Posts: 136
|
Posted: Sat Aug 10, 2024 7:46 am Post subject: |
|
|
@pietinger, I found something interesting. The suspend does work even with e1000e present AS LONG AS there is an Ethernet connection. This is the same scenario this previously mentioned bug describes.
Following your advice, on (OpenRC-based) Live CD, I tried to trigger suspend-to-RAM by running Quote: | echo mem > /sys/power/state | as root, but it said "operation not permitted". On Minimal CD, it reacted by saying "not implemented". The power button triggered shutdown in both cases. I will post the results if I get hold of other (i.e. non-Gentoo) live CDs.
@nicop, thanks for the info. The Ethernet interface does not show up unless the cable is plugged in. ethtool can't do much on an interface that does not exist, right? On the other hand, when the cable is plugged in, the suspend works as expected, as I just outlined. |
|
Back to top |
|
|
|