From: "JARNTH" <jarnth () dscc ! dk>
To: tru64-unix-managers
Subject: [SUMMARY] How to force a panic?
Date: Fri, 11 Oct 1996 13:10:37 +0000 [thread overview]
Message-ID: <96076340321498.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1996-10-11 13:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox