friendly-dumpadm-0.1
I found a few spare moments to work on the idea I wrote about before - a replacement for the default svc:/system/dumpadm:default service that will show a dialog after the first X user logs in after the system has panicked.
Here's what the dialog looks like:
I've a working prototype now available at friendly-dumpadm-0.1.tar.gz. You might be interested in checking out the README that comes with it.
Rather than replace the existing dumpadm service, I created a new one so there'd be no confusion as to what's running - I'm calling it svc:/system/dumpadm:friendly for now, but comments welcome.
I'm also not entirely sure which mail-alias should be used to send crash summaries to - I'd thought about help [at] opensolaris.org, but wasn't sure if that was the right place, so for now, it just mails these summaries to me.
The "Upload compressed crash dump binary" option isn't implemented yet, partially because we've nowhere to actually upload these binaries to, but also because it will require a bit more work, in terms of setting up an RBAC profile that allows users access to the crash dump, something they're not normally allowed as crash dumps can contain sensitive information.
What's in a panic summary ? Well for now, not much - just the output of the mdb dcmds ::status, ::msgbuf and $c. Can anyone suggest other useful commands that could be added ?
I should point out, this isn't an official Solaris project - it's just me thinking about what sort of things we could have to make OpenSolaris more approachable to folks who perhaps don't know about the wonderful observability features we have - hopefully it'll help answer the question "I was using OpenSolaris and it just spontaneously rebooted! WTF?".
Posted by Sean on July 22, 2007 at 12:09 PM IST #
Posted by John Levon on July 22, 2007 at 04:59 PM IST #
Posted by stevel on July 22, 2007 at 05:43 PM IST #
Thanks for the comments guys, much appreciated!
I'll add Sean's suggestion to the next version, and have a go at fixing the UI - you're absolutely right. It's just a simple zenity script for now, so I suspect it'll mean something more fully fledged to add more GUI polish, but I'll see what I can come up with.
Posted by Tim Foster on July 22, 2007 at 06:43 PM IST #
I want to know why we are using these commands
1. dumpadm -d `swap -l tail -1 awk '{print $1}'
2. installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t1d0s0
uname -i out put of the system is SUNW,UltraAX-i2
Ther are two disks are there in our environmet so give the suggestion to install boot block in the mirrored disk
Posted by Ratnakar on January 02, 2009 at 07:01 AM GMT #
I want to know why we are using these commands
1. dumpadm -d `swap -l tail -1 awk '{print $1}'
2. installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t1d0s0
uname -i out put of the system is SUNW,UltraAX-i2
Ther are two disks are there in our environmet so give the suggestion to install boot block in the mirrored disk
Posted by Ratnakar on January 02, 2009 at 07:02 AM GMT #
Please sent the importance of these two commands
SUNW,UltraAX-i2 for the two disk environmet for mirroring the disk
1,dumpadm -d `swap -l tail -1 awk '{print $1}'
2. installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t1d0s0
Posted by Ratnakar on January 02, 2009 at 07:07 AM GMT #