From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,337be5f3985185e1 X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed.freenet.de!news.freenet.de!not-for-mail Newsgroups: comp.unix.tru64 From: Tobias Klausmann Subject: Re: Queer question References: Organization: Me? Organized? Message-ID: User-Agent: slrn/0.9.8.1 (Linux) Date: 16 Dec 2004 22:09:21 GMT NNTP-Posting-Host: 194.97.4.250 X-Trace: 1103234961 news.freenet.de 29518 194.97.4.250:60411 X-Complaints-To: abuse@freenet.de Xref: g2news1.google.com comp.unix.tru64:435 Bob Harris 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