From owner-freebsd-acpi@freebsd.org Sat Oct 17 15:14:49 2015 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F47EA17BB7 for ; Sat, 17 Oct 2015 15:14:49 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7D33A263; Sat, 17 Oct 2015 15:14:49 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id 0AF371BF4; Sat, 17 Oct 2015 15:14:48 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Sat, 17 Oct 2015 15:14:47 +0000 From: Glen Barber To: Eric McCorkle Cc: "freebsd-acpi@freebsd.org" Subject: Re: Old suspend/resume issue likely root cause Message-ID: <20151017151447.GH15305@FreeBSD.org> References: <5622648F.2090509@metricspace.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="YrQNB5Deg1WGKZi3" Content-Disposition: inline In-Reply-To: <5622648F.2090509@metricspace.net> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2015 15:14:49 -0000 --YrQNB5Deg1WGKZi3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 17, 2015 at 11:09:03AM -0400, Eric McCorkle wrote: > A while back (in May or June or so), I was attempting to figure out why my > laptop screen stayed blank on suspend/resume. I posted some dmesg outputs > and theorized that it might be something about the devices coming back up= in > the wrong order. John Baldwin suggested I try doing > hw.pci.do_power_suspend=3D0. >=20 > I got tangled up with other projects and had to set it aside. However, I > now finally have more information: >=20 >=20 > * hw.pci.power_suspend=3D0 does cause the screen to come back up properly. > The network (wireless via iwm driver) needs to be re-initialized, but > everything else seems to work properly. >=20 > * Without hw.pci.power_suspend=3D0, the issue persists even when booting = =66rom > EFI, so we can rule out some kind of legacy BIOS issue. The issue manife= sts > even with the experimental i915 driver, so we can rule out something with > the efifb or VGA framebuffer drivers. >=20 >=20 > Based on this, it looks pretty likely that the pci bus is the culprit. Any > suggestions on where to look? What graphics chipset do you have? I noticed with dumbbell's i915kms update branch [1], suspend/resume now works for me with Haswell graphics, whereas previously I would experience the same blank screen on resume you report. (And I also see the iwm(4) reinitialization issue, as well.) [1] https://github.com/freebsd/freebsd-base-graphics.git branch drm-i915-update-38 Glen --YrQNB5Deg1WGKZi3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWImXnAAoJEAMUWKVHj+KTpYYQAIU4gE1FWA+MWbVQ2EB6+xDR H9zZQX5D+tMIbCsVCdB5lapVCO3r9dk93TfwKfP9wVhYfdTL0dbtc6mHvrzXhM2l QRJGAPgm9qPBWa4H1MPMH4N/e7H31276+GgBTux+AZfqzMy8+LEp9VyxJ6l4QtxL bK9LbaxqROlaNmG2ZX2mzk/kBLBdBe8huB7BHnhqkf1XN94Bq18z4d+Jw7WL8CFG NnAaQ3sRilHU7/PsEyAHRNC5B9sxP64y3nrnli7jgLAU00CfKXCxaSnTuE3dYWGS vzntS/WaJsecQ/q7bepotxsdqEprSVZiMMCfFdv5yWad5qHZbDtfAVIFJ9iFGW0u XU5yQd+rPp6JjS/Qs/FMuJPkwRYuCHAX4O7IivA4BMUQYnXmYCFGAgZZJqME5u+1 SJ9H7yG68IIhF8SClBIyKGwDjE9KiDwNcf7gVTJi3vhd9+mF2NSLU/8ahR0QLpKc +Z+kZRBXTOnR26J0cuUS/o7sNavMrD5OWozRtqC+gfv4++R4mpY3NrfSrHehoFuj c7mxG5b+z9o9ESuhim+Q245QUbbJm8nRZ2oJXbEbuiKkKvU0bGB5ljAFiVRNhNK0 hZ7SIgYx6B0THAES6BpqJfxtu1A3n4J9rNzicAxbvUK2DxUlE96/63nvVW78/NHO eg9hcjONmJEAGL/TkZkY =f0BQ -----END PGP SIGNATURE----- --YrQNB5Deg1WGKZi3--