Michael MacIsaac wrote:
Clovis,

Please, try with vmphalt  too.

root=LABEL=/ vmpoff=LOGOFF vmphalt=LOGOFF BOOT_IMAGE=0

Thanks for the suggestion. I tried that and there was no difference:

# cat /proc/cmdline
cat /proc/cmdline
root=LABEL=/ vmpoff=LOGOFF vmphalt=LOGOFF BOOT_IMAGE=0
# halt
halt


That should be vmhalt, not vmphalt.  The reason vmpoff didn't work the
first time is that '/sbin/halt' halts the system without doing a true
poweroff instruction (thus leaving the system halted but on), whereas
'/sbin/poweroff' does a halt+poweroff.  'shutdown -h now' does a
poweroff also, which is why that worked the 2nd time.

If you have vmpoff=LOGOFF vmhalt=LOGOFF, you have all your bases
covered.  Any time the system halts, it'll logoff, regardless of whether
you run the command to perform an actual poweroff.

-Brad

Broadcast message from root (console) (Fri Aug 14 12:01:52 2009):

 The system is going down for system halt NOW!
...
00: HCPGSP2629I The virtual machine is placed in CP mode due to a SIGP
stop from
 CPU 01.
01: HCPGSP2630I The virtual machine is placed in CP mode due to a SIGP
stop and
store status from CPU 01.

The user ID remains logged on. Then I reboot and try a "shutdown -h now"
and the behavior is different (I naively thought that "halt" and "shutdown
-h now" were the same):
# shutdown -h now
...
And in fact the system does get logged off

Then I reboot again and go to MAINT and do a:
==> signal shutdown rh5rwmnt

And I see the system go down on the 3270 session, however it does not
logoff, it goes to disabled wait:
01: HCPGSP2629I The virtual machine is placed in CP mode due to a SIGP
stop from
 CPU 01.
00: HCPGIR450W CP entered; disabled wait PSW 00020001 80000000 00000000
00000FFF

Back on MAINT I see:

HCPSIG2113I User RH5RWMNT has reported successful termination

However, the user ID remains running:
q rh5rwmnt
RH5RWMNT -L0006

So now I'm even more confused.  But something does not seem to be working
correctly.

"Mike MacIsaac" <[email protected]>   (845) 433-7061

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
Brad Hinson <[email protected]>
Sr. Support Engineer Lead, System z
Red Hat, Inc.
(919) 754-4198
www.redhat.com/z

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to