Subject: Re: Call for testing: ACPI standby/suspend support
To: Jared D. McNeill <jmcneill@invisible.ca>
From: Tom Spindler <dogcow@babymeat.com>
List: tech-kern
Date: 03/12/2006 01:18:19
S3 suspends successfully, but panics when I try to wake up:

#0  0xc04e6000 in ?? ()
#1  0xc024d503 in cpu_reboot (howto=256, bootstr=0x0)
    at /usr/src/sys/arch/i386/i386/machdep.c:755
#2  0xc01fbf5c in panic (fmt=0xc0356497 "trap")
    at /usr/src/sys/kern/subr_prf.c:246
#3  0xc025669a in trap (frame=0xcb141ea0)
    at /usr/src/sys/arch/i386/i386/trap.c:336

(gdb) print *frame
$2 = {tf_gs = 16, tf_fs = 48, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = 3, 
  tf_ebp = 0, tf_ebx = 4096, tf_edx = 0, tf_ecx = -1069820096, 
  tf_eax = -12594945, tf_trapno = 6, tf_err = 2, tf_eip = -887873785, 
  tf_cs = 8, tf_eflags = 66195, tf_esp = -1070560220, tf_ss = 3, 
  tf_vm86_es = 3, tf_vm86_ds = 0, tf_vm86_fs = -1058864128, 
  tf_vm86_gs = -887873720}

(gdb) l 327
322                                     printf("kgdb: ignored %s\n", trap_type[type]);
323                                     return;
324                             }
325                     }
326     #endif
327                     if (frame->tf_trapno < trap_types)
328                             printf("fatal %s", trap_type[frame->tf_trapno]);
329                     else
330                             printf("unknown trap %d", frame->tf_trapno);
331                     printf(" in %s mode\n", (type & T_USER) ? "user" : "supervisor");
332                     printf("trap type %d code %x eip %x cs %x eflags %x cr2 %x ilevel %x\n",
333                         type, frame->tf_err, frame->tf_eip, frame->tf_cs,
334                         frame->tf_eflags, rcr2(), curcpu()->ci_ilevel);
335     
336                     panic("trap");

I have a corefile if you want it.