You have a bug in the iplvol.sh script
When the subchannel is returned to the variable subchannel, it should be
translated to upper case as the values in /proc/subchannels are in hex and
upper case.
On my SuSE SLES7 2.4.7 system LPAR, the value returned is 0be7, but the
value in /proc/subchannel
/subchannels | cut -f 1 -d `
+iplvol=`grep -i $subchannel /proc/subchannels | cut -f 1 -d `
echo IPL volume was device number $iplvol
Mark Post
-Original Message-
From: Jim Sibley [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 3:39 PM
To: [EMAIL PROTECTED]
Subject: Re: IPL device
It's been previously uploaded to
http://linuxvm.org/Patches/S390/iplvol.sh
Mark Post
-Original Message-
From: Ken Dreger [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 3:50 PM
To: [EMAIL PROTECTED]
Subject: Re: IPL device number
Hey Mark, how about a full copy of the script
be done), I mentioned I owed him yet
another beer. Mark corrected me that I was probably up to a pony keg by
now.
Hmmm ... can you FedEx a kegger? ;-)
Paul
From: Ken Dreger
Subject: Re: IPL device number
In-Reply-To: [EMAIL PROTECTED] xch.eds.com
Hey Mark, how about a full copy
, please let me know so I can see if I can
adjust the script to run properly in your environment. Enjoy.
Mark Post
-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED]]On Behalf Of Rob
van der Heij
Sent: Tuesday, December 10, 2002 1:55 AM
To: [EMAIL PROTECTED]
Subject: Re: IPL
From: Rob van der Heij
Subject: Re: IPL device number
In-Reply-To: [EMAIL PROTECTED]
At 20:03 09-12-02 -0500, paultz wrote:
Is there a single command or file somewhere in RH7.2 that will reveal
the device name/number from which the RH7.2 LPAR was IPLed?
The subchannel address
Paul,
I'm not aware of anything like that on any distribution.
Mark Post
-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED]]On Behalf Of
paultz
Sent: Monday, December 09, 2002 8:03 PM
To: [EMAIL PROTECTED]
Subject: IPL device number
Is there a single command or file
At 20:03 09-12-02 -0500, paultz wrote:
Is there a single command or file somewhere in RH7.2 that will reveal
the device name/number from which the RH7.2 LPAR was IPLed?
The subchannel address of your IPL device is stored in 0x10404 during the
boot process, so if you have 'gdb' installed it