Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Nov 2019 09:17:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF
Message-ID:  <bug-241774-27103-ciDgUP5zay@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241774-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-241774-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774

--- Comment #4 from John Hartley <drum@graphica.com.au> ---

To single view of various variations of disk/nic, I created this VM with 3
disks and 2 NICS and collected the dmesg, syslog and pciconf results.

Here is QEMU VM Desriptor for:

Q35 with OVMF - FreeBSD 11.3 VM

<domain type=3D'kvm'>
  <name>newt-dev-freebsd-11.3</name>
  <uuid>d66dcbb4-d28e-4362-b3c5-486c85b8c4f3</uuid>
  <metadata>
    <libosinfo:libosinfo
xmlns:libosinfo=3D"http://libosinfo.org/xmlns/libvirt/domain/1.0">;
      <libosinfo:os id=3D"http://freebsd.org/freebsd/11.2"/>;
    </libosinfo:libosinfo>
  </metadata>
  <memory unit=3D'KiB'>4194304</memory>
  <currentMemory unit=3D'KiB'>4194304</currentMemory>
  <vcpu placement=3D'static'>2</vcpu>
  <os>
    <type arch=3D'x86_64' machine=3D'pc-q35-4.0'>hvm</type>
    <loader readonly=3D'yes' type=3D'pflash'>/usr/share/OVMF/OVMF_CODE.fd</=
loader>
    <nvram>/home/XXX/OVMF_VARS.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
    <vmport state=3D'off'/>
  </features>
  <cpu mode=3D'host-model' check=3D'partial'>
    <model fallback=3D'allow'/>
  </cpu>
  <clock offset=3D'utc'>
    <timer name=3D'rtc' tickpolicy=3D'catchup'/>
    <timer name=3D'pit' tickpolicy=3D'delay'/>
    <timer name=3D'hpet' present=3D'no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <pm>
    <suspend-to-mem enabled=3D'no'/>
    <suspend-to-disk enabled=3D'no'/>
  </pm>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type=3D'file' device=3D'disk'>
      <driver name=3D'qemu' type=3D'qcow2'/>
      <source file=3D'/home/newt-hd1-01.qcow2'/>
      <target dev=3D'sdb' bus=3D'sata'/>
      <boot order=3D'1'/>
      <address type=3D'drive' controller=3D'0' bus=3D'0' target=3D'0' unit=
=3D'1'/>
    </disk>
    <disk type=3D'file' device=3D'cdrom'>
      <driver name=3D'qemu' type=3D'raw'/>
      <source file=3D'/home/FreeBSD-11.3-RELEASE-amd64-dvd1.iso'/>
      <target dev=3D'sdc' bus=3D'sata'/>
      <readonly/>
      <boot order=3D'2'/>
      <address type=3D'drive' controller=3D'0' bus=3D'0' target=3D'0' unit=
=3D'2'/>
    </disk>
    <disk type=3D'file' device=3D'disk'>
      <driver name=3D'qemu' type=3D'qcow2'/>
      <source file=3D'/home/newt-hd2-01.qcow2'/>
      <target dev=3D'sda' bus=3D'scsi'/>
      <address type=3D'drive' controller=3D'0' bus=3D'0' target=3D'0' unit=
=3D'0'/>
    </disk>
    <disk type=3D'file' device=3D'disk'>
      <driver name=3D'qemu' type=3D'qcow2'/>
      <source file=3D'/home/newt-hd3-01.qcow2'/>
      <target dev=3D'vda' bus=3D'virtio'/>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x06' slot=3D'0x00'
function=3D'0x0'/>
    </disk>
    <controller type=3D'usb' index=3D'0' model=3D'ich9-ehci1'>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x1d'
function=3D'0x7'/>
    </controller>
    <controller type=3D'usb' index=3D'0' model=3D'ich9-uhci1'>
      <master startport=3D'0'/>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x1d' fu=
nction=3D'0x0'
multifunction=3D'on'/>
    </controller>
    <controller type=3D'usb' index=3D'0' model=3D'ich9-uhci2'>
      <master startport=3D'2'/>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x1d'
function=3D'0x1'/>
    </controller>
    <controller type=3D'usb' index=3D'0' model=3D'ich9-uhci3'>
      <master startport=3D'4'/>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x1d'
function=3D'0x2'/>
    </controller>
    <controller type=3D'scsi' index=3D'0' model=3D'lsisas1068'>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x03' slot=3D'0x02'
function=3D'0x0'/>
    </controller>
    <controller type=3D'sata' index=3D'0'>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x1f'
function=3D'0x2'/>
    </controller>
    <controller type=3D'pci' index=3D'0' model=3D'pcie-root'/>
    <controller type=3D'pci' index=3D'1' model=3D'pcie-root-port'>
      <model name=3D'pcie-root-port'/>
      <target chassis=3D'1' port=3D'0x10'/>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x02' fu=
nction=3D'0x0'
multifunction=3D'on'/>
    </controller>
    <controller type=3D'pci' index=3D'2' model=3D'pcie-root-port'>
      <model name=3D'pcie-root-port'/>
      <target chassis=3D'2' port=3D'0x11'/>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x02'
function=3D'0x1'/>
    </controller>
    <controller type=3D'pci' index=3D'3' model=3D'pcie-to-pci-bridge'>
      <model name=3D'pcie-pci-bridge'/>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x01' slot=3D'0x00'
function=3D'0x0'/>
    </controller>
    <controller type=3D'pci' index=3D'4' model=3D'pcie-root-port'>
      <model name=3D'pcie-root-port'/>
      <target chassis=3D'4' port=3D'0x12'/>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x02'
function=3D'0x2'/>
    </controller>
    <controller type=3D'pci' index=3D'5' model=3D'pcie-root-port'>
      <model name=3D'pcie-root-port'/>
      <target chassis=3D'5' port=3D'0x13'/>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x02'
function=3D'0x3'/>
    </controller>
    <controller type=3D'pci' index=3D'6' model=3D'pcie-root-port'>
      <model name=3D'pcie-root-port'/>
      <target chassis=3D'6' port=3D'0x14'/>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x02'
function=3D'0x4'/>
    </controller>
    <controller type=3D'pci' index=3D'7' model=3D'pcie-root-port'>
      <model name=3D'pcie-root-port'/>
      <target chassis=3D'7' port=3D'0x15'/>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x02'
function=3D'0x5'/>
    </controller>
    <controller type=3D'pci' index=3D'8' model=3D'pcie-root-port'>
      <model name=3D'pcie-root-port'/>
      <target chassis=3D'8' port=3D'0x16'/>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x02'
function=3D'0x6'/>
    </controller>
    <controller type=3D'virtio-serial' index=3D'0'>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x05' slot=3D'0x00'
function=3D'0x0'/>
    </controller>
    <interface type=3D'bridge'>
      <mac address=3D'52:54:00:b6:23:1a'/>
      <source bridge=3D'br01'/>
      <model type=3D'virtio'/>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x02' slot=3D'0x00'
function=3D'0x0'/>
    </interface>
    <interface type=3D'bridge'>
      <mac address=3D'52:54:00:98:20:03'/>
      <source bridge=3D'br01'/>
      <model type=3D'e1000'/>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x03' slot=3D'0x01'
function=3D'0x0'/>
    </interface>
    <serial type=3D'pty'>
      <target type=3D'isa-serial' port=3D'0'>
        <model name=3D'isa-serial'/>
      </target>
    </serial>
    <console type=3D'pty'>
      <target type=3D'serial' port=3D'0'/>
    </console>
    <channel type=3D'spicevmc'>
      <target type=3D'virtio' name=3D'com.redhat.spice.0'/>
      <address type=3D'virtio-serial' controller=3D'0' bus=3D'0' port=3D'1'=
/>
    </channel>
    <input type=3D'keyboard' bus=3D'usb'>
      <address type=3D'usb' bus=3D'0' port=3D'1'/>
    </input>
    <input type=3D'mouse' bus=3D'ps2'/>
    <input type=3D'keyboard' bus=3D'ps2'/>
    <graphics type=3D'spice' autoport=3D'yes'>
      <listen type=3D'address'/>
      <image compression=3D'off'/>
    </graphics>
    <video>
      <model type=3D'qxl' ram=3D'65536' vram=3D'65536' vgamem=3D'16384' hea=
ds=3D'1'
primary=3D'yes'/>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x01'
function=3D'0x0'/>
    </video>
    <redirdev bus=3D'usb' type=3D'spicevmc'>
      <address type=3D'usb' bus=3D'0' port=3D'2'/>
    </redirdev>
    <redirdev bus=3D'usb' type=3D'spicevmc'>
      <address type=3D'usb' bus=3D'0' port=3D'3'/>
    </redirdev>
    <memballoon model=3D'virtio'>
      <address type=3D'pci' domain=3D'0x0000' bus=3D'0x07' slot=3D'0x00'
function=3D'0x0'/>
    </memballoon>
  </devices>
</domain>

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241774-27103-ciDgUP5zay>