Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3488762ybl; Tue, 21 Jan 2020 01:33:49 -0800 (PST) X-Google-Smtp-Source: APXvYqyDFgROVZcC/oNgmDJzeDP9ofuNCYDBF3DrSxEAOJlhQ2Mm+XqPd+MXFYmCK5pSTCmE9PGX X-Received: by 2002:a05:6830:1e37:: with SMTP id t23mr2999776otr.16.1579599229578; Tue, 21 Jan 2020 01:33:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579599229; cv=none; d=google.com; s=arc-20160816; b=jPgx9/jtVRwZWzH6ACo5IJxBtp3emcZPPYmgWO4sBHJfENVBBIrRPe9h/ZjE46zuQC uME4eVp4MG7o6ZGGLgBri+Scu2C2A5URGsEOEe8gi9KKcbkz3ki54FFJnFGWxJ8tqUBs MJ+cP2cIvL/SKcleCMOPBCMvz2uYXdztiQ0CFGfnAgtHRdEvG1nUuq8P6fqUucv/VmT/ Yk4jISUZs+8VHGmTR8VJBSZvL74Novl0jK2gSXF/VYaaswCeBmuUhmDTu8eu+comFRUg v3As0DcM+dvKZ2alwrZ4+5P1tUeJCCQZdZCHk/FatU2ei9EbZZktQay8D4gusNl098sc oayg== 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-disposition:mime-version:references:message-id:subject:to :from:date; bh=nDpOZU7qDzmC+4ebfBZ9Sm7Fq22MexyytKK93afCQnk=; b=K4bM9HPtaLgBIXJzlm/QMV07rDFrL7OPPiP/7Aeut8RHx83eR1oLMCod2kU6W7VonU lvqEuA8nSq6oQo5ZFvGObhZTLaOLxPgL8QXbEfG/WHxH77fIaCBCL3/eK0Z7euMEw63k TAeGSyBcjJCTKTNwPua2b1QcrF6zWT9bHEIxX68jwsj/9Ix9NH6Nq2nG5EESUoxDXNCZ 3ZWxTPb+I4awD6Uhk1OKZPVRLvmaSn09WXw6ohXK87JbrqmfuWfnxG0K4k5WSHMgr2jR jEs6smbejmvMEL+e9FPcgNSupT8ngP8vaq6Leva9SP/YNPfT6do8Fucuwo+28CmbgJAN 9Ugg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d5si19409481oij.139.2020.01.21.01.33.37; Tue, 21 Jan 2020 01:33:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729117AbgAUJcf (ORCPT + 99 others); Tue, 21 Jan 2020 04:32:35 -0500 Received: from vuizook.err.no ([178.255.151.162]:47280 "EHLO vuizook.err.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727220AbgAUJce (ORCPT ); Tue, 21 Jan 2020 04:32:34 -0500 Received: from p576124-ipngn200707tokaisakaetozai.aichi.ocn.ne.jp ([122.31.139.124] helo=glandium.org) by vuizook.err.no with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1itpta-0005ba-3I for linux-kernel@vger.kernel.org; Tue, 21 Jan 2020 09:32:32 +0000 Received: from glandium by goemon.lan with local (Exim 4.92) (envelope-from ) id 1itptX-0005ZD-3e for linux-kernel@vger.kernel.org; Tue, 21 Jan 2020 18:32:23 +0900 Date: Tue, 21 Jan 2020 18:32:23 +0900 From: Mike Hommey To: linux-kernel@vger.kernel.org Subject: Re: Uptime completely off after resume from suspend Message-ID: <20200121093223.cvvlzlpadsyqiemb@glandium.org> References: <20200110040603.3lxanijleog6tfl6@glandium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200110040603.3lxanijleog6tfl6@glandium.org> X-GPG-Fingerprint: 182E 161D 1130 B9FC CD7D B167 E42A A04F A6AA 8C72 User-Agent: NeoMutt/20180716 X-Spam-Status: (score 0.9): No, score=0.9 required=5.0 tests=SPF_FAIL,SPF_HELO_FAIL autolearn=disabled version=3.4.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 10, 2020 at 01:06:03PM +0900, Mike Hommey wrote: > Hi, > > I have a one month old machine, and was surprised to notice an uptime of > several hundreds of days in top. Since I had been suspending the machine > on many occasions, I was wondering if that could be related, so I put > the machine to sleep, came back 30 minutes later, and uptime had > advanced 35 days! > > The actual boot time, according to journald was a week ago. And the > "timestamp" for the suspend exit in dmesg is 312967, which is about 86 > hours, which is about half, which seems about right considering the > suspends. > > The wall clock time and date is right too at the time of resume in the > journald logs, assuming systemd-timesyncd doesn't synchronize with NTP > before systemd logs "Started Suspend" after resuming. > > This is all with 5.5rc4 + the patches from the Debian kernel packages, > on a Threadripper 3970X, in case that matters. > > Any hints where I should be looking to find out what's going wrong? FWIW, it doesn't seem to have happened in 8 days of running 5.5rc6. Cheers, Mike