From owner-freebsd-current@freebsd.org Wed Sep 16 08:30:18 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2F3B63DD49C for ; Wed, 16 Sep 2020 08:30:18 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BrtZd1rpKz4RbR for ; Wed, 16 Sep 2020 08:30:17 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lj1-f180.google.com with SMTP id k25so5163106ljg.9 for ; Wed, 16 Sep 2020 01:30:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=FeBXWvBZv0ihsyhrUs3xuvCBkcEAexzGrsVsEozzrY4=; b=E4AZWEG4eU/ESlg+zef1QbSaH4zvClGinLRYlEBzZ0IYOHToGLc0D7gq9+G4lcwJZR i1/VFQ/arj/MuLwxRXJoQGBarVgz5xd0Y0VFrzeKvem5suUVmdXgr0M3PxrcRwhfkrA6 POFqHqnfQo10HGe/xqpdrTxz4BTMnQJQU6w0f/NN5y4eZdZhfVBaGE47kJqowapUF2uU obJZy97YdGfAaSYGpB7OocIJdjN3WBFdCts4BeZLTYCRVWld2IYzOgrvWnjHup7u0AWw JLRVVwff1t8Beij17gqj0MwXgpCaT7RS0Doxd54TVGdECh116BhWRRPAa0PpDTK8/iNi p3Vw== X-Gm-Message-State: AOAM530OnkLShNxmuEm+STZ9QGsqFwtfi+dO/DtafNyDpGipPoa5v6pt nw8V/XtMIMPlcn2Rm8+Wxu1T7BxVfuE= X-Google-Smtp-Source: ABdhPJzBCB41AFlWOKuaWh0VJ4vpWA1i/ykp90UMZsnV2YRhy8jlyHM1PUML2yhHSd8fjz7nqxC+Eg== X-Received: by 2002:a2e:9c8d:: with SMTP id x13mr7613080lji.392.1600245015063; Wed, 16 Sep 2020 01:30:15 -0700 (PDT) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id e9sm4428597lfn.237.2020.09.16.01.30.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Sep 2020 01:30:14 -0700 (PDT) Subject: Re: Wake from sleep kinda broken-ish? (ThinkPad Carbon X1 6th gen) To: Warner Losh Cc: =?UTF-8?Q?Eirik_=c3=98verby?= , FreeBSD Current References: <0b2f0f19-490b-4bb5-52b3-201e24ebeaee@anduin.net> <8f160583-47bb-3090-9713-ba0857be9b3e@FreeBSD.org> <39ceba1e-3e9e-a861-ab71-d376969990c4@FreeBSD.org> From: Andriy Gapon Openpgp: preference=signencrypt Autocrypt: addr=avg@FreeBSD.org; prefer-encrypt=mutual; keydata= mDMEX1iFDhYJKwYBBAHaRw8BAQdAiu8JG/oLFkVkOAJqJc7Dx5KI/Q6C3SBI20EQm+DXnAu0 HkFuZHJpeSBHYXBvbiA8YXZnQEZyZWVCU0Qub3JnPoiWBBMWCAA+FiEEyCHHZM09l0OE3Ir/ 1A1+Gq8+L1EFAl9YhQ4CGwMFCQeEzgAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ1A1+ Gq8+L1Fc0wD/ZjmhHfbCJywZU3aOxXIPjcz73FYEGMvqMCCLAWyLbSABALFL+1ZNrjV3BGjq 889cOYFuboA/Yn3eWezS+tfqYBsGuDgEX1iFDhIKKwYBBAGXVQEFAQEHQL6B20Xi600TrkpG P9fWjl7JtHNxqrHKhX6Kg7kgb4ILAwEIB4h+BBgWCAAmFiEEyCHHZM09l0OE3Ir/1A1+Gq8+ L1EFAl9YhQ4CGwwFCQeEzgAACgkQ1A1+Gq8+L1F3cgEAktp4h+IJUJxL1vn6zMOt//znni/J TanKfQuA8wGXcGkBAKpZJhqMkg+pKk7MGvJhgJ6nCpTZ+rMK6vZVZLUWc3QF Message-ID: <00497b79-e012-3e06-a6e4-42823ad68396@FreeBSD.org> Date: Wed, 16 Sep 2020 11:30:13 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4BrtZd1rpKz4RbR X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.42 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.42)[-1.421]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[93.72.151.96:received]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; SUBJECT_HAS_QUESTION(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.961]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.03)[-1.034]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.180:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.180:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 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: Wed, 16 Sep 2020 08:30:18 -0000 On 16/09/2020 10:05, Warner Losh wrote: > > > On Wed, Sep 16, 2020 at 12:31 AM Andriy Gapon > wrote: > > On 15/09/2020 23:13, Eirik Øverby wrote: > > On 9/15/20 9:50 PM, Andriy Gapon wrote: > >> On 15/09/2020 22:36, Eirik Øverby wrote: > >>> Now, since I updated from r365358 to r365688, I have not once been able > to wake from sleep. > >> > >> Is that the only thing that changed? > >> Any port / package upgrades? > > > > There have been updates to packages, yes - but it didn't even occur to me > that these could impact the resume process at such an early stage. Not sure > which that would be; obviously the drm module has been rebuilt each time I > upgraded, but I don't have any other kernel modules installed from packages. > > Yes, I specifically had drm modules in mind. > > > I too can report this for my Lenovo Yoga running code as of September 13, but > with manu's latest drm...  It used to work fine, but my last build on the system > was from May. Most likely a new panic in that code path, but I've not chased > down further... One thing to check is to set debug.acpi.suspend_bounce=1 before suspending. This will run suspend (and then resume) methods of all drivers just like for a normal suspend, but will skip the actual ACPI suspend. -- Andriy Gapon