You are not logged in.

#1 2022-12-27 08:45:36

giuseppe998e
Member
From: Italy
Registered: 2022-12-27
Posts: 5
Website

Laptop reboots after resuming from suspend (deep)

Hi, I have a problem with the mem_sleep_default=deep setting on my laptop.
It is enabled correctly, but when my PC resumes from sleep state, it resets/restarts without error.

I'm using the last arch-kernel (Linux 6.1.1-arch1-1 #1 SMP PREEMPT_DYNAMIC).
This is my sudo journalctl -b -1: https://paste.rs/6b9.

Thank you in advance and happy holidays!

P.S.
1 - I read that updating the bios fixed the problem in some PCs, I did the same but nothing changed.
2 - I've the watchdog service disabled by TLP. I don't know if it matters in this scenario...

Last edited by giuseppe998e (2022-12-27 08:52:23)

Offline

#2 2022-12-27 10:35:57

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Laptop reboots after resuming from suspend (deep)

Does removing TLP help? How about the LTS kernel?

The journal seems to cut off just after resuming from suspend. Does the machine actually reboot or does it just freeze? Are those the full logs?

Offline

#3 2022-12-27 23:30:43

giuseppe998e
Member
From: Italy
Registered: 2022-12-27
Posts: 5
Website

Re: Laptop reboots after resuming from suspend (deep)

Head_on_a_Stick wrote:

Does removing TLP help?

Nothing changes, I stopped and disabled it but after ~30sec the PC did reboot.
The "new" logs (seems equal to the previous ones): https://paste.rs/7j3.

Head_on_a_Stick wrote:

How about the LTS kernel?

Same result: https://paste.rs/Z5u

Head_on_a_Stick wrote:

The journal seems to cut off just after resuming from suspend. Does the machine actually reboot or does it just freeze?

The PC reboots, not freezes. Everything seems to work fine in the 30 seconds or so after the resume and before the crash-and-restart.

Head_on_a_Stick wrote:

Are those the full logs?

Yes

Offline

#4 2022-12-27 23:36:31

giuseppe998e
Member
From: Italy
Registered: 2022-12-27
Posts: 5
Website

Re: Laptop reboots after resuming from suspend (deep)

I noticed that in all three logs there is the same line before the crash:

Dec 28 00:06:19 kernel: i2c_designware i2c_designware.0: controller timed out

Could it be this?

I actually had another kind of problem with the i2c driver that controls touchscreen and mouse. Basically after a while from powering up it would make the mouse stop working, and force me to reboot. I never fixed it, it just disappeared after a kernel update I guess.

---

EDIT: The last logs does not contain that error, so I exclude it is relevant

Last edited by giuseppe998e (2022-12-28 08:29:49)

Offline

#5 2022-12-28 11:34:55

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Laptop reboots after resuming from suspend (deep)

Try adding these kernel command line parameters via your bootloader:

tpm_tis.force=1 tpm_tis.interrupts=0

Reference: https://bugs.launchpad.net/ubuntu/+sour … omments/70

If that doesn't work try the suggestions here.

Offline

#6 2022-12-29 15:40:59

giuseppe998e
Member
From: Italy
Registered: 2022-12-27
Posts: 5
Website

Re: Laptop reboots after resuming from suspend (deep)

Head_on_a_Stick wrote:

Try adding these kernel command line parameters via your bootloader:

tpm_tis.force=1 tpm_tis.interrupts=0

Reference: https://bugs.launchpad.net/ubuntu/+sour … omments/70

If that doesn't work try the suggestions here.

Neither one works, so for now I've tried to work around the problem by keeping the s2idle and adding the nvme.noacpi=1 option, which I've read makes the s2idle pretty much equal in terms of power consumption to deep sleep.

I hope the problem, will be solved because without a proper log it is practically impossible to understand the reason in my opinion.

Offline

Board footer

Powered by FluxBB