cvs commit: src/sys/dev/acpica acpi_cpu.c

Nate Lawson nate at root.org
Thu Jan 1 23:24:20 PST 2004


On Thu, 1 Jan 2004, M. Warner Losh wrote:
> In message: <1072653793.667.9.camel at localhost>
>             Ryan Sommers <ryans at 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


More information about the cvs-src mailing list