From owner-freebsd-current@freebsd.org Tue May 8 20:11:24 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99412FC8B92 for ; Tue, 8 May 2018 20:11:24 +0000 (UTC) (envelope-from freebsdnewbie@freenet.de) Received: from mout2.freenet.de (mout2.freenet.de [IPv6:2001:748:100:40::2:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "*.freenet.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DD668A86E for ; Tue, 8 May 2018 20:11:24 +0000 (UTC) (envelope-from freebsdnewbie@freenet.de) Received: from [195.4.92.142] (helo=mjail2.freenet.de) by mout2.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (port 25) (Exim 4.90_1 #2) id 1fG8xF-0006lm-MO; Tue, 08 May 2018 22:11:21 +0200 Received: from [::1] (port=52428 helo=mjail2.freenet.de) by mjail2.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (Exim 4.90_1 #2) id 1fG8xF-0004lx-IO; Tue, 08 May 2018 22:11:21 +0200 Received: from mx5.freenet.de ([195.4.92.15]:45196) by mjail2.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (Exim 4.90_1 #2) id 1fG8vE-0002k0-TX; Tue, 08 May 2018 22:09:16 +0200 Received: from p5b22af58.dip0.t-ipconnect.de ([91.34.175.88]:32981 helo=freebsd-t450.fritz.box) by mx5.freenet.de with esmtpsa (ID freebsdnewbie@freenet.de) (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (port 587) (Exim 4.90_1 #2) id 1fG8vE-00042L-DM; Tue, 08 May 2018 22:09:16 +0200 Date: Tue, 8 May 2018 22:09:14 +0200 From: Manuel =?iso-8859-15?Q?St=FChn?= To: "Ilya A. Arkhipov" Cc: freebsd-current@freebsd.org Subject: Re: Regression Resume Lenovo T450 Message-ID: <20180508200914.GA73930@freebsd-t450.fritz.box> References: <20180504060717.GA88565@freebsd-t450.fritz.box> <20180506072835.GA87831@freebsd-t450.fritz.box> <2d6ae48a-d4fe-bca6-761c-00f3ceb1e35e@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2d6ae48a-d4fe-bca6-761c-00f3ceb1e35e@yandex.ru> User-Agent: Mutt/1.9.5 (2018-04-13) X-Spamscore: -6.1 (------) X-Spamreport: Action: no action Symbol: ASN(0.00) Symbol: TO_DN_SOME(0.00) Symbol: RCVD_VIA_SMTP_AUTH(0.00) Symbol: BAYES_HAM(-3.00) Symbol: NEURAL_HAM(-3.00) Symbol: RCPT_COUNT_TWO(0.00) Symbol: TO_MATCH_ENVRCPT_ALL(0.00) Symbol: FROM_EQ_ENVFROM(0.00) Symbol: MIME_GOOD(-0.10) Symbol: RCVD_TLS_ALL(0.00) Symbol: FROM_HAS_DN(0.00) Symbol: RCVD_COUNT_ONE(0.00) Message-ID: 20180508200914.GA73930@freebsd-t450.fritz.box X-FN-Spambar: X-Originated-At: 91.34.175.88!32981 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2018 20:11:24 -0000 On Tue, May 08, 2018 at 11:16:48AM +0300, Ilya A. Arkhipov wrote: >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 My T450 does resume now with an current CURRENT(r333291), but unfortunately i do not know why... I tried to track down the phenomenon. I saw that the kernel seemed not to be involved in this matter, since the old BE equipped with a new kernel was able to resume. I cloned the BE capable of resuming and startet copying userland-stuff from the "default" BE to this BE. Stuff was like bin/sbin/lib/libexec folders from / and /usr and so on. It stayed able to resume! Then i made an installworld/installkernel of r333291 into this BE, (but without mergemaster)! Even after this it stayed able to resume! Then I backed up the /etc folder of my "default" BE (which was not able to resume) and copied the /etc from the old BE to "default". After this, "default" was also able to resume again! Long story short, i'm happy my machine resumes again, but i do not have a clue why... P.S. I'm useing drm-stable-kmod, drm-next-kmod did not work for me. -- Manuel