[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

8694.0. "how to force crash dump?" by ATZIS1::WIMMER_E (Erich Wimmer - inventory no. 3867) Tue Feb 04 1997 08:35

How can i force a crash dump on a running system f. e. with "dbx"?
Digital Unix 3.2d-1, halt and srm-commands couldn't be used for some reasons.
T.RTitleUserPersonal
Name
DateLines
8694.1try thisRHETT::MOORETue Feb 04 1997 08:5113
    This works for me:
    
    # dbx -k /vmunix
    
    (dbx) assign kmembuckets[0].kb_next = 1
    
    This corrupts a kernel memory bucket pointer.  The next piece of kernel
    code that tries to allocate memory from the bucket will try to access
    virtual address 1, take a kernel memory fault, and panic.  This should
    happen virtually instantaneously.
    
    Happy crashing,
    Martin
8694.2HELIX::SONTAKKETue Feb 04 1997 16:467
    Another one
    
    a pidtab=0
    
    I am sure there are lots of way of crashing kernel :-)
    
    - Vikas
8694.3assign hz=0UNIFIX::HARRISJuggling has its ups and downsThu Feb 13 1997 11:477
    dbx -k /vmunix
    (dbx) assign hz=0
    
    Someone else gave me this.  It causes a divide by zero.  Real fast and
    it doesn't mess up any addresses.
    
    					Bob Harris