UtAllocate 0 length errors

Nate Lawson nate at root.org
Sun Dec 28 15:36:57 PST 2003


On Sun, 28 Dec 2003, Scott Long wrote:
> My Dell 8200 laptop used to work reasonably well with ACPI, the only
> problem being that the ASL was doing the pass-by-reference/pass-by-value
> mixup that resulted in a lot of 'cannot allcoate 0 byte' problems.  With
> a patch that worked around this, most acpi functions seemed to work.
> With the latest ACPI, the patch that I had seems to have been
> integrated, but now there are new problems.  The battery reporting seems
> to no longer work, and I get a lot of the following
> messages on the console:
>
>          -0166: *** Error: UtAllocate: Attempt to allocate zero bytes
>
> What information do you need to track this down?

Let's not hijack this commit message since it isn't at all related.

We've been working on this problem, please try the patch below (after
making the appropriate case/variable name substitutions):

http://bugme.osdl.org/show_bug.cgi?id=1728#c2

Once you've tested it and it works, please attach the BSD version to the
PR.

-Nate


More information about the cvs-src mailing list