Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Apr 2010 15:02:29 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Akephalos 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:  <4BBB22D5.3070600@icyb.net.ua>
In-Reply-To: <h2i1468a0871004060450t59c81e76t947f8dbbe268b058@mail.gmail.com>
References:  <q2v1468a0871004032332kd654e4c6s8fbb72ed16f73f0@mail.gmail.com>	 <v2m3bbf2fe11004040928y3751bca5qfb2870c1fc03ad71@mail.gmail.com> <h2i1468a0871004060450t59c81e76t947f8dbbe268b058@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
on 06/04/2010 14:50 Akephalos Akephalos said the following:
> On Sun, Apr 4, 2010 at 7:28 PM, Attilio Rao <attilio@freebsd.org
> <mailto:attilio@freebsd.org>> wrote:
> 
>     What architecture is it?
>     May you try setting machdep.lapic_allclocks to 1 in /boot/loader.conf?
>     May you report #dmesg | grep atrtc
> 
> 
>     Thanks,
>     Attilio
> 
> 
>     --
>     Peace can only be achieved by understanding - A. Einstein
> 
> 
> # dmesg | grep -B 5 -A 5 -i rtc
> acpi_button0: <Sleep Button> on acpi0
> acpi_button1: <Power Button> on acpi0
> acpi_tz0: <Thermal Zone> on acpi0
> battery0: <ACPI Control Method Battery> on acpi0
> acpi_acad0: <AC Adapter> on acpi0
> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> atkbd0: [ITHREAD]
> ---

Is this before or after setting machdep.lapic_allclocks?
If after, could you please check what happens without the change?

> I set machdep.lapic_allclocks to 1 at statup - top works now!! I can see
> both processors with top -P, btw, everything looks fine, although I get
> core dump for xfce4-taskmanager and can't test it (it's probably related
> to something else).
> ---
> 
> I started powerd - it scales the frequencies correctly now.
> 
> This seems to be the solution, is this a bug should I report or leave
> things like this?

Bug report never hurts :-)
Could you please tell us what system us this (motherboard model)?
Also, could you post output of acpidump -dt?
Thanks!

-- 
Andriy Gapon



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