From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 4 13:55:35 2011 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E40E106564A for ; Sat, 4 Jun 2011 13:55:35 +0000 (UTC) (envelope-from emielvanaalst@gmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5548FC13 for ; Sat, 4 Jun 2011 13:55:35 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QSr3O-0006Vy-2s for freebsd-acpi@freebsd.org; Sat, 04 Jun 2011 06:38:14 -0700 Date: Sat, 4 Jun 2011 06:38:14 -0700 (PDT) From: Emiel To: freebsd-acpi@freebsd.org Message-ID: <1307194694080-4453979.post@n5.nabble.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: AMD (Phenom II x6) Turbo-Core causes random hangs X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2011 13:55:35 -0000 Don Rosa wrote: > > When AMD TurboCore is enabled in the BIOS any version of FreeBSD I > have tested (8.1R, 8.2-RC3, 3-4months old 9-Current, all AMD64) causes > a hard hang (complete hardware freeze) that I am unable to debug. > > > I haven't been able to exactly reproduce the hang, but usually the > system freezes after about ~1-2hours of normal usage (eg, compiling > some "light" ports) but I have also noticed that the freeze triggers a > lot faster when playing something in mplayer. (Mplayer rarely lasts > for more than ~40minutes of continuous playback of a simple > low-definition movie). > > The freeze is not ports-userland/X related, as it has happened to > hang/freeze in a console pure-install environment by just compiling > system/ports with no extra drivers loaded. > > I have experimented with almost all (except TurboCore of course) BIOS > settings with no good results. > > FreeBSD-side I have also tried various things: > > - Disabling/Enabling powerd > - Disabling acpi_throttle > - Disabling apic clock > - Disabling cpufreq/hwpstate subsystems > - Lowering HZ > - Changing sysctl c-state settings > - Changing timecounters > > Of which nothing worked. > > > Finally turning off TurboCore in the BIOS solves the problem > completely. I have experienced zero freezes with Turbo=off (machine > rock stable), and in sum ~60 freezes with Turbo=on (while I was trying > various things to solve the problem). > > Some extra notes: > > (all amd64 versions) > Windows7 - no hangs ever with Turbo=on whatever the load/usage > Linux - no hangs ever with Turbo=on whatever the load/usage > OpenBSD 4.8 MP, usage of only 2-3 days, mainly to build stuff, no > hangs with Turbo=on. > > Hiya Don Rosa, Im having the exact same problem on my machine here, i've now changed the Turbo to off as you stated, so far its running solid (only 3 hours uptime, but thats more then i had the past week). To anyone whom is more experienced in FreeBSD and the workings of this (im a fairly new FreeBSD user), how to approach this now, im sure it can be solved, however, without any way of debugging or working logging i suspect this is not easy to reproduce for any developer. I will update here when my system has been stable for longer so its clear for everyone that this is the only working workaround. -- View this message in context: http://freebsd.1045724.n5.nabble.com/AMD-Phenom-II-x6-Turbo-Core-causes-random-hangs-tp4226242p4453979.html Sent from the freebsd-acpi mailing list archive at Nabble.com.