NetBSD Problem Report #42189
From jailbird@sky.fdf.net Fri Oct 16 06:01:09 2009
Return-Path: <jailbird@sky.fdf.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 5C5EA63B8B6
for <gnats-bugs@gnats.NetBSD.org>; Fri, 16 Oct 2009 06:01:09 +0000 (UTC)
Message-Id: <20091016044244.E13AB34FA70@sky.fdf.net>
Date: Fri, 16 Oct 2009 04:42:44 +0000 (UTC)
From: jailbird@sky.fdf.net
Reply-To: jailbird@sky.fdf.net
To: gnats-bugs@gnats.NetBSD.org
Subject: System clock unstable when using PCC as the timecounter when running under SMP
X-Send-Pr-Version: 3.95
>Number: 42189
>Category: port-alpha
>Synopsis: System clock unstable when using PCC as the timecounter when running under SMP
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: thorpej
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 16 06:05:00 +0000 2009
>Closed-Date: Wed Jun 09 02:46:20 +0000 2021
>Last-Modified: Wed Jun 09 02:46:20 +0000 2021
>Originator: Dustin Marquess
>Release: NetBSD 5.0_STABLE (200910110000Z)
>Organization:
>Environment:
System: NetBSD sky.fdf.net 5.0_STABLE NetBSD 5.0_STABLE (GENERIC-$Revision: 1.325.4.1 $) #0: Sun Oct 11 02:37:40 UTC 2009 builds@b8.netbsd.org:/home/builds/ab/netbsd-5/alpha/200910110000Z-obj/home/builds/ab/netbsd-5/src/sys/arch/alpha/compile/GENERIC.MP alpha
Architecture: alpha
Machine: alpha
>Description:
When running under SMP, using the default timecounter (PCC)
results in the system clock running at roughly half-speed. ntpd
is also unable to perform a lock, and the clock ends up free
running. Switching the timecounter to use clockinterrupt
appears to work around the problem. This does not appear to
happen when running under UP.
>How-To-Repeat:
Boot a SMP kernel using the default PCC timecounter.
>Fix:
Workaround: sysctl -w kern.timecounter.hardware = clockinterrupt
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: port-alpha-maintainer->take
Responsible-Changed-By: thorpej@NetBSD.org
Responsible-Changed-When: Sat, 10 Oct 2020 20:13:00 +0000
Responsible-Changed-Why:
Take.
State-Changed-From-To: open->feedback
State-Changed-By: thorpej@NetBSD.org
State-Changed-When: Sat, 10 Oct 2020 20:13:00 +0000
State-Changed-Why:
Should be addressed by kern_cctr.c,v 1.12 (and related changes).
Responsible-Changed-From-To: take->thorpej
Responsible-Changed-By: thorpej@NetBSD.org
Responsible-Changed-When: Mon, 12 Oct 2020 22:36:54 +0000
Responsible-Changed-Why:
Fix mistake in previous taking of the bug.
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Wed, 09 Jun 2021 02:46:20 +0000
State-Changed-Why:
feedback mail is bouncing, presume fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.