There's a new contribution to the VM Download library called SHUTTRAP.
It provides a mechanism for exploiting the automated shutdown facility
from CMS. Enjoy!

Romney

On Fri, 31 May 2002 11:20:05 -0600 Ferguson, Neale said:
>I didn't see any reference in the "Whats New" stuff but I have a patch for
>2.4.7 that supports automated shutdown of the Linux system when:
>
>1. CP SHUTDOWN (z/VM 4.3)
>2. CP SIGNAL SHUTDOWN (z/VM 4.3)
>3. LPAR shutdown
>
>is encountered. It uses the SERVC facility to tell VM/LPAR that it is
>interested in being informed when the system is going down. At such a time
>an external interrupt is received (0x2401 - same as used by hwc) with an
>indicator of how long the system has got before the underlying hypervisor
>and/or hardware will "vanish". The code, as I've written it, will invoke the
>ctrl-alt-del processing. If you have the following entry in /etc/inittab:
>
># Powerdown
>ca:12345:ctrlaltdel:/sbin/shutdown -t1 -h now
>
>You should be in business.
>
>I'm sure IBM are working on their own "all-singing" and "all-dancing"
>version that will do a more complete or aesthetically pleasing job, but in
>the interim you may find this useful. You may have additional work to do for
>2.4.17.

snipŮ

Reply via email to