1835203 Members
2759 Online
110077 Solutions
New Discussion

Forcing panic?

 
SOLVED
Go to solution
Tobias Klausmann_1
Occasional Advisor

Forcing panic?

The request might sound odd, so I'll give some details.

I maintain a cluster of C200 and C240 machines. Waering many hats, I also give some introductory word to new users, many of them being software developers.

For demonstration purposes I'd like to force a HP-UX 11.00 to panic, just to show them how it looks, where the crash dump goes and all the associated stuff.

I know how to force a panic on a 735/99 (using the button on the front panael, behind the lid), but the C200 just eludes me. Any hints, tips?
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: Forcing panic?

You might try renaming the vmunix files in /stand and then booting.

I don't think its worth it though, make sure you have media to boot off of so you can fix it when done.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Wodisch
Honored Contributor

Re: Forcing panic?

hi,

pretty simple: set the LAN cards MAC address to a different (but still unique) value using the "/etc/rc.config.d/*" config file, and the appropriate start-script in "/sbin/init.d/"...

The boot will be fine, though.

FWIW,
Wodisch
Shannon Petry
Honored Contributor

Re: Forcing panic?

You can accomplish this 1 way that I know of...

increase your kernel paramaters for maxdsize and maxdize64 to be way over your system resources and reboot the machine. The system will panic on reboot because the kernel can not allocate as much memory as you told it to use for the data segment time. ;)

Make sure that when you build the new kernel, you save the old one, and make sure you know how to boot from a kernel other than the default.

Regards,
Shannon
Microsoft. When do you want a virus today?
John Bolene
Honored Contributor
Solution

Re: Forcing panic?

The C110 and I would imagine all C series machines have a TOC (transfer of control) button on the back to force a system dump.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Helen French
Honored Contributor

Re: Forcing panic?

If you are referring to TOC button (Transfer of Control), then the button is at the back side of the workstation. You can see it on the bottom right corner.
Life is a promise, fulfill it!
Helen French
Honored Contributor

Re: Forcing panic?

An exact view of the TOC button can be found from this document (page 43):

http://h200002.www2.hp.com/bc/docs/support/SupportManual/lpv37954/lpv37954.pdf

This will create a system dump, panic and restart of server.
Life is a promise, fulfill it!
Tobias Klausmann_1
Occasional Advisor

Re: Forcing panic?

Thanks for all your replies, I actually tested them all, and the TOC button works best for my purposes. How could I have overlooked that? I'm getting old, I guess.

Again, thanks a lot!

Oh, and disregard my fsckup with that... other message.