From owner-cvs-src@FreeBSD.ORG Sun Dec 28 15:36:56 2003 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 D146F16A4CE for ; Sun, 28 Dec 2003 15:36:56 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 1E59643D64 for ; Sun, 28 Dec 2003 15:36:54 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 10499 invoked by uid 1000); 28 Dec 2003 23:36:55 -0000 Date: Sun, 28 Dec 2003 15:36:55 -0800 (PST) From: Nate Lawson To: Scott Long In-Reply-To: <3FEF5981.8040103@freebsd.org> Message-ID: <20031228153435.J10485@root.org> References: <200312282215.hBSMFPYS067707@repoman.freebsd.org> <3FEF5981.8040103@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: UtAllocate 0 length errors 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: Sun, 28 Dec 2003 23:36:57 -0000 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