Skip to contentSkip to conversation

Couple of questions

parisc-linux [email protected] 3 participants 3 messages Mar 27, 2000 – Mar 28, 2000

lore
Share & tools
lore
#0 lore raw

Greetings,

Just a slight clarification on what TOC does. Although on the surface the Transfer-Of-Control
button/switch merely appears to result in a system reset, its primary use is to recover from
system hang conditions while preserving the machine state for later analysis, i.e. where and
why was the sytem hung.

The TOC switch invokes the platform firmware PDCE_TOC entry point to save machine state
to non-valitile storage (PIM TOC) after which the firmware checks MEM_TOC to determine if
the operating system has identified an entry point to be called for recovery. If an OS_TOC entry
point has been specified (by the OS), the platform firmware transfers control to the specified
OS procedure. Typically, the OS_TOC entry point calls PDC_PIM to retrieve the machine
state for display of a tomb stone marker, syncs/flushes all disk buffers, performs a core dump
and then resets the system (not necessarily in the order specified here). One could invoke a
debugger at any point in here to have a look around to see what was going on at the time of
TOC.

The above information is all contained in the "PA-RISC x.x Firmware Architecture Reference
Specification" documents available at
http://www.thepuffinegroup.com/parisc/documentation.html.

So, in summary, although TOC on the surface appears to merely 'reset' the system, it is capable
of much more provided the OS specifies an OS_TOC entry point for recovery and debug of
machine state at any point during system run time.

Regards,
Geoge G. Davis
Software Engineer, Celestica Chelmsford Design Center 20 Alpha Road
Chelmsford, MA 01824

Philipp Rumpf <[email protected]> on 03/26/2000 01:02:15 PM

To: Bas Valkema <[email protected]>, [email protected]
cc: (bcc: George G Davis/CCH/Celestica)

Subject: Re: [parisc-linux] Couple of questions

Quoted 1 line

1 - how does a 715/50 boot over a network? Probably not bootp...

rboot. there's an RPM for it on puffin.external.hp.com.

Quoted 1 line

3 - What does the TOC button do????

Reset, usually.

---------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#1 lore raw
Quoted 10 lines

Just a slight clarification on what TOC does. Although on the surface the Transfer-Of-Control button/switch merely appears to result in a system reset, its primary use is to recover from system hang conditions while preserving the machine state for later analysis, i.e. where and why was the sytem hung.

So, in summary, although TOC on the surface appears to merely 'reset' the system, it is capable of much more provided the OS specifies an OS_TOC entry point for recovery and debug of machine state at any point during system run time.

Actually, that's exactly what reset does on (most) x86 boxes. Remember getting 286s out of protected mode by resetting them ?

I'm not convinced having customized TOC / HPMC handlers for Linux/PA-RISC is a good idea yet.

Philipp Rumpf

#2 lore raw
Quoted 12 lines · Philipp Rumpf
Quoted 11 lines

Just a slight clarification on what TOC does. Although on the surface the Transfer-Of-Control button/switch merely appears to result in a system reset, its primary use is to recover from system hang conditions while preserving the machine state for later analysis, i.e. where and why was the sytem hung.

So, in summary, although TOC on the surface appears to merely 'reset' the system, it is capable of much more provided the OS specifies an OS_TOC entry point for recovery and debug of machine state at any point during system run time.

Quoted 6 lines

Actually, that's exactly what reset does on (most) x86 boxes. Remember getting 286s out of protected mode by resetting them ?

I'm not convinced having customized TOC / HPMC handlers for Linux/PA-RISC is a good idea yet.

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.

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.

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......

CB

Signature · 4 lines
Everything should be as simple as possible but not simpler - A. Einstein
Corne' Beerse					| Alcatel Telecom Nederland
mailto:[email protected]		| Postbus 3292
talkto:+31(70)3079108 faxto:+31(70)3079191	| NL-2280 GG  Rijswijk