/srv/irclogs.ubuntu.com/2018/03/28/#ubuntu-s390x.txt

joelkraehemannhi all15:21
joelkraehemannI try to setup a s390x VM15:21
joelkraehemannbut I don't get a screen15:22
jfhjoelkraehemann: are you trying a z/VM guest installation? what is the hw you are running?15:24
joelkraehemannjfh: I do it using qemu15:29
joelkraehemannon debian15:29
joelkraehemannqemu-system-s390x -M s390-ccw-virtio -hda ./ubuntu.qcow -cdrom ./ubuntu-17.10-server-s390x.iso -boot d -m 51215:31
jfhjoelkraehemann: do you know if qemu on debian is emulating generation EC12 or higher? Because Ubuntu is compiled for EC12 or higher ...15:32
xnoxjoelkraehemann, what is your mainframe level? Ubuntu only supports zEC1215:32
xnoxjoelkraehemann, 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
xnoxand thus specify that one, as the first hard drive.15:33
xnoxjoelkraehemann, -m 512 might be too small15:34
xnoxjoelkraehemann, you probably need -enable-kvm too15:34
joelkraehemannhttps://github.com/qemu/qemu/blob/master/pc-bios/s390-ccw.img15:38
joelkraehemann^^ I had to copy this file15:38
jfhjoelkraehemann: that's just one aspect - the other is that EC12 instructions are needed (for Ubuntu)15:42
joelkraehemannno idea :/15:42
jfhwell, 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 ...)15:44
joelkraehemanndoes it help install ubuntu on my notebook?16:10
joelkraehemannwell the same on my laptop s390x won't start17:51
xnoxjoelkraehemann, 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
xnoxjoelkraehemann, what are you trying to do?17:53
xnoxjoelkraehemann, can you simply use Launchpad PPA?17:53
joelkraehemannI think PPA doesn't support s390x17:59
joelkraehemannand I need a interactive debug session17:59
borntraegerxnox, joelkraehemann when you use a qemu from git, this seems to work with code compiled for zEC1218:04
xnoxjoelkraehemann, PPAs do support s390x, you simply need to check the tickbox in the PPA settings page.18:09
xnoxjoelkraehemann, 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:10
jfhjoelkraehemann: alternatively you may also go for a KVM VM at IBM's LinuxONE Community Cloud at Marist (no-charge)18:12

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!