SUMMARY: Testing a crash dump

From: Kevin M. Korb (kmk@sanitarium.net)
Date: Mon Nov 06 2000 - 10:08:20 CST


Sun guru's,
        Thanks for all of the replies. Special thanks to:
Cathy Smith
George Schlossnagle
Casper Dik
iRichard Ashton Richard
Craig McLean
Jason Marshall

Answers:
--------------------------------------------------------------------------------
Cathy Smith wrote:
> there's a book that's show you different ways to reproduce specific
> messages and core dumps:
>
> Panic! Unix System Crash Dump Analysis Handbook
> by C Drake, K Brown

[Duh, I have this book but I didn't think to look at it. This is the solution
that I will use. It is the same commands suggested by George Schlossnagle in
the next reply]
--------------------------------------------------------------------------------
George Schlossnagle wrote:
> As root
>
> # adb -k /dev/ksyms /dev/mem #edit the running kernel
>
> rootdir/X # show the current pointer to the root vnode of the system
> rootdir/W 0 # set theroot vnode to the null pointer
> $q # leave adb
> #
--------------------------------------------------------------------------------
Casper Dik wrote:
> Typical trick:
>
> adb -wk
> rootdir/W0
>
> or on 64 bit systems:
>
> adb -wk
> rootdir/Z0
>
> both followed by:
>
> cd /
--------------------------------------------------------------------------------
Richard Ashton wrote:
> uadmin 2 0 at the command line as root.
--------------------------------------------------------------------------------
Craig McLean wrote:
> You used to be able to cat big binary files > /dev/kmem and the like to get
> kernel faults, don't know if that still works though...

Craig.
--------------------------------------------------------------------------------
Jason Marshall wrote:
> A sun hardware guy once demonstrated that sticking a pencil into one of
> the fans on an enterprise-class machine will force a panic after some
> short time.
>
> ---
> Jason Marshall, Unix Geek, Veritas GeoServices, Ltd., Calgary, AB, Canada.
--------------------------------------------------------------------------------

Original question:
Kevin Korb wrote:
> Sun guru's,
> I need to test and possibly document the savecore procedure. I would
> like to know if there is a way to intentionally cause a system to panic in
> order to get a crash dump. I know about typing 'sync' at the ok prompt but I
> was hoping for a real error. I want to do this on a UE4500 running Solaris 7
> but I will also need to do it on varius 2.6 servers. Any ideas on how to
> crash one of these normally reliable systems?
>
> TIA
>
>
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
> Kevin Korb Phone: (407) 513-7732
> Senior Systems Administrator Internet:
> Maxcess, Inc. kkorb@maxcess.net (work)
> Orlando, Florida kmk@sanitarium.net (personal)
> Web page: http://www.sanitarium.net/
> PGP public key available on web site.
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~

~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
        Kevin Korb Phone: (407) 513-7732
        Senior Systems Administrator Internet:
        Maxcess, Inc. kkorb@maxcess.net (work)
        Orlando, Florida kmk@sanitarium.net (personal)
        Web page: http://www.sanitarium.net/
        PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:21 CDT