From owner-freebsd-current@freebsd.org Tue May 15 15:09:16 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 32A78EE0420 for ; Tue, 15 May 2018 15:09:16 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A542E81FE7; Tue, 15 May 2018 15:09:15 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 40lgvZ03p5zDhSJ; Tue, 15 May 2018 15:09:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1526396953; bh=wR1W8WErrnzqgfQG37adoOmQ qey5tfSarYnPlQXDR8E=; b=Kkdr2JeuicvVaaQD0asvnn+dbn94+mjeRZmacR6t yBCsgMbZA1CoO2ZFpjZK1uPW1N+8XVd/TBmusAQjC781Ef3kRxqj4YBRvkmJXnct NomsAYwJI6yh+LLIp7xKnxDuSLJY7wBdgVZeNkLNgaUUFXCL5AoTdg9ZQwJByhy7 p6w= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id 8YnLoW27en68; Tue, 15 May 2018 15:09:13 +0000 (UTC) Received: from garnet.daemonic.se (host-90-236-56-126.mobileonline.telia.com [90.236.56.126]) by mail.daemonic.se (Postfix) with ESMTPSA id 40lgvY1dWdzDhBg; Tue, 15 May 2018 15:09:13 +0000 (UTC) Subject: Re: suspend/resume regression To: Pete Wright , Theron , Andriy Gapon , FreeBSD Current References: <1e608109-fcdd-d794-b03a-2e417300b95a@nomadlogic.org> <3488a8a4-8cad-d6a8-0852-3bbbdd971c7f@gmail.com> <26f5ec31-3994-eac9-0c43-6d2458c35ad0@nomadlogic.org> <9f7fcdaa-99ea-98f4-8ef3-c8da6060542e@nomadlogic.org> <35d0f223-681a-205a-0f57-4ec360761726@nomadlogic.org> From: Niclas Zeising Message-ID: <86e84442-d54c-a7da-3849-d0d1ad6e7475@daemonic.se> Date: Tue, 15 May 2018 17:09:12 +0200 User-Agent: Mutt/1.5.21 MIME-Version: 1.0 In-Reply-To: <35d0f223-681a-205a-0f57-4ec360761726@nomadlogic.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 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, 15 May 2018 15:09:16 -0000 On 05/15/18 16:48, Pete Wright wrote: >=20 >=20 > On 05/14/2018 20:35, Theron wrote: >> On 05/13/18 15:44, Pete Wright wrote: >>>> so i've done a bit more debugging on my end.=C2=A0 i've even install= ed=20 >>>> the 11.2-BETA branch last night since 11-STABLE worked without=20 >>>> issues about a month or so ago. >>>> >>>> i've set "debug.acpi.resume_beep=3D1" and when resuming after enteri= ng=20 >>>> an S3 sleep state the bell rings and does not stop until i do a hard= =20 >>>> reset (both with i915kms loaded and unloaded). >>>> >>>> kinda at a loss as to how this could break both CURRENT and=20 >>>> basically 11-STABLE.=C2=A0 i'm going to make a ubuntu live image and= test=20 >>>> that, my laptop is a System76 laptop that shipped with ubuntu=20 >>>> originally.=C2=A0 if that is broken as well then i guess this could = be a=20 >>>> hardware issue. >>>> >>> ubuntu live image suspends/resumes without issue so this certainly=20 >>> seems to be a freebsd issue unfortunately.=C2=A0 i guess next step is= to=20 >>> attempt to find a working CURRENT snapshot that does suspend/resume=20 >>> without issue then start looking at commits? >>> >>> -pete >>> >> Returning to the original issue: complete failure to resume, rather=20 >> than slowness: I am affected as well.=C2=A0 CURRENT r333093 worked, bu= t=20 >> r333582 fails in a manner consistent with what Pete has described,=20 >> with or without drm loaded.=C2=A0 There have been a few commit message= s=20 >> mentioning ACPI in that window of history, which I will use to help me= =20 >> bisect when I have time. >> >=20 > do you think it may be due to r333150 >=20 > "Merge ACPICA 20180427." >=20 > not sure if that's been merged into 11-STABLE, but it seems to touch a=20 > lot of bits that could effect suspend/resume. >=20 I tried to revert that, but if I remember correctly, it didn't matter.=20 I have to do a new test though, when I have more time. Regards --=20 Niclas