Bug 264145 - Resume fails randomly on T480 (again on 13.1)
Summary: Resume fails randomly on T480 (again on 13.1)
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 13.1-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-22 07:46 UTC by brtastic.dev
Modified: 2023-04-26 06:17 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brtastic.dev 2022-05-22 07:46:08 UTC
Was discussed before, on 13.0:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255745

I recently upgraded 12.3 -> 13.1, and the problem is still present. The symptoms are same as before: screen does not turn on, power light keeps blinking, I can hear fans start spinning after I open the lid. The only way out is to turn the machine off by holding the power button.

In /var/log/messages, last log is acpi[60700]: suspend at 20220521 23:56:15. Happened twice in less than a week, so the frequency may be a bit lower, but can't really tell for sure.
Comment 1 Gherman 2022-06-01 09:16:37 UTC
I have the same problem on thinkpad x270. 
I upgraded from 13.0 R to 13.1 R, bug with randomly freeze from resume still continuing
Comment 2 Gherman 2022-06-02 02:27:57 UTC
I tried to detach hda and tested during one day, the problems with resume still happens randomly 

pciconf -l | grep hda
hdac0@pci0:0:31:3:      class=0x040300 rev=0x21 hdr=0x00 vendor=0x8086 device=0x9d71 subvendor=0x17aa subdevice=0x5062

devctl detach pci0:0:31:3

acpiconf -s 3
Comment 3 martin 2022-09-17 15:58:52 UTC
I've freshly installed 13.1 p2 on a Thinkpad X250 (xfce desktop) and am having this issue. The machine suspends without problem but will not resume. This happens 100% of the time. The power light blinks and I'm forced to do a hard power-off. /var/log/messages shows nothing past the machine going into suspend. Please let me know if I can offer any more information.
Comment 4 martin 2022-10-05 20:44:32 UTC
Just wanted to add that my problem is likely unrelated as I've found my issue. I had to disable tpm in bios (or load the tpm kernel module).
Comment 5 John Grafton 2022-11-22 16:17:32 UTC
(In reply to brtastic.dev from comment #0)
Hi brtastic,

I began using a T480 for FreeBSD dev work awhile ago and haven't had much trouble with it.  It fails to resume every once and awhile but that's rare and certainly not a show stopper for me.  I'm running 13.1-RELEASE.

After Mark's patch for the hda driver from bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255745, the X1 Gen6 didn't have issues any longer either.  I guess my only recommendation would be to boot a MINIMAL kernel from releng/13.1 and see if it has an issue.
Comment 6 brtastic.dev 2023-04-26 06:17:56 UTC
I have updated to recently released 13.2-RELEASE. Been using the laptop heavily for the last two weeks (must've been well over 20 suspends) and haven't encountered this problem. So seems like even if it is still an issue in 13.2, it is rare enough to be tolerable.