From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 8 08:32:14 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA68B16A4CE for ; Thu, 8 Jan 2004 08:32:14 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id D74B343D5A for ; Thu, 8 Jan 2004 08:32:04 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 35404 invoked by uid 1000); 8 Jan 2004 16:32:05 -0000 Date: Thu, 8 Jan 2004 08:32:05 -0800 (PST) From: Nate Lawson To: Lukas Ertl In-Reply-To: <20040108110059.W602@korben.in.tern> Message-ID: <20040108082703.B35340@root.org> References: <20040107.174135.21620917.imp@bsdimp.com> <20040108020418.V622@korben.in.tern> <20040107.214127.05158448.imp@bsdimp.com> <20040108110059.W602@korben.in.tern> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: mobile@freebsd.org Subject: Re: More power patches X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 16:32:14 -0000 On Thu, 8 Jan 2004, Lukas Ertl wrote: > On Wed, 7 Jan 2004, M. Warner Losh wrote: > > : > *) hw.pci.allow_unsupported_io_range="1" is not needed anymore > > : > *) ACPI battery info is broken now (see end of dmesg) > > : > > : Uhm, there seems to be something else bogus, I tried to build kernel > > : again, and now ACPI loading fails completely: > > : > > : Preloaded elf module "/boot/kernel/acpi.ko" at 0xc087d300. > > : link_elf: symbol AcpiDmDumpMethodInfo undefined > > : KLD file acpi.ko - could not finalize loading > > > > Hmmm, I think this is a ACPI_DEBUG related thing of some kind. ACPI > > failing completely is a good reason for the battery to be broken. :-) > > OK, I think this was a bogus ACPI_DEBUG leftover. Yes, it was. I just committed a fix for this so this shouldn't happen to people any more. > I've now compiled everything from scratch with and without the patch, > acpi.ko loads fine now, but battery info is broken (even without the > patch). > > It worked fine with a kernel from Jan 2, and I don't know if something > has changed in the main tree. Try this patch, it works for me: http://bugzilla.kernel.org/show_bug.cgi?id=1791 -Nate