From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sonic302-20.consmr.mail.ir2.yahoo.com (sonic302-20.consmr.mail.ir2.yahoo.com [87.248.110.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97E451F37D0 for ; Fri, 27 Dec 2024 13:30:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=87.248.110.83 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735306214; cv=none; b=uuXTlCzqdUgYkeOmLAFqhTVu7AdeA7YWi8lNRCl/G+VAbt8MmbYXiTYh1R7Kuccua/Jy6Wle5laTTsJ8uckiv5QAYnlYOx/YdQv52kTjgUTEv8xbVJdG59CVwh3zReBxWCxV/Imbl9xIBfBLFkU12kWhBUTgIk/BY5TXFaMnwYM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735306214; c=relaxed/simple; bh=eMaQgznm1eq1LMCbqwDpgst4f506n5ZEeyiccZzr9/M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=j7vo68kdk5Rk9Wr+FJlMdGbOX1x6YIWInquAu057/wpBfrbHnkuxuQbIwtq08XCjggR4s9MhEJKB964QnSP9xLBPIgG9L6i9CrY+oe4lvKNdGfnN+k3I5jja6azEtE4GzqvrcTg3plGSB7JPN0ZnOm/PTJ7iltDE0CBAZHczXvs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=yahoo.fr; spf=pass smtp.mailfrom=yahoo.fr; dkim=pass (2048-bit key) header.d=yahoo.fr header.i=@yahoo.fr header.b=aFyLuN84; arc=none smtp.client-ip=87.248.110.83 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=yahoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yahoo.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=yahoo.fr header.i=@yahoo.fr header.b="aFyLuN84" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s2048; t=1735306210; bh=+l7Ba9uBANz8H34A/jCTAV11BDdOvhxte2rBwDY/sVo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject:Reply-To; b=aFyLuN84X2V05lzNS3HssVbJrBNXYJOl+riRuHmAzOcHTTpwv3aRzZzYL0cegj82J6Do3+kNLBL/2kok8o2GSqS+EdvOSQFsgkdd2dhPChUd91MAEV2Uzd6vajSyip3uJiw6Zbcc8zxih0Kz57C57IMzZX9VnZApQmyAhsj+405rQNtY93ol9gMBvqY27BW2JxDc/TulQ0uMHzeiCdeFn3J5S4FxLezniQ4Ti1efSCa/huuaBHXNQO97A+083RZIXjPF2w9fJtnzMz7omTPhmXx7xdRZVAYrJ1CbpwNUPEGXF6KU0XcEyJk8tLoUB1NvFIzBQUUg6T4p2ZwhnuxBXw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1735306210; bh=GnegfaIovlxJX7PNVtruEyh9sp9sXNgG2ibJg7WectM=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=CfWV5v2LGNrtIodBTQFosMoY702bvHdlKnd2RCAu0Xy+4TmjL4qNrqqKztzhSR17PY+AuiO/AW1qhTQcn5y2OBOE86sthXEH0gyPHnxiZ3vjU0qWukOX+IiZxerG1+XKJ5woxfiJzZkZ8od0tJP45+7P3B4K/CuRcM5zthtW/5OL2N9Xy/zQTbwdO9wv9r5laH6r4xoKpAIp8F8wBLWVCwPEWAdOyAOG9LZ9596O5Ht92vOcgGPJ7X6C0cThOIKkv1Pp3j/CW4RbhjVcUtWeQERI5RH8AFTwJ03jgEIZh2qaYv0CfDJ34gPsu93U+FqdlGXDwnOTkL1zLuP1rBKj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Q6LEsxs9 70wHz1QSXE5Xh20nAsvpHmALDBVwVfNvSdzqFv601DqpUmP_TxpS7rpqbkqaInGtCvnG_d5c8f59 YfK4bj_pZEXwqEzWjZSDQBpQsBMszJNqRQvIos3uYfcp_NyC31gckwbBQfnZWaXiVNfu4F5Hf.mM fi8fkI9bqqYUW_6V2ucjvBWBUVxKlbaa4ZwPVjhEylSYShQBH.5gxrcX5FIPUMrThtIMfpsWbwBq OGUcyug0QTNaqlUGTtD.wbKpS0dxgXPVE X-Sonic-MF: X-Sonic-ID: 9ec8f738-c8fb-4d4b-84f2-d7975f85c30b Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Fri, 27 Dec 2024 13:30:10 +0000 Received: by hermes--production-ir2-c694d79d9-jv96w (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 25930369065986fc5da0afa851848229; Fri, 27 Dec 2024 12:39:29 +0000 (UTC) From: Fab Stz To: Thomas Gleixner , John Stultz , Daniel Lezcano , Anna-Maria Behnsen , Frederic Weisbecker Cc: linux-kernel@vger.kernel.org Subject: Re: [REGRESSION] ? system is stuck in clocksource, >60s delay at boot time without tsc=unstable Date: Fri, 27 Dec 2024 13:39:28 +0100 Message-ID: <22539099.EfDdHjke4D@debian> In-Reply-To: <10cf96aa-1276-4bd4-8966-c890377030c3@yahoo.fr> References: <10cf96aa-1276-4bd4-8966-c890377030c3.ref@yahoo.fr> <10cf96aa-1276-4bd4-8966-c890377030c3@yahoo.fr> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Mailer: WebService/1.1.23040 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Hello, It's been one month now that I sent this email. Do you have any clue on thi= s? Regards =46ab Le mercredi 27 novembre 2024, 08:18:41 CET Fab Stz a =E9crit : > Hi, >=20 > While upgrading from Debian bullseye (kernel 5.10) to bookworm (6.1) I > noticed that the newer kernel is at the beginning of the boot stuck for > more than 60 seconds. >=20 > This is apparently related to the clocksource module. If I boot with > tsc=3Dunstable there is no more delay. >=20 > In the kernel logs, I have: >=20 > clocksource: Long readout interval, skipping watchdog check: cs_nsec: > 512010551 wd_nsec: 39243763320 > clocksource: timekeeping watchdog on CPU0: Marking clocksource 'tsc' as > unstable because the skew is too large: > clocksource: 'hpet' wd_nsec: 537773520 wd_now: > 3f0f7632 wd_last: 3e425140 mask: ffffffff > clocksource: 'tsc' cs_nsec: 511996079 cs_now: > 18b0866e6a cs_last: 185f8d68ba mask: ffffffffffffffff > clocksource: 'tsc' is current clocksource. > tsc: Marking TSC unstable due to clocksource watchdog > TSC found unstable after boot, most likely due to broken BIOS. Use > 'tsc=3Dunstable'. > sched_clock: Marking unstable (3765559657, 1276001)<-(3775071370, -823564= 6) > clocksource: Checking clocksource tsc synchronization from CPU 1 to CPUs = 0. > clocksource: Switched to clocksource hpet >=20 >=20 > I already had such a warning with 5.10, but there was no >60sec freeze > with it like with 6.1 >=20 > The delay is still present in kernel 6.11. >=20 > I attach the output of dmesg. On screen, the last line that is displayed > before being frozen for >60sec is >=20 > [ 2.898668] hub 2-0:1.0: 5 ports detected >=20 > Because of that, I initially thought that there is a problem with USB, > but actually not since tsc=3Dunstable "fixes" the delay. The kernel > mentions clocksource only later in the logs, but the timestamps don't > reflect the delay. My last measure is a freeze of about 70seconds. >=20 > I also noticed that if during that period I do a short press on the > power button of the system, it stops the freeze and the boot process > continues immediately. >=20 > Regards >=20 > =3D=3D=3D=3D System information =3D=3D=3D=3D >=20 > It's an Apple iMac 9.1 >=20 > # cat /proc/version > Linux version 6.1.0-28-amd64 (debian-kernel@lists.debian.org) (gcc-12 > (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP > PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) >=20 > # hostnamectl | grep "Operating System" > Operating System: Debian GNU/Linux 12 (bookworm) >=20 > # uname -mi > x86_64 unknown >=20 > # lspci -nn > 00:00.0 Host bridge [0600]: NVIDIA Corporation MCP79 Host Bridge > [10de:0a82] (rev b1) > 00:00.1 RAM memory [0500]: NVIDIA Corporation MCP79 Memory Controller > [10de:0a88] (rev b1) > 00:03.0 ISA bridge [0601]: NVIDIA Corporation MCP79 LPC Bridge > [10de:0aae] (rev b2) > 00:03.1 RAM memory [0500]: NVIDIA Corporation MCP79 Memory Controller > [10de:0aa4] (rev b1) > 00:03.2 SMBus [0c05]: NVIDIA Corporation MCP79 SMBus [10de:0aa2] (rev b1) > 00:03.3 RAM memory [0500]: NVIDIA Corporation MCP79 Memory Controller > [10de:0a89] (rev b1) > 00:03.4 RAM memory [0500]: NVIDIA Corporation MCP79 Memory Controller > [10de:0a98] (rev b1) > 00:03.5 Co-processor [0b40]: NVIDIA Corporation MCP79 Co-processor > [10de:0aa3] (rev b1) > 00:04.0 USB controller [0c03]: NVIDIA Corporation MCP79 OHCI USB 1.1 > Controller [10de:0aa5] (rev b1) > 00:04.1 USB controller [0c03]: NVIDIA Corporation MCP79 EHCI USB 2.0 > Controller [10de:0aa6] (rev b1) > 00:06.0 USB controller [0c03]: NVIDIA Corporation MCP79 OHCI USB 1.1 > Controller [10de:0aa7] (rev b1) > 00:06.1 USB controller [0c03]: NVIDIA Corporation MCP79 EHCI USB 2.0 > Controller [10de:0aa9] (rev b1) > 00:08.0 Audio device [0403]: NVIDIA Corporation MCP79 High Definition > Audio [10de:0ac0] (rev b1) > 00:09.0 PCI bridge [0604]: NVIDIA Corporation MCP79 PCI Bridge > [10de:0aab] (rev b1) > 00:0a.0 Ethernet controller [0200]: NVIDIA Corporation MCP79 Ethernet > [10de:0ab0] (rev b1) > 00:0b.0 SATA controller [0106]: NVIDIA Corporation MCP79 AHCI Controller > [10de:0ab9] (rev b1) > 00:0c.0 PCI bridge [0604]: NVIDIA Corporation MCP79 PCI Express Bridge > [10de:0ac4] (rev b1) > 00:10.0 PCI bridge [0604]: NVIDIA Corporation MCP79 PCI Express Bridge > [10de:0aa0] (rev b1) > 00:15.0 PCI bridge [0604]: NVIDIA Corporation MCP79 PCI Express Bridge > [10de:0ac6] (rev b1) > 00:16.0 PCI bridge [0604]: NVIDIA Corporation MCP79 PCI Express Bridge > [10de:0ac7] (rev b1) > 03:00.0 VGA compatible controller [0300]: NVIDIA Corporation C79 > [GeForce 9400] [10de:0867] (rev b1) > 04:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries > BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] (rev 01) > 05:00.0 FireWire (IEEE 1394) [0c00]: LSI Corporation FW643 [TrueFire] > PCIe 1394b Controller [11c1:5901] (rev 07)