On Thu, Sep 13, 2012 at 08:50:06AM -0500, joshua stein wrote:
> On Thu, 13 Sep 2012 at 13:21:54 +0300, Paul Irofti wrote:
> > On Wed, Sep 12, 2012 at 09:12:20PM -0500, joshua stein wrote:
> > > asus ux31a running amd64 sept 11 snapshot, newest bios (happened
> > > with older one too), panics during acpi configuration.
> > 
> > Does this help?
> 
> no, same aml_die output and same panic (just with a different offset
> in acpicpu_set_pdc())

Could you write me what happens between the invocation of PDC and the
panic with the following diff?

Might be a bit verbose. Sorry about that.


Index: dsdt.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/dsdt.c,v
retrieving revision 1.181
diff -u -p -r1.181 dsdt.c
--- dsdt.c      2 Jan 2011 04:56:57 -0000       1.181
+++ dsdt.c      14 Feb 2011 23:18:45 -0000
@@ -104,6 +104,8 @@ void                        aml_dump(int, u_int8_t *);
 void                   _aml_die(const char *fn, int line, const char *fmt, 
...);
 #define aml_die(x...)  _aml_die(__FUNCTION__, __LINE__, x)
 
+int noisy = 1;
+
 void aml_notify_task(void *, int);
 void acpi_poll_notify_task(void *, int);
 
@@ -3293,7 +3295,8 @@ aml_xparse(struct aml_scope *scope, int 
                /* No opcode handler */
                aml_die("Unknown opcode: %.4x @ %.4x", opcode, pc);
        }
-       dnprintf(18,"%.4x %s\n", pc, aml_mnem(opcode, scope->pos));
+       if (noisy)
+               printf("%.4x %s\n", pc, aml_mnem(opcode, scope->pos));
 
        /* --== Stage 1: Process opcode arguments ==-- */
        memset(opargs, 0, sizeof(opargs));

Reply via email to