The external interrupt mentioned in the redbook SG246824 works well. You enter the interrupt in a REXX exec from operator and it will issue the bash script you want. The example for iniittab shows /sbin/shutdown -h now. I use /sbin/halt as its a bit cleaner.
The additional materials tar file can be found at: ftp://www.redbooks.ibm.com/redbooks/SG246824 Some notes: 1) Following the README, the compile is a bit obscure. That is two underscores before and after KERNEL and no space between the I and /lib. cc -Wall -D__KERNEL__ -DMODULE -I/lib/modules/2.4.19-4suse-SMP/build/include -O2 -c ext_int.c 2) For SuSE 7, make sure you are using the k_timer not k_default kernel and /lib/modules 3) There is a typo in the book about inittab. This is the correct version ca::ctrlaltdel:/sbin/halt (or whatever script you might put together that does the shutdown) 4) I need to make my systems for both LPAR and EC, so I put this code into /etc/init.d/boot.local if [ $(grep -c "version = FF" /proc/cpuinfo) != 0 ] then echo "IPL is under VM" /sbin/sysctl -w kernel.hz_timer=0 #sles8 insmod -o ext0d1e ext_int code=0x0d1e pid=1 sig=2 #external interrupt for halt else echo "IPL is native" fi Regards, Jim Linux S/390-zSeries Support, SEEL, IBM Silicon Valley Labs t/l 543-4021, 408-463-4021, [EMAIL PROTECTED] *** Grace Happens ***
