Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jan 2004 23:24:18 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        cvs-src@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/acpica acpi_cpu.c
Message-ID:  <20040101231631.B5869@root.org>
In-Reply-To: <20040101.192720.70220865.imp@bsdimp.com>
References:  <200312282215.hBSMFPYS067707@repoman.freebsd.org> <3FEF5981.8040103@freebsd.org> <1072653793.667.9.camel@localhost> <20040101.192720.70220865.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 1 Jan 2004, M. Warner Losh wrote:
> In message: <1072653793.667.9.camel@localhost>
>             Ryan Sommers <ryans@gamersimpact.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040101231631.B5869>