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. -NateReceived on Wed Oct 01 2003 - 09:28:45 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:24 UTC