Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp907768ybv; Thu, 13 Feb 2020 11:47:48 -0800 (PST) X-Google-Smtp-Source: APXvYqx6uSeGDu/Qxqy+jp7vcv8+mHn8Q1k6U+M35b4plr7MY+aZpb2Zp3TITbgVNVh8QHgdzz3D X-Received: by 2002:a05:6830:1e2d:: with SMTP id t13mr15109223otr.128.1581623268367; Thu, 13 Feb 2020 11:47:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581623268; cv=none; d=google.com; s=arc-20160816; b=kJU9MqHy+E2XmgGqDHW+D5jiNTJghF6z739iV2z1EpxBUeaqHI6BqRtwXQyCBkC037 V/0ICHDDFiBOWo0lcJquZf5eWIl7gMrEfSg12/0ERLmDoT9Spzd527yoFxs9zV4znE0j HPbeBX8bgO9xchC2r7IQjNVgJy4sIv50d4QK6/viycowbHCrH2rudWsZOb5JvbOpnLPp TuenY+1i4pJDUFZQlJyksumTrw15N/RRT6t8qrqvqbd/OXltDLe5p6yFgvNv6TV+M9f+ NjuN7Bf/uJrU6yqLt0vwH3wlxKg3cQWRI8dRliWI2KFGog8KyJdzVQfAJ9POFEVQyeEN QTkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:dkim-signature; bh=EvYfRxXiZueFYW1/RkKgbhiGnHPy09+zWIQhEYqquoo=; b=hzlWskjEX5ImUtymp0QZiOS212Ef64JTRJ7bHGKqzfDeSmlCoTnGStUMVegh/Scy8I VQEFxx8YBl2QX/eF1GhdjsKjwFYvGoxtsFi6VINdCJ+O/5rs5KT0YiedbPb9yBhycyPO 5GJpFf2epOIwT+2yHiDP++k3ZlQg0MAKKZxiKFqH+lLW7C6MJXW4Mv/tA3kBGy0EC+VA YhGJ03I+8ha4QToVu/u/eA0oDD+zUUx/trDfsfr9gb4WDjiE+ftWCIU5jmGittHCbAj2 PIYTiKJCq78p/VdOeUQW5IhOfShCfXG8mRg+aoeOpD/NdmAK4ujHNBwE29mle/l/i/4Q Vl7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=JSKn3DTJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 24si1427694oip.248.2020.02.13.11.47.35; Thu, 13 Feb 2020 11:47:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=JSKn3DTJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727838AbgBMTeT (ORCPT + 99 others); Thu, 13 Feb 2020 14:34:19 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:59582 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727658AbgBMTeS (ORCPT ); Thu, 13 Feb 2020 14:34:18 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01DJWfCR116529; Thu, 13 Feb 2020 19:34:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : subject : message-id : references : mime-version : content-type : content-transfer-encoding : in-reply-to; s=corp-2020-01-29; bh=EvYfRxXiZueFYW1/RkKgbhiGnHPy09+zWIQhEYqquoo=; b=JSKn3DTJpGrOUZTQNon0lK8ZE1kQNyd6QHA2jsjDrJNi3pNDFrAmDGPCs2kDkSrV08/O FuiWrvwFg8m4oBAoBSkxyd2gsQc/6+suJWeQQT1TEviuXlpa/2WQiGxpqtVHmLeF0Mfm /3q5s+2CsNtxvbRDOSob2RyUjsnJPG8spnCz8L+vWWP/fkaUzB31Dqcz2joTaB1RFShi oqRxHMRvIP8z+ZVrLzeCBnnsUEPvfN/zhLJm6u3JMrJU18Jh3AqDWMHOWc/1M1GWl/l8 h/ZNFjB33tHlgnXMiJT9TPoOPaVyqAcWfaUMALrPIawjbRmUGqUK91ai8XAXvVE5MI4q Nw== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 2y2k88msfp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 13 Feb 2020 19:34:14 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01DJRYYE020450; Thu, 13 Feb 2020 19:34:13 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3020.oracle.com with ESMTP id 2y4k37wd3t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 13 Feb 2020 19:34:13 +0000 Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 01DJYBvq004981; Thu, 13 Feb 2020 19:34:12 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 13 Feb 2020 11:34:11 -0800 Date: Thu, 13 Feb 2020 11:34:10 -0800 From: "Darrick J. Wong" To: Christoph Hellwig , Linus Torvalds , Linux Kernel Mailing List Subject: Re: Regression: hibernation is broken since e6bc9de714972cac34daa1dc1567ee48a47a9342 Message-ID: <20200213193410.GB6868@magnolia> References: <20200213172351.GA6747@dumbo> <20200213175753.GS6874@magnolia> <20200213183515.GA8798@dumbo> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200213183515.GA8798@dumbo> User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9530 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 mlxlogscore=999 adultscore=0 bulkscore=0 malwarescore=0 phishscore=0 suspectscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002130137 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9530 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 malwarescore=0 impostorscore=0 clxscore=1015 spamscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002130137 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 13, 2020 at 07:35:15PM +0100, Domenico Andreoli wrote: > On Thu, Feb 13, 2020 at 09:57:53AM -0800, Darrick J. Wong wrote: > > On Thu, Feb 13, 2020 at 06:23:51PM +0100, Domenico Andreoli wrote: > > > Hi, > > > > > > at some point between 5.2 and 5.3 my laptop started to refuse > > > hibernating and come back to a full functional state. It's fully 100% > > > reproducible, no oopses or any other damage to the state seems to happen. > > > > > > It took me a while to follow the trail down to this commit. If I revert > > > it from v5.6-rc1, the hibernation is back as in the old times. > > > > Hmm, do you know which hibernation mechanism your computer is using? > > > > --D > > s2disk/uswsusp. Any other tool I could use as alternative? Well ... you could try the in-kernel hibernate (which I think is what 'systemctl hibernate' does), though you'd lose the nifty features of ?swsusp. In the end, though, I'll probably have to revert all those IS_SWAPFILE checks (at least if CONFIG_HIBERNATION=y) since it's not fair to force you to totally reconfigure your hibernation setup. --D > Thanks, > Domenico > > -- > rsa4096: 3B10 0CA1 8674 ACBA B4FE FCD2 CE5B CF17 9960 DE13 > ed25519: FFB4 0CC3 7F2E 091D F7DA 356E CC79 2832 ED38 CB05