Discussion:
[Linux/390 under z/VM 4.2.0] CP works forever (Lenny)
(too old to reply)
Stephen Powell
2011-04-09 13:20:02 UTC
Permalink
Bonsoir Stephen,
we are trying to upgrade some virtual machines
under a 2004 RedHat Linux/390 to an up-to-date Debian
...
Could you help?
...
A multiprise 3000 model H30? Isn't that an ESA/390 processor?
In other words, it's not capable of z/Architecture mode, correct?
Yes, you are 100% right, our fault. I should have
known, because I read somewhere we should not use
Squeeze on a H30. We actually experienced
recently similar problems on Mac OSX with
programs in 32 and 64 bits, in ANTLR, and kernel
in 32 bits or 64 bits.
We are planning to upgrade in June to a z box
(z800) as you suggest, but in the meantime we
would like to use 6 or 7 VM under Linux/390 under
z/VM 4.2.0 on our multiprise 3000 model H30.
Still a problem with Lenny ...
This time, CP does not go into "interrupt loop",
but seems to compute forever after "IPL 000C CLEAR".
It says "03 FILES CHANGED" and then no messages appear.
I don't think it would be useful to write to the
whole list as this moment, because I saw nobody
but you answering questions precisely. Maybe we
should if the next trial also fails, after all!
Many things for the detailed info. I keep it in this
e-mail for the moment.
I don't mind if you CC debian-***@lists.debian.org, because that is
where this discussion belongs. But please don't send a copy to the bug
log for bug 621080. That is a totally unrelated bug report. Your long,
unrelated post to that bug log has no doubt annoyed the maintainer and
reduced my chances of getting the enhancement request. I'm not sure how
that happened. Perhaps you tried to "reply to all" to a post on the list.
What you should have done is start a new thread. Please submit a *short*
apology to ***@bugs.debian.org for the unrelated and unintended post.

There are others who answer questions on the s390 list besides me.
But the real point is that someone else may have a similar problem
to yours a few months from now. If I help you in a private e-mail, I
solve your problem. But if I help you on the list, someone else searching
the internet may find it. We have to think of others too and not just
ourselves.

I cannot reproduce your problem because I don't have the hardware (Multiprise
3000) or the software (z/VM 4.2.0) to reproduce your problem. My hardware
is a z/890 and I run z/VM 5.4.0. So at the risk of insulting your intelligence,
I will explain the installation steps in detail. Maybe there's something you're
missing.

(1) Choose a Debian mirror. I will use ftp.uwsg.indiana.edu in this example.
You'll probably want to use a mirror closer to home. For a full list of
Debian mirrors, see http://www.debian.org/mirrors/list.

(2) Logon to the virtual machine that you will install to and IPL CMS.
Make sure that the TCP/IP client code disk is accessed (TCPMAINT 592).
Make sure that the "A" disk is large enough to handle the downloads.
From a CMS "Ready;" prompt, issue
-----

FTP ftp.uwsg.indiana.edu
anonymous
***@yourdomain.com
passive
binary f 80
cd /linux/debian
cd dists/lenny/main/installer-s390/current/images/generic
get kernel.debian KERNEL.DEBIAN
get initrd.debian INITRD.DEBIAN
get parmfile.debian PARMFILE.DEBIAN
ascii
get debian.exec DEBIAN.EXEC
close
quit
PIPE < DEBIAN EXEC A|SPLIT AT X25|> DEBIANX EXEC A
ERASE DEBIAN EXEC A
RENAME DEBIANX EXEC A DEBIAN = =
CP SPOOL 000C CLASS *
DEBIAN

-----

I assume that z/VM 4.2.0 includes CMS Pipelines. I can't remember.
If not, then the PIPE command will not work. In that case you will
have to manually edit DEBIAN EXEC A to remove the X'25' characters
(EBCDIC line feed characters) and split the lines. I tried it
yesterday, and it works on my hardware. I verified that the Lenny
installer does indeed use a 31-bit kernel (2.6.26-2-s390)
and not a 64-bit kernel (2.6.26-2-s390x); so, in theory, it should work.

You will perform the first few steps, such as configuring the network
device and configuring the network, from the virtual 3215 console.
After that, you must continue the installation by logging in remotely
using an SSH client. If your desktop operating system is Windows,
I recommend PuTTY as the SSH client. It is free software from Simon
G. Tatham, available here:

http://www.chiark.greenend.org.uk/~sgtatham/putty/

I use a virtual OSA in QDIO mode (a NICDEF entry in the CP directory
which is attached to a virtual switch) as the network device for my
virtual machines, but I don't know if that's supported in z/VM 4.2.0.
The installer only supports three types of network devices: a
channel-to-channel adapter, an Open Systems Adapter, and an IUCV
connection. You have to use one of those three. Once you're installed,
you may have other choices.

Make sure PuTTY is set up to use UTF-8 as the character set during
installation. Otherwise, the scroll bars, outline boxes, etc., will
look terrible. After installation you can switch to another character
set, depending on the locale chosen.

Good luck.
--
.''`. Stephen Powell
: :' :
`. `'`
`-
--
To UNSUBSCRIBE, email to debian-s390-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@md01.wow.synacor.com
Stephen Powell
2011-04-09 13:40:02 UTC
Permalink
Post by Stephen Powell
I will explain the installation steps in detail.
Maybe there's something you're missing.
...
One more thing I forgot to mention. I'm not sure if the kernel boot messages
are written to the virtual 3215 console or if they're written to the Service
Console Logical Processor (SCLP) internal console and re-routed to the 3215
virtual console by CP. I suspect the latter is the case, since that method
would work in both a virtual machine and in an LPAR. (In an LPAR, the
corresponding output device is the "Operating System Messages" icon on the
Hardware Management Console (HMC) or the Support Element (SE). If that is
the case, then your release of z/VM must have support for virtualizing the
SCLP interface. See if CP supports a VINPUT command (HELP CP VINPUT).
If it does, then you should be OK. If it doesn't, they you might be in trouble.
I know for sure that zipl requires a virtualized SCLP interface by CP.
--
.''`. Stephen Powell
: :' :
`. `'`
`-
--
To UNSUBSCRIBE, email to debian-s390-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@md01.wow.synacor.com
Loading...