From owner-freebsd-stable@FreeBSD.ORG  Wed Apr 14 17:10:16 2010
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
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 2C54E106567E;
	Wed, 14 Apr 2010 17:10:16 +0000 (UTC) (envelope-from avg@icyb.net.ua)
Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140])
	by mx1.freebsd.org (Postfix) with ESMTP id 326768FC16;
	Wed, 14 Apr 2010 17:10:14 +0000 (UTC)
Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua
	[212.40.38.101])
	by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA02925;
	Wed, 14 Apr 2010 20:10:09 +0300 (EEST)
	(envelope-from avg@icyb.net.ua)
Message-ID: <4BC5F6F1.8040805@icyb.net.ua>
Date: Wed, 14 Apr 2010 20:10:09 +0300
From: Andriy Gapon <avg@icyb.net.ua>
User-Agent: Thunderbird 2.0.0.24 (X11/20100319)
MIME-Version: 1.0
To: Akephalos <akephalos.akephalos@gmail.com>
References: <q2v1468a0871004032332kd654e4c6s8fbb72ed16f73f0@mail.gmail.com>	<v2m3bbf2fe11004040928y3751bca5qfb2870c1fc03ad71@mail.gmail.com>	<h2i1468a0871004060450t59c81e76t947f8dbbe268b058@mail.gmail.com>	<y2q3bbf2fe11004060551i94582c86j211bf2baf96e6f14@mail.gmail.com>	<20100408042958.21d99cea.akephalos.akephalos@gmail.com>	<4BBD81B6.4000109@icyb.net.ua>	<20100408150436.f08ccbea.akephalos.akephalos@gmail.com>	<4BBDDB15.4080406@icyb.net.ua>	<20100408154422.071e0904.akephalos.akephalos@gmail.com>	<4BBDE420.2060003@icyb.net.ua>	<20100408162149.1a5bb8c7.akephalos.akephalos@gmail.com>	<4BBDF02C.4020909@icyb.net.ua>	<20100410072103.7a216222.akephalos.akephalos@gmail.com>	<4BC4DCF0.9010209@icyb.net.ua>	<20100414162800.76c6aeac.akephalos.akephalos@gmail.com>	<4BC5C599.2000802@icyb.net.ua>
	<20100414194102.66a35582.akephalos.akephalos@gmail.com>
In-Reply-To: <20100414194102.66a35582.akephalos.akephalos@gmail.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: Attilio Rao <attilio@freebsd.org>, freebsd-stable@freebsd.org
Subject: Re: CPU problems after 8.0-STABLE update
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, 
	<mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
	<mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Apr 2010 17:10:16 -0000

on 14/04/2010 19:41 Akephalos said the following:
> 
> You won't believe this, Andriy! It didn't work (top, top -P) after I rebooted
> my computer with that acpi option and machdep.lapic_allclocks explicitely set
> to zero. _However_, by reasons unknown, my computer time is offseting randomly
> and it happened that I saw my time showed as midnight, although it's seven in
> the evening. /etc/rc.d/ntpdate onerestart - and voila! Top shows correctly.
> Disabling all those options in loader.conf, the behavior is the same, top - and
> therefore powerd work after starting ntpdate.

Indeed, that almost sounds too good to be true :-)
Couple of questions:
1. Could you please check in dmesg if hpet attaches normally now or still has an
error?
2. Do you have to run ntpdate after each power-off or is everything OK after the
first run?
3. Have you ever set time on this machine before (in BIOS, other OS, etc)?
4. Can you please double-check that  lapic_allclocks is zero in kernel?
You can run 'kgdb /boot/kernel/kernel /dev/mem' and then 'print lapic_allclocks'

Thanks!
-- 
Andriy Gapon