The message below indicates the guest is still logged onto a terminal.
I was told early on that the guest will ONLY logoff if it's running
disconnected, no matter what parms you pass.

It (signal shut) works fine for us with all our disconnected machines,
but if I shut down from the 3270 console, I always get the disabled
wait, like you show below.



-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of
Brad Hinson
Sent: Friday, August 14, 2009 12:34 PM
To: [email protected]
Subject: Re: [LINUX-390] vmpoff=LOGOFF not working in RHEL 5.3?

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

--------------------------------------------------------------------------
This message w/attachments (message) may be privileged, confidential or 
proprietary, and if you are not an intended recipient, please notify the 
sender, do not use or share it and delete it. Unless specifically indicated, 
this message is not an offer to sell or a solicitation of any investment 
products or other financial product or service, an official confirmation of any 
transaction, or an official statement of Merrill Lynch. Subject to applicable 
law, Merrill Lynch may monitor, review and retain e-communications (EC) 
traveling through its networks/systems. The laws of the country of each 
sender/recipient may impact the handling of EC, and EC may be archived, 
supervised and produced in countries other than the country in which you are 
located. This message cannot be guaranteed to be secure or error-free. 
References to "Merrill Lynch" are references to any company in the Merrill 
Lynch & Co., Inc. group of companies, which are wholly-owned by Bank of America 
Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are 
Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a 
Condition to Any Banking Service or Activity * Are Not Insured by Any Federal 
Government Agency. Attachments that are part of this E-communication may have 
additional important disclosures and disclaimers, which you should read. This 
message is subject to terms available at the following link: 
http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you 
consent to the foregoing.
--------------------------------------------------------------------------
 

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