Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11072502ybi; Thu, 25 Jul 2019 09:28:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhaaII4x/Y9cxzbm30epsTvIRzGc+eWeOQv1fZqOH5NVTgGXs8OqHVNUTMiJ+ksm57EfJf X-Received: by 2002:a63:494d:: with SMTP id y13mr88564023pgk.109.1564072127390; Thu, 25 Jul 2019 09:28:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564072127; cv=none; d=google.com; s=arc-20160816; b=WXqi+A02z47MWpSEjwsVUMtb7xYEu8Wau4OmnRsvBNitEcN0VPMj7O7fRE5IqDB8P7 5ERb+QEFyXtYlrk92k2+vVR8b1Z8tnuJYH16MtDFYdjdymwoJmUAByWHk/vOw+xaCmW2 /QgOlpYtuTBeTSIla7nrsLEV2nQU0IP5gOsp/yo7IxQPd9aNtyrXUGsWR8eHr/cOur27 X1YPALkjUaqrrGZaCDPLhOKKKmfhCSj4Z806X7Gzgvr8aIupL74hKACTErTqcgM0Z/RQ KN8jQhrvM+6kXfPAq+GkIZPPbbAmHbqiZuqQ0cg+uSyn5s2HSoJr8VqyPq+ch56IS2Ho vEzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=U6wP9P6W628pwsNoz0uPS/Pivt4xDGduNsvhZDp9MnQ=; b=Wi+3S2cP8E3dKRrThsgAbbp5B56478MTlBAB7CAkn/jzzjuQcAWITr8x2N15Gv66bt +jNK35AoZKag8CmdAkTKbOIY/ya/NZeow2dhL7ptdRJA4vS5dOySY++EyPWy1EylaFSC w8KPMj+5w4a7m0ABPsvnfM9vGGHc/0b35qJtH5IQoVvlNaX9hvcEhtTzK3oGKlpNREkH uCWNMjKWDDgN5FT7w398tNR3GGB21CGs20pAiYe2NYQ3JSGF9DPHefRMFwhm9EVUFkUm FuF7+PXQ3numwn1oXs2+z2xzdnqIgoksy4vEng7vohVC4piygmVvmqJ2zfqzv9OjWvLG f7vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=g5jUkgSw; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q191si16339358pfq.63.2019.07.25.09.28.32; Thu, 25 Jul 2019 09:28:47 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=g5jUkgSw; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728882AbfGYJvZ (ORCPT + 99 others); Thu, 25 Jul 2019 05:51:25 -0400 Received: from mail-vs1-f68.google.com ([209.85.217.68]:44981 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725808AbfGYJvZ (ORCPT ); Thu, 25 Jul 2019 05:51:25 -0400 Received: by mail-vs1-f68.google.com with SMTP id v129so33299755vsb.11 for ; Thu, 25 Jul 2019 02:51:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=U6wP9P6W628pwsNoz0uPS/Pivt4xDGduNsvhZDp9MnQ=; b=g5jUkgSwiAQTdPyxXYC99PohHjZpw4vN33ELhAaf74icYXeVey4yxZQ3J1D9b5IB2F ycK8QUxJ0zNpvlgqIY28nAv/RocTsY7uhvz5hRxUmi13/guskqWcnzQjwKz3DbC9v8hN Nao+IAQfBWkYy7dShadaiLuSTo/ftztKCuKG6xekV8a5Lx8qNhJd3E99p9OT6byBw0fs TGwIVD4KZ0Dc82it4goXoKZJxrSwDifF1jNiZSf6HUhPwTQ1LHENlddXNIgn4lUHZ6k+ iyO1y+BwRYK+SpoaA7ofqf0E/5z1vqLTj9XMR7FlG+TQasdgaqDoJ5KxlqWpQP6x+ZoM S9+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=U6wP9P6W628pwsNoz0uPS/Pivt4xDGduNsvhZDp9MnQ=; b=PQn+HC2E0MW6R7iDw0CL4UVDUBgN7FuuAlWj9WABufyaUKv6/s1RHJeV3Xtj8hjl5C q2FkF7uUwPkByWYbv2Vbio9tibfj66D+wrU1WjueylhSsQVDTX8AATxxtMXu1iEBoJm2 JXROdLEZXec4UhBTf0pC5dG+LujedYHbUiU0NVuLeEQIrTS9AzWTilF14Hw7QUZxanZ7 bmwpZZRhYN7X9QqMvazbb65HnfSJusGnN3H8uBxtMqthrmUT6Jkh9/xPQfRWdAqKK0Ch JIWw7RdhXYiyZtot6ZsvaPVWksXInVu3FVZK2ETEArZDrMESvPorRyFaGYUwUgPxwf2N +Cvg== X-Gm-Message-State: APjAAAXgFwaABeHl7pL1fMG1FkqbghQHYh9EvB/vwFwDtYmMhspSLcsl /jWhHUxJRjao1Vy4rUDqkH1aoQDiVssAgcdWQQ== X-Received: by 2002:a67:d46:: with SMTP id 67mr55814029vsn.181.1564048284438; Thu, 25 Jul 2019 02:51:24 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Rui Salvaterra Date: Thu, 25 Jul 2019 10:51:13 +0100 Message-ID: Subject: Re: [BUG] Linux 5.3-rc1: timer problem on x86-64 (Pentium D) To: Thomas Gleixner Cc: LKML , x86@kernel.org, Daniel Drake Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Thomas, On Thu, 25 Jul 2019 at 10:37, Thomas Gleixner wrote: > > Duh. Yes, this explains it nicely. > > > [ 1.123548] clocksource: timekeeping watchdog on CPU1: Marking > > clocksource 'tsc-early' as unstable because the skew is too large: > > [ 1.123552] clocksource: 'hpet' wd_now: 33 > > wd_last: 33 mask: ffffffff > > The HPET counter check succeeded, but the early enable and the following > reconfiguration confused it completely. So the HPET is not counting: > > 'hpet' wd_now: 33 wd_last: 33 mask: ffffffff > > Which is a full explanation for the boot fail because if the counter is not > working then the HPET timer is not expiring and the early boot is waiting > for HPET to fire forever. Interesting. Thanks for the detailed explanation! > That's consistent with the above. 5.3-rc1 unpatched would of course boot as > well with hpet=disable now that we know the root cause. I guess that's the only thing I hadn't tried, hindsight is 20/20. :) > I'll write a changelog and route it to Linus for -rc2. > > Thanks a lot for debugging this and providing all the information! My pleasure! I'm glad to have this old workhorse chugging along again. Thanks, Rui