joelkraehemann | hi all | 15:21 |
---|---|---|
joelkraehemann | I try to setup a s390x VM | 15:21 |
joelkraehemann | but I don't get a screen | 15:22 |
jfh | joelkraehemann: are you trying a z/VM guest installation? what is the hw you are running? | 15:24 |
joelkraehemann | jfh: I do it using qemu | 15:29 |
joelkraehemann | on debian | 15:29 |
joelkraehemann | qemu-system-s390x -M s390-ccw-virtio -hda ./ubuntu.qcow -cdrom ./ubuntu-17.10-server-s390x.iso -boot d -m 512 | 15:31 |
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:32 |
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:33 |
xnox | joelkraehemann, -m 512 might be too small | 15:34 |
xnox | joelkraehemann, you probably need -enable-kvm too | 15:34 |
joelkraehemann | https://github.com/qemu/qemu/blob/master/pc-bios/s390-ccw.img | 15:38 |
joelkraehemann | ^^ I had to copy this file | 15:38 |
jfh | joelkraehemann: that's just one aspect - the other is that EC12 instructions are needed (for Ubuntu) | 15:42 |
joelkraehemann | no idea :/ | 15:42 |
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 ...) | 15:44 |
joelkraehemann | does it help install ubuntu on my notebook? | 16:10 |
joelkraehemann | well the same on my laptop s390x won't start | 17:51 |
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:53 |
joelkraehemann | I think PPA doesn't support s390x | 17:59 |
joelkraehemann | and I need a interactive debug session | 17:59 |
borntraeger | xnox, joelkraehemann when you use a qemu from git, this seems to work with code compiled for zEC12 | 18:04 |
xnox | joelkraehemann, PPAs do support s390x, you simply need to check the tickbox in the PPA settings page. | 18:09 |
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:10 |
jfh | joelkraehemann: 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!