From owner-freebsd-acpi@FreeBSD.ORG Mon Aug 21 05:50:38 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE92216A4DF for ; Mon, 21 Aug 2006 05:50:38 +0000 (UTC) (envelope-from nate@root.org) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B45143D5F for ; Mon, 21 Aug 2006 05:50:38 +0000 (GMT) (envelope-from nate@root.org) X-ORBL: [71.139.46.150] Received: from [10.0.5.51] (ppp-71-139-46-150.dsl.snfc21.pacbell.net [71.139.46.150]) by ylpvm29.prodigy.net (8.13.7 out spool5000 dk/8.13.7) with ESMTP id k7L5oUgD031664; Mon, 21 Aug 2006 01:50:31 -0400 Message-ID: <44E9498F.8030208@root.org> Date: Sun, 20 Aug 2006 22:50:07 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.2 (X11/20060501) MIME-Version: 1.0 To: Tim Dettloff References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Powerd makes computer hang 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: Mon, 21 Aug 2006 05:50:38 -0000 Tim Dettloff wrote: > Hi > > I have installed FreeBSD 6.1-RELEASE on my Compaq Presario 2656AU > laptop, but it occasionally hangs. I traced the problem to powerd so I > made a script that kept changing the clock rate by setting the sysctl > dev.cpu.0.freq. This script normally makes the computer hang within 10 > seconds or so. > > I then added a few printf's here and there which have let me to > believe that the problem is somewhere in > sys/dev/acpica/acpi_throttle.c, acpi_thr_set > It only prints the first letter of a printf just after the line > THR_SET_REG(sc->cpu_p_cnt, p_cnt); > > The problem happens with and without cpufreq.ko loaded. The kernel is > GENERIC. > > Any Ideas? dmesg would be a good start. Is there some cpufreq driver running besides acpi_throttle? Add hint.acpi_throttle.0.disabled="1" in loader.conf, reboot, and then retry your test. My guess is acpi_throttle is just a wrapper around p4-tcc on your system. -- Nate