[15:21] <joelkraehemann> hi all
[15:21] <joelkraehemann> I try to setup a s390x VM
[15:22] <joelkraehemann> but I don't get a screen
[15:24] <jfh> joelkraehemann: are you trying a z/VM guest installation? what is the hw you are running?
[15:29] <joelkraehemann> jfh: I do it using qemu
[15:29] <joelkraehemann> on debian
[15:31] <joelkraehemann> qemu-system-s390x -M s390-ccw-virtio -hda ./ubuntu.qcow -cdrom ./ubuntu-17.10-server-s390x.iso -boot d -m 512
[15:32] <jfh> joelkraehemann: do you know if qemu on debian is emulating generation EC12 or higher? Because Ubuntu is compiled for EC12 or higher ...
[15:32] <xnox> joelkraehemann, what is your mainframe level? Ubuntu only supports zEC12
[15:33] <xnox> joelkraehemann, also you cannot use '-cdrom' option to qemu-system-s390x, it has to be a 'virtio iscsi drive' -> yes it is an iso, but that's how they boot it with qemu-system-s390x.
[15:33] <xnox> and thus specify that one, as the first hard drive.
[15:34] <xnox> joelkraehemann, -m 512 might be too small
[15:34] <xnox> joelkraehemann, you probably need -enable-kvm too
[15:38] <joelkraehemann> https://github.com/qemu/qemu/blob/master/pc-bios/s390-ccw.img
[15:38] <joelkraehemann> ^^ I had to copy this file
[15:42] <jfh> joelkraehemann: that's just one aspect - the other is that EC12 instructions are needed (for Ubuntu)
[15:42] <joelkraehemann> no idea :/
[15:44] <jfh> well, you may just try to run Debian - to verify if it works in general ... (can't say out of my head if qemu in Debian comes with EC12 support ...)
[16:10] <joelkraehemann> does it help install ubuntu on my notebook?
[17:51] <joelkraehemann> well the same on my laptop s390x won't start
[17:53] <xnox> joelkraehemann, i believe you need hardware KVM accelration, as in qemu-system-s390x cannot emulate zEC12 instruction set on non zEC12+ mainframe hardware. I do not believe you can run s390x Ubuntu qemu guests, on e.g. Intel laptop.
[17:53] <xnox> joelkraehemann, what are you trying to do?
[17:53] <xnox> joelkraehemann, can you simply use Launchpad PPA?
[17:59] <joelkraehemann> I think PPA doesn't support s390x
[17:59] <joelkraehemann> and I need a interactive debug session
[18:04] <borntraeger> xnox, joelkraehemann when you use a qemu from git, this seems to work with code compiled for zEC12
[18:09] <xnox> joelkraehemann, PPAs do support s390x, you simply need to check the tickbox in the PPA settings page.
[18:10] <xnox> joelkraehemann, what would you like to debug? can it be scripted, to dump tracebacks in the build log?
[18:10] <xnox> (it's there, simply not enabled by default - one can enable full set of supported architecutres in any ppa, e.g. arm64 armhf amd64 i386 ppc64el s390x)
[18:12] <jfh> joelkraehemann: alternatively you may also go for a KVM VM at IBM's LinuxONE Community Cloud at Marist (no-charge)