From owner-freebsd-acpi@FreeBSD.ORG Mon Aug 16 00:54:11 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EAE516A4CE for ; Mon, 16 Aug 2004 00:54:11 +0000 (GMT) Received: from mail.iinet.net.au (mail-04.iinet.net.au [203.59.3.36]) by mx1.FreeBSD.org (Postfix) with SMTP id 9205143D1D for ; Mon, 16 Aug 2004 00:54:09 +0000 (GMT) (envelope-from jne@iinet.net.au) Received: (qmail 17003 invoked from network); 16 Aug 2004 00:54:07 -0000 Received: from unknown (HELO ?192.168.0.10?) (203.217.51.228) by mail.iinet.net.au with SMTP; 16 Aug 2004 00:54:06 -0000 Message-ID: <4120057A.9060304@iinet.net.au> Date: Mon, 16 Aug 2004 10:53:14 +1000 From: Michael McCormack User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: AML and other troubles X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 00:54:11 -0000 Greetings all. I'm running into huge trouble trying to get my laptop up and running with FreeBSD. It is a Compaq armada e500. I know this model works under BSD; The FLCL says so :) However, mine seems to be somewhat broken. I get these errors at boot: ACPI-1287: *** Error: Method execution failed [\\_SB_.C005.C00B] (Node 0xc136b920), AE_AML_BUFFER_LIMIT ACPI-1287: *** Error: Method execution failed [\\_SB_.C005.C00F] (Node 0xc136b900), AE_AML_BUFFER_LIMIT ACPI-1287: *** Error: Method execution failed [\\_SB_.C005._CRS] (Node 0xc136b8e0), AE_AML_BUFFER_LIMIT ACPI-0226: *** Error: Return object type is incorrect [\\_SB_.C005._CRS] (Node 0xc136b8e0), AE_TYPE can't fetch resources for \\_SB_.C005 - AE_TYPE I dumped out my DSDT and had a look thru it. \_SB_.C005 seems to be a device with _HID "PNP0A03" (or as compaq prefers, "*PNP0A03" -- more on that later). AFAIK, PNP0A03 is a PCI root bridge. I'm thinking not being able to fetch resources for a root bridge is a Bad Thing. This also ties into the problems I'm having with the video card.. startx just hangs. xf86cfg hangs. xf86config runs, but the generated config file causes startx to hang no matter what I choose (even generic VGA). There's never any errors in the logfile, it just stops after (surprise!) the PCI probe stuff. The system is dual boot, freeBSD and win'98, since some of the settings and stuff can only be accessed from windows software. I have similar problems under 'doze.. The default memory address setting of the AGP bridge conflicts with just about everything on the system; With the default setting I can't get better than 640x480x8bit colour. However, If I manually override the memory address setting of the AGP bridge, i get 1024x768x24bit, happiness, puppies, etc. I consider myself a reasonably non-crap programmer, and I've already started debugging my DSDT AML; So far I've removed the "*" in front of all the device names, and inserted a couple "return(0)" statements so it compiles without errors (only warnings..) but I have no clue where to start when it comes to fixing the above errors. I'd be more than happy to do the hard work myself and post the diffs somewhere if somebody could just tell me what to look for :) I can post dmesg output, aml, logfiles or anything else people want if it will help. And yes, I've tried several different BIOS revisions. All give the same errors. I'm attempting to debug the most recent one. Thanks. -Michael.