[SUMMARY] How to force a panic?

From: JARNTH <jarnth_at_dscc.dk>
Date: Fri, 11 Oct 96 13:10:37 wet

     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_at_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_at_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_at_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_at_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_at_dscc.dk
     
Received on Fri Oct 11 1996 - 14:17:57 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT