tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [SUMMARY] How to force a panic?
@ 1996-10-11 13:10 JARNTH
  0 siblings, 0 replies; only message in thread
From: JARNTH @ 1996-10-11 13:10 UTC (permalink / raw)
  To: tru64-unix-managers

     My original question was:
     >How can a panic with saving of the crash dump be forced on DU 3.2c 
     >from a program or shell command?
     >I know that the halt button on Alpha1000/2100 gives the option of 
     >saving with the crash command, but I am looking for a method that can 
     >be performed from a program on a running system.
     >I know that on Solaris You can set the rootdir pointer to 0x0 with 
     >adb, is there a similar method that will work from kdbx?
     
     The answers of which I have successfully used the first are:
     
     iwm@uvo.dec.com:
     >Mmmmm.... unusual request!
     >I believe setting the hz variable to 0 ought to do it.
     >dbx -k /vmunix
     >dbx> assign hz=0
     >This is a sure fire way to push it over!
     >Do this at your own risk though!
     
     Lucien_HERCAUD@paribas.com (Lucien HERCAUD):
     >A method I used:
     >as root
     ># dbx -k /vmunix << xxEND
     >a proc_root = 0
     >quit
     >xxEND
     ># umount /proc
     >or
     ># mount /proc
     >Suppose you have /proc mounted in fstab.
     
     Larry Scott USG <scott@zk3.dec.com>:
     >The following script should do the trick:
     >#!/bin/sh
     >dbx -k /`/usr/sbin/sizer -b` << end
     >a ((struct super_task *)thread->task)->proc->p_pid=1 quit
     >end
     
     Dave Cherkus <cherkus@UniMaster.COM>:
     >Yes, that same variable exists and works the same way.
     ># dbx -k /vmunix
     >(dbx) a rootdir=0
     >(dbx) quit
     ># ls /
     >[ boom! ]
     
     
     Thank You All!!.
     
     Sincerely
     Jens Arnth Jensen,
     DSC Communications A/S
     Lautrupbjerg 7-11
     DK-2750 Ballerup
     Denmark
     email: jarnth@dscc.dk
     

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-10-11 13:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-11 13:10 [SUMMARY] How to force a panic? JARNTH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox