Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2010 20:10:09 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Akephalos <akephalos.akephalos@gmail.com>
Cc:        Attilio Rao <attilio@freebsd.org>, freebsd-stable@freebsd.org
Subject:   Re: CPU problems after 8.0-STABLE update
Message-ID:  <4BC5F6F1.8040805@icyb.net.ua>
In-Reply-To: <20100414194102.66a35582.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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC5F6F1.8040805>