From owner-freebsd-acpi@FreeBSD.ORG Sun Aug 20 06:00:43 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 6B3B016A4F0 for ; Sun, 20 Aug 2006 06:00:43 +0000 (UTC) (envelope-from acpi.dettloff@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46ECF43D7D for ; Sun, 20 Aug 2006 06:00:34 +0000 (GMT) (envelope-from acpi.dettloff@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so1144590wxd for ; Sat, 19 Aug 2006 23:00:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=GAOiSYKJEWT0vAZdyeUQ8DF1ws4rZ8kuS1EqRm05rR7Gl8Oio+dapdp4IhSgFJhCy1ZPIc3VDWkB3komBqifb+R8WRWV02Q08YKO8JSrLrj9Ny/NK5QQlEu1+qnJT851MaOt+TmlWQSsD7bSVtQTem3HENlz6yKdB3di5o5GVjk= Received: by 10.90.54.4 with SMTP id c4mr72210aga; Sat, 19 Aug 2006 23:00:33 -0700 (PDT) Received: by 10.90.93.12 with HTTP; Sat, 19 Aug 2006 23:00:33 -0700 (PDT) Message-ID: Date: Sun, 20 Aug 2006 16:00:33 +1000 From: "Tim Dettloff" To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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: Sun, 20 Aug 2006 06:00:43 -0000 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? Cheers, Tim