Subject: port-amd64/34550: system clock is drifting when amd64 Cool'n'Quiet is used
To: None <port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <peter@kerwien.homeip.net>
List: netbsd-bugs
Date: 09/18/2006 05:40:00
>Number:         34550
>Category:       port-amd64
>Synopsis:       system clock is drifting when amd64 Cool'n'Quiet is used
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 18 05:40:00 +0000 2006
>Originator:     Peter Kerwien
>Release:        NetBSD 4.0 Beta
>Organization:
N/A
>Environment:
NetBSD netbsd 4.0_BETA NetBSD 4.0_BETA (GENERIC) #0: Sat Sep 16 07:23:03 CEST 2006  root@netbsd:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
The system clock is drifting if amd64 cool'n'quiet is used, i.e. if the CPU clock is adjusted with e.g. estd or machdep.powernow.frequency.target is set to something lower than the maximum frequency available.

>How-To-Repeat:
1. Install NetBSD 4.0 Beta with AMD PowerNow! and Cool'n'quiet enabled.
2. Install and start estd or adjust the system clock with sysctl -w machdep.powernow.frequency.target to a frequency lower than the max
3. Set the system clock
4. Watch how the clock is drifting
>Fix: