Re: How is LOADPARM obtained?

2010-09-28 Thread Frank M. Ramaekers
l.conf to be used by several LPARs and/or VM guests. Frank M. Ramaekers Jr. -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Alan Altmark Sent: Tuesday, September 28, 2010 12:58 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How is LO

Re: How is LOADPARM obtained?

2010-09-28 Thread Frank M. Ramaekers
To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How is LOADPARM obtained? On Tue, 28 Sep 2010 16:11:22 +0100, Jeff Gribbin wrote: >> It is obtained using a mechanism that is not published beyond its use in >> Linux.  The best you can do is RTFC, and it is not a trivial process. >> >> Ala

Re: How is LOADPARM obtained?

2010-09-28 Thread Lindy Mayfield
to:ib...@listserv.uark.edu] On Behalf Of Jeff Gribbin Sent: Tuesday, September 28, 2010 6:11 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How is LOADPARM obtained? > It is obtained using a mechanism that is not published beyond its use > in Linux.  The best you can do is RTFC, and it is not a triv

Re: How is LOADPARM obtained?

2010-09-28 Thread Brian Nielsen
It's in the "multiple configuration boot support" link: http://homerow.net/zlinux/multiboot/ The multiboot-03.077.diff file has what you need in it. Look for the cod e labeled "Retrieve Load Parm". Brian Nielsen On Tue, 28 Sep 2010 13:11:46 -0500, Dave Jones wrote: >aHHthanks for the

Re: How is LOADPARM obtained?

2010-09-28 Thread Neale Ferguson
Some light reading regarding SERVC (but LOADPARM in particular): http://www.docstoc.com/docs/55135658/Method-And-System-For-Providing-A-Hardware-Machine-Function-In-A-Protected-Virtual-Machine---Patent-6681238 http://www.patentmine.com/grant/06253224_desc.html http://www.patentstorm.us/patents/538

Re: How is LOADPARM obtained?

2010-09-28 Thread Dave Jones
aHHthanks for the clarification, Alan.I didn't actually look at the code, but since he seemed to be keying off of a LOAPARM vm specification, I thought that he must have a way of getting the LOADPARM value somehow. Have a good one. On 09/28/2010 12:57 PM, Alan Altmark wrote: > On Tuesday,

Re: How is LOADPARM obtained?

2010-09-28 Thread Alan Altmark
On Tuesday, 09/28/2010 at 01:25 EDT, Dave Jones wrote: > Look here, Brian: > > http://homerow.net/zlinux/ Dave, those updates deal only with the PARM, not the LOADPARM. Alan Altmark z/VM and Linux on System z Consultant IBM System Lab Services and Training ibm.com/systems/services/labservice

Re: How is LOADPARM obtained?

2010-09-28 Thread Dave Jones
Look here, Brian: http://homerow.net/zlinux/ On 09/28/2010 12:18 PM, Brian Nielsen wrote: > On Tue, 28 Sep 2010 16:11:22 +0100, Jeff Gribbin > wrote: > >>> It is obtained using a mechanism that is not published beyond its use in >>> Linux. The best you can do is RTFC, and it is not a trivial

Re: How is LOADPARM obtained?

2010-09-28 Thread Brian Nielsen
On Tue, 28 Sep 2010 16:11:22 +0100, Jeff Gribbin wrote: >> It is obtained using a mechanism that is not published beyond its use in >> Linux.  The best you can do is RTFC, and it is not a trivial process . >> >> Alan Altmark > >Thankyou, Alan, for a definitive reply. What a strange thing to ke

Re: How is LOADPARM obtained?

2010-09-28 Thread Neale Ferguson
It uses the SERVC opcode which does things like read/write to the HMC, set masks to enable/disable signals like powerdown (how Linux intercepts the signal shutdown command), get loadparm, get configuration information etc. While some of the function is generic, I believe some is model specific.

Re: How is LOADPARM obtained?

2010-09-28 Thread Jeff Gribbin
> It is obtained using a mechanism that is not published beyond its use in > Linux.  The best you can do is RTFC, and it is not a trivial process. > > Alan Altmark Thankyou, Alan, for a definitive reply. What a strange thing to keep secret! Regards Jeff

Re: How is LOADPARM obtained?

2010-09-28 Thread Jeff Gribbin
Mike, It falls into the category of, 'Just curious'. I suspect that along with you and many (most?) others on this list I'm from a generation that's allergic to, 'smoke and mirrors'. I'd always assumed that the answer was simple, obvious and documented in Principles of Operation. I had occasion th

Re: How is LOADPARM obtained?

2010-09-28 Thread Alan Altmark
On Tuesday, 09/28/2010 at 10:07 EDT, Mike Walter wrote: > HCLSAL is indeed provided and maintained with source code (ASSEMBLE), on > MAINT's 194 disk. It obtains the LOADPARM from a call to HCPGLPRM (HCPGLP), > for which source code is not readily available. > > It is possible that if one

Re: How is LOADPARM obtained?

2010-09-28 Thread Alan Altmark
On Tuesday, 09/28/2010 at 09:49 EDT, Jeff Gribbin wrote: > Academic question that does not appear to be answered in Principles of > Operation - can anyone help? > > Principles of Operation doesn't seem to mention how a program (operating > system), 'reads' the loadparm - and CP Commands and Util

Re: How is LOADPARM obtained?

2010-09-28 Thread Mike Walter
HCLSAL is indeed provided and maintained with source code (ASSEMBLE), on MAINT's 194 disk. It obtains the LOADPARM from a call to HCPGLPRM (HCPGLP), for which source code is not readily available. It is possible that if one spent the time (on my To Do list) to download the Restricted Source Co

Re: How is LOADPARM obtained?

2010-09-28 Thread Robert Payne
Interesting question that now has my curiosity up. Before I never cared enough to wonder about it. Are you talking about a virtual IPL ? or maybe the real IPL of VM ? Does it really matter ? My first guess is that the LOADPARM data is stored in low memory and a register is passed to the OS simi