You should be able to manually extract a core file by either running savecore by hand, or by setting the savecore to enable and restarting the dumpadm service:

   $ pfexec dumpadm -y
   $ pfexec svcadm restart dumpadm

This should hopefully produce a crash dump under /var/crash/<hostname> (by default, unless you've changed it).

The stack trace in this case provides enough information to see what was going on. It shows that ppm_lock_all() called mutex_exit on a mutex that thread did not own, specifically that the mutex was not owned at the time, implying a repeated mutex_exit where it should only be done once.

This is almost certainly a software bug, and CR 6808626 looks like it might match. However, this bug was marked as closed, not reproducible some time ago.

Would you be willing to send in the crash dump for analysis? Please note - this is not a commitment to fix.

As for disabling ppm, I don't know for certain, but you could theoretically add "exclude: ppm" to /etc/system. Alternatively (according to the comments ppm.c), it would seem that the module will not attach if the ppm.conf is not present (which on my system is under /platform/i86pc/kernel/drv) although I suspect that any kind of pkg fix or image-update operation would put this back.

Regards,
Brian


Tom Chen wrote:
Hello,

One of my x4270 with snv143 OS always panic after reboot. See the log below. 
What is this panic? it seems an error in power management. However, the other 
x4270 never has this panic. It is very strange. Is this a bad setup in this x86 
machine's BIOS or one device driver not good? how do I disable pm?

I failed to make a core dump since recent Solaris Express release apparently 
does not enable creation of core dump when panic happens. How do I enable?

Tom

Sep 18 13:43:22 fourier reboot: [ID 330035 auth.crit] initiated by root on 
/dev/pts/2
Sep 18 13:43:29 fourier syslogd: going down on signal 15
Sep 18 13:43:40 fourier genunix: [ID 672855 kern.notice] syncing file systems...
Sep 18 13:43:41 fourier genunix: [ID 904073 kern.notice]  done
Sep 18 13:43:44 fourier unix: [ID 836849 kern.notice] Sep 18 13:43:44 fourier ^Mpanic[cpu0]/thread=ffffff001f6f8c40: Sep 18 13:43:44 fourier genunix: [ID 103648 kern.notice] mutex_exit: not owner, lp=ffffff04ea31f848 owner=0 thread=ffffff001f6f8c40 Sep 18 13:43:44 fourier unix: [ID 100000 kern.notice] Sep 18 13:43:44 fourier genunix: [ID 655072 kern.notice] ffffff001f6f84c0 unix:mutex_panic+73 ()
Sep 18 13:43:44 fourier genunix: [ID 655072 kern.notice] ffffff001f6f84e0 
unix:mutex_vector_exit+41 ()
Sep 18 13:43:44 fourier genunix: [ID 655072 kern.notice] ffffff001f6f8530 
ppm:ppm_lock_all+bc ()
Sep 18 13:43:44 fourier genunix: [ID 655072 kern.notice] ffffff001f6f86b0 
ppm:ppm_ctlops+3da ()
Sep 18 13:43:44 fourier genunix: [ID 655072 kern.notice] ffffff001f6f86f0 
genunix:pm_ctlops+3d ()
Sep 18 13:43:44 fourier genunix: [ID 655072 kern.notice] ffffff001f6f8750 
genunix:pm_unlock_power+41 ()
Sep 18 13:43:44 fourier genunix: [ID 655072 kern.notice] ffffff001f6f8800 
genunix:pm_busop_set_power+798 ()
Sep 18 13:43:44 fourier genunix: [ID 655072 kern.notice] ffffff001f6f88c0 
genunix:pm_busop_bus_power+12e ()
Sep 18 13:43:44 fourier genunix: [ID 655072 kern.notice] ffffff001f6f8980 
genunix:pm_busop_bus_power+dc ()
Sep 18 13:43:44 fourier genunix: [ID 655072 kern.notice] ffffff001f6f8a60 
genunix:pm_set_power+115 ()
Sep 18 13:43:44 fourier genunix: [ID 655072 kern.notice] ffffff001f6f8ad0 
genunix:dev_is_needed+88 ()
Sep 18 13:43:44 fourier genunix: [ID 655072 kern.notice] ffffff001f6f8b10 
genunix:pm_raise_power+77 ()
Sep 18 13:43:44 fourier genunix: [ID 655072 kern.notice] ffffff001f6f8b80 
cpudrv:cpudrv_monitor+276 ()
Sep 18 13:43:44 fourier genunix: [ID 655072 kern.notice] ffffff001f6f8c20 
genunix:taskq_thread+248 ()
Sep 18 13:43:44 fourier genunix: [ID 655072 kern.notice] ffffff001f6f8c30 
unix:thread_start+8 ()
Sep 18 13:43:44 fourier unix: [ID 100000 kern.notice] Sep 18 13:43:44 fourier genunix: [ID 672855 kern.notice] syncing file systems...
Sep 18 13:43:44 fourier genunix: [ID 904073 kern.notice]  done
Sep 18 13:43:45 fourier genunix: [ID 111219 kern.notice] dumping to 
/dev/zvol/dsk/rpool/dump, offset 65536, content: kernel
Sep 18 13:44:12 fourier genunix: [ID 100000 kern.notice] Sep 18 13:44:12 fourier genunix: [ID 665016 kern.notice] ^M100% done: 291490 pages dumped, Sep 18 13:44:12 fourier genunix: [ID 851671 kern.notice] dump succeeded
Sep 18 13:48:41 fourier genunix: [ID 540533 kern.notice] ^MSunOS Release 5.11 
Version snv_143 64-bit

--
Brian Ruthven
Solaris Network RPE (Sustaining)
Oracle UK

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to