Re: Regression Resume Lenovo T450

From: Ilya A. Arkhipov <rum1cro_at_yandex.ru>
Date: Tue, 8 May 2018 11:16:48 +0300
On 06.05.2018 10:28, Manuel Stühn wrote:
> On Fri, May 04, 2018 at 08:07:17AM +0200, Manuel Stühn wrote:
>>
>> Since some time now CURRENT runs very smoothly on my Lenovo T450 in
>> conjunction with drm-stable-kmod installed. WLAN, Suspense&Resume worked
>> out of the box (at least ... until now). Due to pkg(8) complaining about
>> wrong ABI of packages, I've made an update from r332385 (1200061) to
>> r333091 (1200062), and now the T450 does not resume anymore; i have to
>> hold the power button for some time to power it down. The
>> ZFS-Boot-Environment I've made beforehand updating is still capable of
>> resuming.
>>
>> I tried to find out which commit broke the resume for me by installing
>> older kernels, but even installing r332385 kernel (into the actual
>> r333091 userland) does not restore its capability to resume.
>>
>
> Some more testing has happened:
>
> Since I have a BootEnvironment capable of suspend/resume, I've tried 
> some combinations of kernels (in fact, whole boot-folders) and 
> unserlands. I copied the boot-folder from the BE r332385 (which works) 
> into the current BE and restarted. This combination was NOT able to 
> resume. But the other way around is (current boot-folder (r333091) in 
> the r332385 based BootEnvironment)
>
> It seems to me, that not the kernel but either some change in userland 
> or package broke the resume somehow. But I do not have a clue, which 
> of those even can impact the resume procedure at all. Two packages 
> came to my mind:
>
> 1. graphics/drm-stable-kmod, but the installed packages are identical 
> for both, the "old" and the current BE. (both packages are installed 
> from ports along with the respective buildworld+buildkernel)
>
> 2. The firmwares used by sysutils/cpupdate, but after replacing the 
> firmware files with the firmwares from the old BE resume still doesn't 
> work.
>
> Any ideas?
>
> -- 
> Manuel
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe_at_freebsd.org"
Hi,

I have same issue (thinkpad T450s) after resume notebook cant wake up 
but on:
  FreeBSD 12.0-CURRENT #0 r332796: Fri Apr 20 00:42:44 UTC 2018 
root_at_releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
with:
drm-next-kmod-4.11.g20180224
gpu-firmware-kmod-g20180206_1

# sysctl debug.bootverbose=1
# sysctl debug.acpi.suspend_bounce=1

In log (I think it related):
May  8 01:05:06 m1cro kernel: vgapci0: child drmn0 requested 
pci_set_powerstate
May  8 01:05:06 m1cro kernel: pci0:0:2:0: Transition from D0 to D3
May  8 01:05:06 m1cro kernel: pci0: set ACPI power state D3 on 
\_SB_.PCI0.VID_
May  8 01:05:06 m1cro kernel: pci0: failed to set ACPI power state D3 on 
\_SB_.PCI0.VID_: AE_BAD_PARAMETER

where pci0:0:2:0:
vgapci0_at_pci0:0:2:0:     class=0x030000 card=0x503617aa chip=0x16168086 
rev=0x09 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'HD Graphics 5500'
     class      = display
     subclass   = VGA
Received on Tue May 08 2018 - 06:16:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:15 UTC