The strace output from snipl doesn't show problems accepting the parameters:
vmzl006:/tmp # head snipl.trace3
execve("./snipl", ["./snipl", "-L", "10.218.71.23", "-r", "P0193BE-CCPUC-LX2"],
[/* 55 vars */]) = 0
uname({sys="Linux", node="vmzl006", ...}) = 0
later in the trace:
write(2, "Given LPAR name P0193BE\nCCPUC-LX"..., 66) = 66
and
vmzl006:/tmp # head snipl.trace2
execve("./snipl", ["./snipl", "-r", "CCPUC-LX2"], [/* 54 vars */]) = 0
uname({sys="Linux", node="vmzl006", ...}) = 0
later in the trace:
write(2, "CCPUC\nLX2: reset failed, return "..., 75) = 75
Betsie
-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of James Tison
Sent: Monday, June 12, 2006 8:31 AM
To: [email protected]
Subject: Re: snIPL on zLinux
Betsie,
Just a wild guess ... maybe getopt() [or whatever was used to replace it]
gets confused by the dash at the shell cmdline. You might try these as a
desperate last stab:
snipl -L xx.xx.xx.xx -x 'CCPUC-LX2'
...or ...
snipl -L xx.xx.xx.xx -x CCPUC\-LX2
--Jim--
"Spann, Elizebeth (Betsie)" <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port <[email protected]>
06/12/2006 11:16 AM
Please respond to
Linux on 390 Port <[email protected]>
To
[email protected]
cc
Subject
Re: snIPL on zLinux
All our image names have a dash. I have been able to successfully run
snIPL with the option "-x" which returns all the image names. It's only
when I pass an image name as an option, that snIPL has a problem.
First example works, second doesn't
snipl -L xx.xx.xx.xx -x
snipl -L xx.xx.xx.xx -r CCPUC-LX2
Betsie
-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Christian Borntraeger
Sent: Monday, June 12, 2006 4:08 AM
To: [email protected]
Subject: Re: snIPL on zLinux
On Thursday 01 June 2006 20:16, Spann, Elizebeth (Betsie) wrote:
> Hi,
>
> Is anyone running snIPL on zLinux? This is a DeveloperWorks product
> documented in Device, Drivers, Features and Commands. I believe there
> is a problem handling image names that have a dash, eg. CCPUC-LX2
Hi,
I talked to Ursula (the current maintainer of snipl) and she told me to
forward this to the list as she is not subscribed:
-----------------------
currently snipl assumes that an image name does not contain a dash '-' and
defines an extra dash-usage required when snipl talks to the HMC refering
to an image name of a specific CPC. I have introduced this in 2005 after I
have been told:
" The '-' character is NOT a valid character for the CPC or Image name.
The valid characters are basically A-Z and 0-9. These are documented in
the help panels for the HMC/SE tasks tha are used to define these names. "
If this is wrong, and a dash '-' is a valid character for an image name, I
have to determine another character unallowed in CPC / Image names that I
can use for snipl to separate CPC and image.
I am going to contact my HMC-colleagues within IBM to determine whether
dashes are valid in image names or not.
------------------------
--
Mit freundlichen Grüßen / Best Regards
Christian Borntraeger
Linux Software Engineer zSeries Linux & Virtualization
----------------------------------------------------------------------
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
----------------------------------------------------------------------
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
----------------------------------------------------------------------
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
----------------------------------------------------------------------
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