Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Queer question
@ 2004-12-15 21:10 Tobias Klausmann
  2004-12-16  3:56 ` Bob Harris
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Klausmann @ 2004-12-15 21:10 UTC (permalink / raw)


Hi!

I have somewhat peculiar question: how do I provoke a panic?

Okay, meybe a few details here: in order to show people what to
expect in case of a Tru64[0] panic'ing, I'm looking for a way to
make just that happen, preferably reproducible. Naturally, I'd
prefer *not* to hose the filesystem in the process.

Any ideas?

Regards,
Tobias

[0] V5.1B on an EV56 (DEC Personal Workstation 500au)
-- 
export DISPLAY=vt100


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Queer question
  2004-12-15 21:10 Queer question Tobias Klausmann
@ 2004-12-16  3:56 ` Bob Harris
  2004-12-16 22:09   ` Tobias Klausmann
  0 siblings, 1 reply; 3+ messages in thread
From: Bob Harris @ 2004-12-16  3:56 UTC (permalink / raw)


In article <slrncs1a2e.2vv.klausman-un1204@eric.schwarzvogel.de>,
 Tobias Klausmann <klausman-un1204@schwarzvogel.de> wrote:

> Hi!
> 
> I have somewhat peculiar question: how do I provoke a panic?
> 
> Okay, meybe a few details here: in order to show people what to
> expect in case of a Tru64[0] panic'ing, I'm looking for a way to
> make just that happen, preferably reproducible. Naturally, I'd
> prefer *not* to hose the filesystem in the process.
> 
> Any ideas?
> 
> Regards,
> Tobias
> 
> [0] V5.1B on an EV56 (DEC Personal Workstation 500au)

I hope you have to be root to force any panic :-)

My favorite is 

        dbx -k /vmunix
        (dbx) assign hz=0

Works every time.  The next time the clock interrupt triggers, it gets a 
divide by zero in the kernel, and down you go.

It has been great for forcing a panic on a test system in the lab or for 
developers at DECwest using test systems in Nashua, NH.

                                        Bob Harris


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Queer question
  2004-12-16  3:56 ` Bob Harris
@ 2004-12-16 22:09   ` Tobias Klausmann
  0 siblings, 0 replies; 3+ messages in thread
From: Tobias Klausmann @ 2004-12-16 22:09 UTC (permalink / raw)


Bob Harris <harris@zk3.dec.com> wrote:
>> I have somewhat peculiar question: how do I provoke a panic?

[.snip.]

> I hope you have to be root to force any panic :-)

I certainly hope so, too :)

> My favorite is 
>
>         dbx -k /vmunix
>         (dbx) assign hz=0
>
> Works every time.  The next time the clock interrupt triggers, it gets a 
> divide by zero in the kernel, and down you go.

Excellent! Works like charm (very strange thing to say for a
panic, eh?).

> It has been great for forcing a panic on a test system in the lab or for 
> developers at DECwest using test systems in Nashua, NH.

Thanks a bunch!

Regards, Tobias


-- 
export DISPLAY=vt100


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-16 22:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-15 21:10 Queer question Tobias Klausmann
2004-12-16  3:56 ` Bob Harris
2004-12-16 22:09   ` Tobias Klausmann

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