Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED W/CAVEAT] No suspend on Meteor Lake-P with coreboot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
NP_complete
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2009
Posts: 135

PostPosted: Wed Aug 07, 2024 4:56 pm    Post subject: [SOLVED W/CAVEAT] No suspend on Meteor Lake-P with coreboot Reply with quote

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
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Thu Aug 08, 2024 10:16 am    Post subject: Reply with quote

Hello,

Could you please provides us the output of this command :

Code:
emerge --info


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
View user's profile Send private message
NP_complete
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2009
Posts: 135

PostPosted: Thu Aug 08, 2024 5:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5051
Location: Bavaria

PostPosted: Thu Aug 08, 2024 9:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
NP_complete
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2009
Posts: 135

PostPosted: Thu Aug 08, 2024 11:41 pm    Post subject: Reply with quote

@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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5051
Location: Bavaria

PostPosted: Fri Aug 09, 2024 12:42 am    Post subject: Reply with quote

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
View user's profile Send private message
NP_complete
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2009
Posts: 135

PostPosted: Fri Aug 09, 2024 1:05 am    Post subject: Reply with quote

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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5051
Location: Bavaria

PostPosted: Fri Aug 09, 2024 10:53 am    Post subject: Reply with quote

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
View user's profile Send private message
nicop
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2014
Posts: 83

PostPosted: Fri Aug 09, 2024 11:40 am    Post subject: Reply with quote

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
View user's profile Send private message
NP_complete
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2009
Posts: 135

PostPosted: Sat Aug 10, 2024 7:46 am    Post subject: Reply with quote

@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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum