From owner-freebsd-current@FreeBSD.ORG Wed Oct 1 11:28:45 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95D5C16A4B3 for ; Wed, 1 Oct 2003 11:28:45 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id F2C0743FCB for ; Wed, 1 Oct 2003 11:28:44 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 85483 invoked by uid 1000); 1 Oct 2003 18:28:45 -0000 Date: Wed, 1 Oct 2003 11:28:45 -0700 (PDT) From: Nate Lawson To: Jeremy Bingham In-Reply-To: <20031001170457.GA55275@lagash.satanosphere.com> Message-ID: <20031001112435.C85421@root.org> References: <20030930144703.W81965@root.org> <20030930220658.GA51513@lagash.satanosphere.com> <20031001162256.GB55082@lagash.satanosphere.com> <20031001170457.GA55275@lagash.satanosphere.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: Problem w/ ACPI in -CURRENT: Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 18:28:45 -0000 On Wed, 1 Oct 2003, Jeremy Bingham wrote: > On 01/10/03 09:33 -0700, Nate Lawson wrote: > > > > As far as debugging prints, add the following printfs to > > > > acpi_cmbat_get_bif(): > > > > > > > > printf("Before getting BIF\n"); > > > > as = AcpiEvaluateObject(h, "_BIF", NULL, &bif_buffer); > > > > printf("After getting BIF\n"); > > > > > > > > -Nate > > > > Ok, that's good to know. How about the printfs? Did the second one > > trigger? I could use a URL to your ASL and full dmesg on boot: > > The second one did not trigger (I had actually been using ACPI_VPRINT > for a while to get info like that). I have a dump of my ASL here: > http://home.satanosphere.com/bsd/jeremy.asl.gz. dmesg is not necessary. The only way to find what is hanging is to keep working printfs deeper into the _BIF method. Start with AcpiEvaluateObject in sys/contrib/dev/acpica/nsxfeval.c and sprinkle printf A, B, C etc. throughout to find where it hangs. Alternatively, if you have a serial console and gdb, you can step through the method. -Nate