From owner-cvs-src@FreeBSD.ORG Thu Jan 1 23:24:19 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E754B16A4CF for ; Thu, 1 Jan 2004 23:24:19 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id E35B443D55 for ; Thu, 1 Jan 2004 23:24:15 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 7254 invoked by uid 1000); 2 Jan 2004 07:24:18 -0000 Date: Thu, 1 Jan 2004 23:24:18 -0800 (PST) From: Nate Lawson To: "M. Warner Losh" In-Reply-To: <20040101.192720.70220865.imp@bsdimp.com> Message-ID: <20040101231631.B5869@root.org> References: <200312282215.hBSMFPYS067707@repoman.freebsd.org> <3FEF5981.8040103@freebsd.org> <1072653793.667.9.camel@localhost> <20040101.192720.70220865.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: ryans@gamersimpact.com cc: src-committers@FreeBSD.org cc: scottl@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/acpica acpi_cpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2004 07:24:20 -0000 On Thu, 1 Jan 2004, M. Warner Losh wrote: > In message: <1072653793.667.9.camel@localhost> > Ryan Sommers writes: > : Try: http://sandcat.nl/~stijn/freebsd/dell.php > : > : It's a patch for the DSDT. Only problem I seem to have on my 8200 (I'm > : on now and always) is the battery reads 118% when it's on AC. > > I'm still in battery hell with that patch: > % apm > APM version: 1.2 > APM Management: Enabled > AC Line status: on-line > Battery status: charging > Remaining battery life: invalid value (0xffffffff) > Remaining battery time: unknown > Number of batteries: 2 > Battery 0: > Battery status: not present > Battery 1: > Battery status: not present > APM Capabilities: > unknown > % sysctl hw.acpi > ... > hw.acpi.acline: 1 > hw.acpi.battery.life: -1 > hw.acpi.battery.time: -1 > hw.acpi.battery.state: 7 > hw.acpi.battery.units: 2 > hw.acpi.battery.info_expire: 5 > % > > And I'm still getting: > > -0166: *** Error: UtAllocate: Attempt to allocate zero bytes > > messages a bunch. Same number with or without those patches. Whether or not that works, try the FreeBSD version of the patch attached to this bug: http://bugme.osdl.org/show_bug.cgi?id=1766 It's not a fix but a workaround until he finds the reference counting bug. If it doesn't help, try reverting dsmthdat.c to 1.1.1.18. -Nate