Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2020 16:39:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 247320] Assertion failed: (iov[0].iov_len == sizeof(struct virtio_blk_hdr)), function pci_vtblk_proc, file /usr/src/usr.sbin/bhyve/pci_virtio_block.c, line 225.
Message-ID:  <bug-247320-27103@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 247320
           Summary: Assertion failed: (iov[0].iov_len =3D=3D sizeof(struct
                    virtio_blk_hdr)), function pci_vtblk_proc, file
                    /usr/src/usr.sbin/bhyve/pci_virtio_block.c, line 225.
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bhyve
          Assignee: virtualization@FreeBSD.org
          Reporter: bugs-syssec@rub.de

Created attachment 215621
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D215621&action=
=3Dedit
virtio_blk_4.zip

To reproduce run the following commands:
```
bhyvectl --vm=3Dtestvm --destroy
bhyve.full -s 2:0,ahci-cd,hypertrash_os_bios_crash.iso -w -H -s 0:0,hostbri=
dge
-s 1:0,lpc -l com1,stdio -s 3,fbuf,tcp=3D0.0.0.0:5900,w=3D800,h=3D600 -c 1 =
-m 320M -s
4:0,virtio-blk,disk.img -l
bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CSM.fd testvm
```

bhyve version:
```
# freebsd 12.1
$ svnlite checkout https://svn.freebsd.org/base/releng/12.1 /usr/src
$ cd /usr/src/usr.sbin/bhyve/; make -m /usr/src/share/mk
$ ls /usr/obj/usr/src/amd64.amd64/usr.sbin/bhyve/bhyve.full
```

setup:
```
kldload vmm
dd if=3D/dev/zero of=3Ddisk.img bs=3D1024 count=3D1024
```

--=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-247320-27103>