Re: FreeBSD 13-RC2 on Lenovo ThinkPad T450, suspend/resume doesn't always work.

From: <2yt_at_gmx.com>
Date: Mon, 11 Apr 2022 18:02:27 UTC
On 4/11/22 11:27, Maurizio Vairani wrote:
> When the resume doesn’t work in the /var/log/Xorg.0.log file there are 
> these error messages:
> 
> 
> [  3677.281] (EE)
> 
> [  3677.281] (EE) Backtrace:
> 
> [  3677.284] (EE) 0: /usr/local/bin/Xorg (?+0x0) [0x41e2aa]
> 
> [  3677.285] (EE) 1: /lib/libthr.so.3 (_pthread_sigmask+0x54e) [0x80093358e]
> 
> [  3677.287] (EE) 2: /lib/libthr.so.3 (_pthread_setschedparam+0x82f) 
> [0x800932b3f]
> 
> [  3677.289] (EE) 3: ? (?+0x0) [0x7ffffffff8a3]
> 
> [  3677.291] (EE) 4: /lib/libc.so.7 (__sys_thr_kill+0xa) [0x800a7e33a]
> 
> [  3677.293] (EE) 5: /lib/libthr.so.3 (_pthread_setschedparam+0x6f0) 
> [0x800932a00]
> 
> [  3677.295] (EE) 6: ? (?+0x0) [0x0]
> 
> [  3677.297] (EE) 7: /lib/libc.so.7 (__raise+0x34) [0x8009f6c74]
> 
> [  3677.297] (EE) unw_step failed: unspecified (general) error [-1]
> 
> [  3677.297] (EE)
> 
> [  3677.297] (EE)
> 
> Fatal server error:
> 
> [  3677.297] (EE) Caught signal 6 (Abort trap). Server aborting
> 
> [  3677.297] (EE)
> 
> [  3677.297] (EE)
> 
> Please consult the The X.Org Foundation support
> 
>       at http://wiki.x.org <http://wiki.x.org>
> 
>   for help.
> 
> [  3677.297] (EE) Please also check the log file at 
> "/var/log/Xorg.0.log" for additional information.
> 
> [  3677.297] (EE)
> 
> [  3677.298] (EE) Server terminated with error (1). Closing log file.
> 
> 
> What can I do ?
> 
> Thanks in advance
> 
> –
> 
> Maurizio
> 

There is a very similar bug report that has been open and unresolved for 
over a year.  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254472

In bug report 254472 the drm crash actually occurs during suspend with 
the following error written to console.

drmn0 Failed to idle engines, declaring wedged!