From owner-freebsd-acpi@FreeBSD.ORG Thu Apr 27 20:17:59 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 B549916A412 for ; Thu, 27 Apr 2006 20:17:59 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CD2C43D46 for ; Thu, 27 Apr 2006 20:17:59 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.165] (dhcp-171-165.centtech.com [10.177.171.165]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k3RKHvCA056867; Thu, 27 Apr 2006 15:17:58 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <445126FA.4050700@centtech.com> Date: Thu, 27 Apr 2006 15:18:02 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060402) MIME-Version: 1.0 To: Nate Lawson References: <4451123E.3070105@centtech.com> <44511838.8030904@root.org> In-Reply-To: <44511838.8030904@root.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1428/Thu Apr 27 13:39:31 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-acpi@freebsd.org Subject: Re: Lock up when going to 'economy mode' (battery) 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: Thu, 27 Apr 2006 20:17:59 -0000 Nate Lawson wrote: > Eric Anderson wrote: >> From single user, this works as expected - unplugging the power >> adapter makes the laptop go into low power mode, and everything >> continues to work. >> >> However, when in multi-user mode, it locks the machine up, and all I >> see is the ACPI messages on the console telling me it went in/out of >> economy/performance modes. I can only hard boot the laptop to get it >> back working. This is a new Dell Latitude D820 (Core Duo). >> >> powerd_enable="YES" > > >> powerd_flags="-a max -b adaptive -p 100 -r 65 -i 90" > > Try disabling powerd. Then from the command line in single user mode, > poke around with dev.cpu.0.freq=XXX. You could disable p4tcc and > acpi_throttle to see if that helps (hint.p4tcc.0.disabled="1"). > >> performance_cx_lowest="C1" >> economy_cx_lowest="C1" > > I see you've disabled the potential Cx interaction. I'll look into that > issue soon now that I have a system that exhibits this bug. > Looks like I had cpufreq.ko loaded, which caused the problem. Removing that from loader.conf made my system happy again. Here's another thing I noticed (unrelated to above): I booted with the main battery, and had a dvd drive in the option bay. Unplug the AC, battery remaining time shows about 4 hours. Plug AC back in. Then did: atacontrol detach ata1 and removed the dvd drive. Then, I inserted the secondary battery. I didn't notice anything (no battery charging, no dmesg info, etc). I then unplugged the AC, and the battery remaining time shows '-1'. Hints? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------