From owner-freebsd-current@FreeBSD.ORG Fri Jul 29 02:19:23 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2055816A41F for ; Fri, 29 Jul 2005 02:19:23 +0000 (GMT) (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 B028D44029 for ; Fri, 29 Jul 2005 02:19:22 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.23] (andersonbox3.centtech.com [192.168.42.23]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j6T2JKVP094076; Thu, 28 Jul 2005 21:19:21 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <42E99222.8090406@centtech.com> Date: Thu, 28 Jul 2005 21:19:14 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050603 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ben Kaduk References: <47d0403c05072817251d3c965a@mail.gmail.com> In-Reply-To: <47d0403c05072817251d3c965a@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/995/Wed Jul 27 15:13:50 2005 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-current@freebsd.org Subject: Re: hw.acpi.battery.time reports inconsistent values X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 02:19:23 -0000 Ben Kaduk wrote: > Hi all -- I don't know whether or not this is related to the recent > battery rework, but I'm running > prolepsis# uname -a > FreeBSD prolepsis.math.uiuc.edu 7.0-CURRENT FreeBSD 7.0-CURRENT #5: > Thu Jul 28 07:42:25 UTC 2005 > kaduk@prolepsis.math.uiuc.edu:/usr/obj/usr/src/sys/PROLEPSIS i386 > and this afternoon I had my laptop running off its battery (basically > as a jukebox), which is somewhat unusual since normally I plug it in. > I wanted to see how > fast I was draining the battery, so I did some `sysctl > hw.acpi.battery'-ing (see transcript below), and then proceeded to get > very confused. > > Is there a known race in this sysctl code, or should I be looking for > something else (like a broken acpi)? Re-cvsup and rebuild - Nate Lawson committed a fix for this today, after your build that fixed me up. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------