Apply this patch to it:
--- iplvol.orig Fri Jan 10 15:42:05 2003
+++ iplvol      Fri Jan 10 15:42:31 2003
@@ -33,6 +33,6 @@

 subchannel=`get_subchannel`

-iplvol=`grep " $subchannel" /proc/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 number


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 is "0BE7"

Regards, Jim
Linux S/390-zSeries Support, SEEL, IBM Silicon Valley Labs
t/l 543-4021, 408-463-4021, [EMAIL PROTECTED]
*** Grace Happens ***

Reply via email to