From: davisg@Celestica.com
To: Corne Beerse <beerse@ats.nld.alcatel.nl>
Cc: parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] Couple of questions
Date: Tue, 28 Mar 2000 11:52:42 -0500 [thread overview]
Message-ID: <852568B0.005CB5C5.00@tormta3.tor.cel.com> (raw)
Greetings,
Corne' Beerse wrote:
>
> As I read this, the TOC button can have the next implementations:
> - hardware reset, as the button on intel platforms
> - three finger salute (<ctrl><alt><del>) as on intel platforms
> - Boot prom prompt (if available, like Sun's <Stop><A>)
> - Kernel core dump and [stop|halt|reboot|continue|shutdown]
> - What does HPUX with it?
> a combination of the above.
HP-UX provides an OS_TOC vector which is invoked by the platform firmware's
PDCE_TOC handler. When control is transferred to the OS_TOC handler, the OS
proceeds to perform a core dump. Then reboots (resets) the system.
>
> The main reason for this button is a kernel debugging aid. Not that I'm a
> kernel hacker, I follow this group out of interest.
Correct! TOC is used as a diagnostic tool when debugging systems which appear
to be hung and are no longer responding, i.e. TOC is a high priority interrupt
(although it's not technically classified as an interrupt - rather, it is a
special form of reset which preserves machine state) which ideally invokes
a core dump then reboots (resets) the system. The core can then be reviewed
after reboot to determine the potential cause of the hang condition.
>
> BTW, Where can I find this TOC button on my 9000/712/60 machine? is it the
> white button on the front? If so, please give some software control to it.
> In the past, I frequently pushed my keyboard against it, rebooting the
> machine while typing......
>
There is no TOC button available on the Model 712. A special debug card is
used by HP hardware and OS developers for TOC among other things on this
platform.
BTW, the white button on the front left side of the Model 712 is a soft
power switch. Upon initial application of power, the switch operates as
a hard power switch which immediately affects the power supply state (ON/OFF).
After the OS (HP-UX) has booted and initialized, a bit buried in the Lasi
power control register can be flipped by the OS to enable the soft power
feature which, with proper setup of the hardware and inclusion of the
necessary OS hooks, invokes an interrupt when depressed thus allowing
a clean shutdown of the system, i.e. the soft power switch interrupt
handler invokes 'shutdown -h now' to perform a clean unmount of all
file systems, etc,. Note that not all systems which use Lasi utilize
this feature - some don't implement any form of soft power feature,
while others use a different method entirely. But in the case of the
Model 712...
Regards,
Geoge G. Davis
Software Engineer, Celestica Chelmsford Design Center
20 Alpha Road
Chelmsford, MA 01824
next reply other threads:[~2000-03-28 16:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-28 16:52 davisg [this message]
2000-03-29 5:44 ` [parisc-linux] Couple of questions Philippe Benard
2000-03-29 9:02 ` Corne Beerse
2000-03-29 18:52 ` willy
2000-03-29 19:10 ` Peter A. Peterson II
2000-03-29 21:58 ` willy
-- strict thread matches above, loose matches on Subject: below --
2000-03-29 17:11 davisg
2000-03-28 17:16 davisg
2000-03-27 14:43 davisg
2000-03-27 18:02 ` Philipp Rumpf
2000-03-28 9:20 ` Corne Beerse
2000-03-26 12:17 Bas Valkema
2000-03-26 18:02 ` Philipp Rumpf
2000-03-26 18:26 ` willy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=852568B0.005CB5C5.00@tormta3.tor.cel.com \
--to=davisg@celestica.com \
--cc=beerse@ats.nld.alcatel.nl \
--cc=parisc-linux@thepuffingroup.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.