Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2003 15:36:55 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Scott Long <scottl@freebsd.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: UtAllocate 0 length errors
Message-ID:  <20031228153435.J10485@root.org>
In-Reply-To: <3FEF5981.8040103@freebsd.org>
References:  <200312282215.hBSMFPYS067707@repoman.freebsd.org> <3FEF5981.8040103@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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