Re: virt-install
Both are after the successful install. I didn't capture the failed install command.
Re: virt-install
>>> On 8/5/2017 at 11:52 AM, Neale Ferguson wrote: > This is using both mechanisms to create working guests - The first one doesn't look like it's for the actual install, but after that. I don't see anything pointing to your installation kernel, initrd, or ISO image (or otherwise). Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: virt-install
This is using both mechanisms to create working guests - qemu 15466 1 10 08:57 ?00:11:16 /usr/bin/qemu-system-s390x -name guest=rhel7.3,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-19-rhel7.3/master-key.aes -machine s390-ccw-virtio-2.9,accel=kvm,usb=off -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 8490e5e8-524d-4938-9894-5494ad0ab3a5 -display none -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-19-rhel7.3/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -drive file=/var/kvm/kvmGuest.qcow2,format=qcow2,if=none,id=drive-virtio-disk0 -device virtio-blk-ccw,scsi=off,devno=fe.0.,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=25,id=hostnet0,vhost=on,vhostfd=27 -device virtio-net-ccw,netdev=hostnet0,id=net0,mac=52:54:00:41:8f:68,devno=fe.0.0001 -chardev pty,id=charconsole0 -device sclpconsole,chardev=charconsole0,id=console0 -device virtio-balloon-ccw,id=balloon0,devno=fe.0.0002 -msg timestamp=on qemu 16299 1 34 10:29 ?00:06:47 /usr/bin/qemu-system-s390x -name guest=kvmGuest,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-20-kvmGuest/master-key.aes -machine s390-ccw-virtio-2.9,accel=kvm,usb=off -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 69437114-0c52-4cc5-9401-473d4b1eee0d -display none -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-20-kvmGuest/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-reboot -boot strict=on -kernel /var/lib/libvirt/boot/virtinst-kernel.img.jZCXP9 -initrd /var/lib/libvirt/boot/virtinst-initrd.img.yLXHzS -append method=http://download.sinenomine.net/clefos/7 -drive file=/var/kvm/clefos-7.3.1611.raw,format=qcow2,if=none,id=drive-virtio-disk0 -device virtio-blk-ccw,scsi=off,devno=fe.0.,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=28,id=hostnet0,vhost=on,vhostfd=30 -device virtio-net-ccw,netdev=hostnet0,id=net0,mac=52:54:00:fd:de:bf,devno=fe.0.0001 -chardev pty,id=charconsole0 -device sclpconsole,chardev=charconsole0,id=console0 -device virtio-balloon-ccw,id=balloon0,devno=fe.0.0002 -msg timestamp=on It would be interesting to see what qemu command gets generated via virt-manager versus virt-install. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: virt-install
>>> On 8/4/2017 at 10:31 AM, Neale Ferguson wrote: > I found the problem disappeared when I changed location from the > loop-mounted ISO image to the URL of the ClefOS download site. Things are > installing as expected. It would be interesting to see what qemu command gets generated via virt-manager versus virt-install. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: virt-install
I found the problem disappeared when I changed location from the loop-mounted ISO image to the URL of the ClefOS download site. Things are installing as expected. Neale -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: virt-install
I changed over to virt-manager and defined the guest there. It came up first time. qemu-2.9.0-8 libvirt-2.2.0-1 I will attempt the other method with the option recommended. Neale On 8/4/17, 10:04 AM, "Linux on 390 Port on behalf of Viktor Mihajlovski" wrote: > >> >Hard to tell from afar ... could you try to run virt-install with >"--print-step all" (not sure which one to use in this case) and post the >resulting domain XML? >What versions of qemu and libvirt are you using? -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: virt-install
On 03.08.2017 22:03, Neale Ferguson wrote: > I have built all the bits and pieces for running libvirt/qemu/kvm on my > ClefOS (CentOS) system. I note that anything other than —graphics=none > results in an error as libvirt tries to fine a PCI device. Using none and > specifying --extra-args console=ttyS0 results in the KVM guest booting and > all the typical messages start displaying. It then gets to this point: > > Starting dracut initqueue hook… > > Nothing shows (except if I hit ESC and the alt console is shown with nice > coloured bars moving). Then I get the following: > > [ 135.596380] dracut-initqueue[600]: Warning: dracut-initqueue timeout - > starting timeout scripts > [ 136.149054] dracut-initqueue[600]: Warning: dracut-initqueue timeout - > starting timeout scripts > > > Before repeating this message multiple times and then giving up: > > Starting Switch Root... > [FAILED] Failed to start Switch Root. > See 'systemctl status initrd-switch-root.service' for details. > > Is there something I should have specified in the vert-install: > > virt-install \ > --name=itzgeekguest \ > --connect=qemu:///system\ > --ram=1024 \ > --arch=s390x\ > --virt-type=kvm \ > --vcpus=1 \ > --location=/mnt/iso \ > --os-type=linux \ > --os-variant=rhel7 \ > --network bridge=virbr0 \ > --graphics=none \ > --extra-args console=ttyS0 \ > --disk path=/var/kvm/clefos-7.3.1611.raw,size=4,bus=virtio > Hard to tell from afar ... could you try to run virt-install with "--print-step all" (not sure which one to use in this case) and post the resulting domain XML? What versions of qemu and libvirt are you using? > > Neale > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > -- Mit freundlichen Grüßen/Kind Regards Viktor Mihajlovski IBM Deutschland Research & Development GmbH Vorsitzender des Aufsichtsrats: Martina Köderitz Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/