Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2018 11:16:48 +0300
From:      "Ilya A. Arkhipov" <rum1cro@yandex.ru>
To:        =?UTF-8?Q?Manuel_St=c3=bchn?= <freebsdnewbie@freenet.de>, freebsd-current@freebsd.org
Subject:   Re: Regression Resume Lenovo T450
Message-ID:  <2d6ae48a-d4fe-bca6-761c-00f3ceb1e35e@yandex.ru>
In-Reply-To: <20180506072835.GA87831@freebsd-t450.fritz.box>
References:  <20180504060717.GA88565@freebsd-t450.fritz.box> <20180506072835.GA87831@freebsd-t450.fritz.box>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe@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@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@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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2d6ae48a-d4fe-bca6-761c-00f3ceb1e35e>