From owner-freebsd-stable@FreeBSD.ORG Wed Mar 3 08:11:05 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 B86A91065672 for ; Wed, 3 Mar 2010 08:11:05 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 261F68FC25 for ; Wed, 3 Mar 2010 08:11:04 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.3/8.14.3) with ESMTP id o2389vYT032529; Wed, 3 Mar 2010 09:09:57 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.3/8.14.3/Submit) id o2389ug8032528; Wed, 3 Mar 2010 09:09:56 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Wed, 3 Mar 2010 09:09:56 +0100 From: Ruben de Groot To: Jeremy Chadwick Message-ID: <20100303080956.GA32493@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Jeremy Chadwick , "C. P. Ghost" , freebsd-stable@freebsd.org 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100302173632.GA29314@icarus.home.lan> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Wed, 03 Mar 2010 09:11:00 +0100 (CET) Cc: freebsd-stable@freebsd.org, "C. P. Ghost" 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 08:11:05 -0000 On Tue, Mar 02, 2010 at 09:36:32AM -0800, Jeremy Chadwick typed: > On Tue, Mar 02, 2010 at 06:12:27PM +0100, Ruben de Groot wrote: > > On Tue, Mar 02, 2010 at 12:09:21PM +0100, C. P. Ghost typed: > > > On Tue, Mar 2, 2010 at 9:43 AM, Ruben de Groot wrote: > > > > malenfant# sysctl kern.timecounter > > > > kern.timecounter.tick: 1 > > > > kern.timecounter.choice: TSC(-100) HPET(900) ACPI-safe(850) i8254(0) dummy(-1000000) > > > > kern.timecounter.hardware: HPET > > > > > > Just a wild guess... but is HPET really enabled in the BIOS? > > > > Well, there's no such option in the BIOS. Just checked. It's btw an AMI BIOS. > > I'm totally unfamiliar with timecounter hardware, but after resetting the BIOS to > > factory settings (which I think it allready was, since I only change anything > > there when there is a real reason) the problem persists. > > The BIOS option could be labelled something like "Multimedia Timer" or > "High Prevision Event Timer". Each mainboard or BIOS manufacturer seems > to have their own naming convention for it, though Wikipedia does shed > some light on the confusion. I've looked through all options, without succes :( > > 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. One question remains: why did this suddenly become a problem in FreeBSD 8 and not in FreeBSD 7. cheers, Ruben