On Tue, Mar 14, 2017 at 08:16:17PM -0400, Jiri B wrote: > Recent dmesg, and VM exits because of virtio-scsi issue when it is installing > 'bsd.mp'. > > j. >
What are you trying to achieve here? Why not just use a device that doesn't cause errors. You could choose virtio-blk or even a non-PV storage device. -ml > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2017 OpenBSD. All rights reserved. > https://www.OpenBSD.org > > OpenBSD 6.0-current (RAMDISK_CD) #163: Sat Feb 11 19:41:57 MST 2017 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD > real mem = 250470400 (238MB) > avail mem = 239251456 (228MB) > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf7170 (10 entries) > bios0: vendor SeaBIOS version "1.9.1-5.el7_3.1" date 04/01/2014 > bios0: Red Hat KVM > acpi0 at bios0: rev 0 > acpi0: tables DSDT FACP APIC > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: QEMU Virtual CPU version 2.5+, 2394.37 MHz > cpu0: > FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MM > X,FXSR,SSE,SSE2,SSE3,CX16,x2APIC,HV,NXE,LONG,LAHF > cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line > 16-way L2 cache > cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped > cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped > cpu0: apic clock running at 999MHz > cpu at mainbus0: not configured > ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins > acpiprt0 at acpi0: bus 0 (PCI0) > acpicpu at acpi0 not configured > "ACPI0006" at acpi0 not configured > "PNP0303" at acpi0 not configured > "PNP0F13" at acpi0 not configured > "PNP0700" at acpi0 not configured > "PNP0501" at acpi0 not configured > "PNP0A06" at acpi0 not configured > "PNP0A06" at acpi0 not configured > "PNP0A06" at acpi0 not configured > "ACPI0010" at acpi0 not configured > pvbus0 at mainbus0: KVM > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02 > "Intel 82371SB ISA" rev 0x00 at pci0 dev 1 function 0 not configured > pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 > wired to compatibility, channel 1 wired to compatibility > pciide0: channel 0 disabled (no drives) > pciide0: channel 1 disabled (no drives) > "Intel 82371AB Power" rev 0x03 at pci0 dev 1 function 3 not configured > virtio0 at pci0 dev 2 function 0 "Qumranet Virtio Network" rev 0x00 > vio0 at virtio0: address 52:54:00:15:b0:a3 > virtio0: msix shared > virtio1 at pci0 dev 3 function 0 "Qumranet Virtio SCSI" rev 0x00 > vioscsi0 at virtio1: qsize 128 > scsibus0 at vioscsi0: 255 targets > sd0 at scsibus0 targ 0 lun 0: <QEMU, QEMU HARDDISK, 2.5+> SCSI3 0/direct > fixed > sd0: 20480MB, 512 bytes/sector, 41943040 sectors, thin > virtio1: msix shared > uhci0 at pci0 dev 4 function 0 "Intel 82801I USB" rev 0x03: apic 0 int 11 > uhci1 at pci0 dev 4 function 1 "Intel 82801I USB" rev 0x03: apic 0 int 10 > uhci2 at pci0 dev 4 function 2 "Intel 82801I USB" rev 0x03: apic 0 int 10 > ehci0 at pci0 dev 4 function 7 "Intel 82801I USB" rev 0x03: apic 0 int 11 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > addr 1 > virtio2 at pci0 dev 5 function 0 "Qumranet Virtio Memory" rev 0x00 > virtio2: no matching child driver; not configured > usb1 at uhci0: USB revision 1.0 > uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb2 at uhci1: USB revision 1.0 > uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb3 at uhci2: USB revision 1.0 > uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > isa0 at mainbus0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > com0: console > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0 mux 1 > softraid0 at root > scsibus1 at softraid0: 256 targets > PXE boot MAC address 52:54:00:15:b0:a3, interface vio0 > root on rd0a swap on rd0b dump on rd0b > erase ^?, werase ^W, kill ^U, intr ^C, status ^T > > Welcome to the OpenBSD/amd64 6.0 installation program. > Starting non-interactive mode in 5 seconds... > (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? > DHCPDISCOVER on vio0 - interval 1 > DHCPDISCOVER on vio0 - interval 1 > DHCPOFFER from 192.168.1.1 (00:25:90:60:8f:1e) > DHCPREQUEST on vio0 to 255.255.255.255 > DHCPACK from 192.168.1.1 (00:25:90:60:8f:1e) > bound to 192.168.1.118 -- renewal in 1800 seconds. > Fetching > http://192.168.1.2/52:54:00:15:b0:a3-install.conf?path=snapshots/amd64 > Performing non-interactive install... > Terminal type? [vt220] vt220 > System hostname? (short form, e.g. 'foo') test1 > > Available network interfaces are: vio0 vlan0. > Which network interface do you wish to configure? (or 'done') [vio0] vio0 > IPv4 address for vio0? (or 'dhcp' or 'none') [dhcp] dhcp > DHCPREQUEST on vio0 to 255.255.255.255 > DHCPACK from 192.168.1.1 (00:25:90:60:8f:1e) > bound to 192.168.1.118 -- renewal in 1800 seconds. > IPv6 address for vio0? (or 'rtsol' or 'none') [none] none > Available network interfaces are: vio0 vlan0. > Which network interface do you wish to configure? (or 'done') [done] done > Using DNS domainname internal > Using DNS nameservers at 192.168.1.1 > > Password for root account? <provided> > Public ssh key for root account? [none] none > Start sshd(8) by default? [yes] yes > Change the default console to com0? [yes] yes > Available speeds are: 9600 19200 38400 57600 115200. > Which speed should com0 use? (or 'done') [115200] 115200 > Setup a user? (enter a lower-case loginname, or 'no') [no] jirib > Full name for user jirib? [jirib] jirib > Password for user jirib? <provided> > Public ssh key for user jirib [none] ssh-rsa > AAAAB3NzaC1yc2EAAAADAQABAAABAQC7deq1vJOnb+/Ee1hL2+z+D6UbiI+Ww8sAoMl62PSJfKa7x > gYG+B3pArtoa7lc9krs9hKQ+L7gh65ekaXNRCY+CrCWgrT8+rnPGFubbxiVzYS2z+koA+nZ/1RTu7 > GPFupsQUutQniG4X3kurUlLQldhm9wsoA8Fyc2Se//Fr0uqJw4LrLraGRS4cLaAh1dIv78/ymZyWj > 4V7xB5B9/Fq9J3+SA/UR1px3TKM9/V5SyzbJJ9d5I/2PjYv8AAtmzqA87PwNtfMGFEtM3ze1MlaQn > zsYAOg84TM9UYieiUeVdpfnM7hIhHiqSTTNTaN0mtsGAA2g2lf+kccft6CeichAb jirib@ > WARNING: root is targeted by password guessing attacks, pubkeys are safer. > Allow root ssh login? (yes, no, prohibit-password) [no] no > What timezone are you in? ('?' for list) [Europe/Prague] Europe/Prague > > Available disks are: sd0. > Which disk is the root disk? ('?' for details) [sd0] sd0 > Disk: sd0 geometry: 2610/255/63 [41943040 Sectors] > Offset: 0 Signature: 0xAA55 > Starting Ending LBA Info: > #: id C H S - C H S [ start: size ] > ----------------------------------------------------------------------------- > -- > 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused > 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused > 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused > *3: A6 0 1 2 - 2609 254 63 [ 64: 41929586 ] OpenBSD > Use (W)hole disk MBR, whole disk (G)PT, (O)penBSD area or (E)dit? [OpenBSD] > OpenBSD > URL to autopartitioning template for disklabel? [none] > http://192.168.1.2/52:54:00:15:b0:a3-install.tmpl > Fetching http://192.168.1.2/52:54:00:15:b0:a3-install.tmpl > /dev/rsd0a: 256.0MB in 524288 sectors of 512 bytes > 4 cylinder groups of 64.00MB, 4096 blocks, 8192 inodes each > /dev/rsd0e: 64.0MB in 131072 sectors of 512 bytes > 4 cylinder groups of 16.00MB, 1024 blocks, 2048 inodes each > /dev/rsd0d: 1024.0MB in 2097152 sectors of 512 bytes > 6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each > /dev/rsd0f: 1024.0MB in 2097152 sectors of 512 bytes > 6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each > /dev/rsd0h: 1024.0MB in 2097152 sectors of 512 bytes > 6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each > /dev/rsd0g: 128.0MB in 262144 sectors of 512 bytes > 4 cylinder groups of 32.00MB, 2048 blocks, 4096 inodes each > /dev/rsd0i: 16441.4MB in 33672032 sectors of 512 bytes > 82 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each > /dev/sd0a (8952f1c29399384b.a) on /mnt type ffs (rw, asynchronous, local) > /dev/sd0e (8952f1c29399384b.e) on /mnt/home type ffs (rw, asynchronous, local, > nodev, nosuid) > /dev/sd0d (8952f1c29399384b.d) on /mnt/tmp type ffs (rw, asynchronous, local, > nodev, nosuid) > /dev/sd0f (8952f1c29399384b.f) on /mnt/usr type ffs (rw, asynchronous, local, > nodev) > /dev/sd0h (8952f1c29399384b.h) on /mnt/usr/local type ffs (rw, asynchronous, > local, nodev) > /dev/sd0g (8952f1c29399384b.g) on /mnt/var type ffs (rw, asynchronous, local, > nodev, nosuid) > /dev/sd0i (8952f1c29399384b.i) on /mnt/var/log type ffs (rw, asynchronous, > local, nodev, nosuid) > > Let's install the sets! > Location of sets? (disk http or 'done') [http] http > HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none] none > HTTP Server? (hostname, list#, 'done' or '?') [192.168.1.2] 192.168.1.2 > Server directory? [///////pub/OpenBSD/snapshots/amd64] > ///////pub/OpenBSD/snapshots/amd64 > Unable to connect using https. Use http instead? [no] yes > > Select sets by entering a set name, a file name pattern or 'all'. De-select > sets by prepending a '-' to the set name, file name pattern or 'all'. > Selected > sets are labelled '[X]'. > [X] bsd [X] base60.tgz [X] game60.tgz [X] xfont60.tgz > [X] bsd.rd [X] comp60.tgz [X] xbase60.tgz [X] xserv60.tgz > [X] bsd.mp [X] man60.tgz [X] xshare60.tgz > Set name(s)? (or 'abort' or 'done') [done] done > Get/Verify SHA256.sig 100% |**************************| 2152 00:00 > Signature Verified > Get/Verify bsd 100% |**************************| 10424 KB 00:00 > Get/Verify bsd.rd 100% |**************************| 9215 KB 00:00 > Get/Verify bsd.mp 100% |**************************| 10490 KB 00:00 > Get/Verify base60.tgz 100% |**************************| 52124 KB 00:01 > Get/Verify comp60.tgz 100% |**************************| 46094 KB 00:01 > Get/Verify man60.tgz 100% |**************************| 8780 KB 00:00 > Get/Verify game60.tgz 100% |**************************| 2707 KB 00:00 > Get/Verify xbase60.tgz 100% |**************************| 23372 KB 00:00 > Get/Verify xshare60.tgz 100% |**************************| 4414 KB 00:00 > Get/Verify xfont60.tgz 100% |**************************| 39342 KB 00:01 > Get/Verify xserv60.tgz 100% |**************************| 22610 KB 00:00 > Installing bsd 100% |**************************| 10424 KB 00:00 > Installing bsd.rd 100% |**************************| 9215 KB 00:00 > Installing bsd.mp 100% |**************************| 10490 KB 00:00 > Connection closed by foreign host. > > LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin > QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name guest=test1,debug-threads=on > -S -object > secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-30-test1/ma > ster-key.aes -machine pc-i440fx-rhel7.3.0,accel=kvm,usb=off,vmport=off -m 256 > -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid > 2ce6206b-fdf6-40ae-b3ba-5a90d2f39348 -nographic -no-user-config -nodefaults > -device sga -chardev > socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-30-test1/monitor.sock > ,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc > base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet > -no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot > menu=on,strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x4.0x7 -device > ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x4 > -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x4.0x1 > -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x4.0x2 > -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x3 -drive > file=/var/lib/libvirt/images/test1.img,format=raw,if=none,id=drive-scsi0-0-0-0 > -device > scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi > 0-0-0-0 -netdev tap,fd=28,id=hostnet0,vhost=on,vhostfd=30 -device > virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:15:b0:a3,bus=pci.0,addr=0 > x2,bootindex=1 -chardev > socket,id=charserial0,host=127.0.0.1,port=4555,telnet,server,nowait -device > isa-serial,chardev=charserial0,id=serial0 -device > virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -msg timestamp=on > 2017-03-14T23:13:17.289782Z qemu-kvm: wrong size for virtio-scsi headers > 2017-03-14 23:13:17.499+0000: shutting down