From owner-freebsd-stable@FreeBSD.ORG Wed Mar 3 11:47:29 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60C7B106566C for ; Wed, 3 Mar 2010 11:47:29 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by mx1.freebsd.org (Postfix) with ESMTP id 4271E8FC0A for ; Wed, 3 Mar 2010 11:47:28 +0000 (UTC) Received: from omta08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by qmta07.emeryville.ca.mail.comcast.net with comcast id obl71d0090FhH24A7bnVgf; Wed, 03 Mar 2010 11:47:29 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta08.emeryville.ca.mail.comcast.net with comcast id obnU1d0073S48mS8UbnVHB; Wed, 03 Mar 2010 11:47:29 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id D35521E3035; Wed, 3 Mar 2010 03:47:27 -0800 (PST) Date: Wed, 3 Mar 2010 03:47:27 -0800 From: Jeremy Chadwick To: freebsd-stable@freebsd.org Message-ID: <20100303114727.GA52470@icarus.home.lan> References: <20100301203450.GA99170@ei.bzerk.org> <20100301211441.GB99170@ei.bzerk.org> <20100302084347.GA4719@ei.bzerk.org> <20100302171227.GA26933@ei.bzerk.org> <20100302173632.GA29314@icarus.home.lan> <20100303080956.GA32493@ei.bzerk.org> <20100303110901.GB51588@icarus.home.lan> <2e027be01003030316v719ae418o35ec64ab33aae9df@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2e027be01003030316v719ae418o35ec64ab33aae9df@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: stable-8 regression: time stands still X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2010 11:47:29 -0000 On Wed, Mar 03, 2010 at 11:16:51AM +0000, Tom Evans wrote: > On Wed, Mar 3, 2010 at 11:09 AM, Jeremy Chadwick > wrote: > > On Wed, Mar 03, 2010 at 09:09:56AM +0100, Ruben de Groot wrote: > >> > > I'm going to get this kern.timecounter sysctl from the system booted with a 7.x livecd > >> > > this evening. But really, I think this is a regression. Even if this system is the only > >> > > one known to be affected (which I sincerely doubt). > >> > > >> > You can force a timecounter choice by setting it in /boot/loader.conf. > >> > I would recommend choosing ACPI-safe on your system to see if that > >> > improves things: > >> > > >> > kern.timecounter.hardware=ACPI-safe > >> > >> Thanks, that solved my issue. Allthough for correctness I must add that this line > >> must be put in /etc/sysctl.conf; it does nothing in loader.conf. > >> Also the sysctl can be run in multiuser and immediately fixed the problem. > > > > Ah, I thought it was a loader tunable, not a sysctl tunable.  My > > apologies!  Yes, sysctl.conf is the correct place for this. > > > >> One question remains: why did this suddenly become a problem in FreeBSD 8 and not > >> in FreeBSD 7. > > > > That would be a question for the people who decided upon the timecounter > > priorities in FreeBSD, since they're hard-coded (meaning: why HPET is > > chosen above ACPI-safe).  This may have changed between RELENG_7 and > > RELENG_8; I simply don't know.  It would be easy to verify on your > > system of course (just boot a FreeBSD 7 LiveCD and provide the output > > from sysctl kern.timecounter). > > > > Another possibility could be that RELENG_7 was finding ACPI-fast, > which is rated above HPET. I'm not sure why some machines get > ACPI-fast and some get ACPI-safe - I think ACPI-fast is tested at boot > up, and if the measurements are not consistent, it disables ACPI-fast > and uses ACPI-safe instead, which is then ignored when HPET is > available. I believe that question got answered last month: Q: http://lists.freebsd.org/pipermail/freebsd-stable/2010-February/055056.html A: http://lists.freebsd.org/pipermail/freebsd-stable/2010-February/055057.html A: http://lists.freebsd.org/pipermail/freebsd-stable/2010-February/055071.html A: http://lists.freebsd.org/pipermail/freebsd-stable/2010-February/055158.html -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |