Bug 247317 - Assertion failed: (todo > 0), function ahci_build_iov, file /usr/src/usr.sbin/bhyve/pci_ahci.c, line 644.
Summary: Assertion failed: (todo > 0), function ahci_build_iov, file /usr/src/usr.sbin...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bhyve (show other bugs)
Version: 12.1-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-virtualization (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-16 16:34 UTC by bugs-syssec
Modified: 2020-06-16 16:34 UTC (History)
0 users

See Also:


Attachments
ahci_1.zip (219.84 KB, application/zip)
2020-06-16 16:34 UTC, bugs-syssec
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugs-syssec 2020-06-16 16:34:37 UTC
Created attachment 215618 [details]
ahci_1.zip

To reproduce run the following commands:
```
bhyvectl --vm=testvm --destroy
bhyve.full -s 2:0,ahci-cd,hypertrash_os_bios_crash.iso -w -H -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio -s 3,fbuf,tcp=0.0.0.0:5900,w=800,h=600 -c 1 -m 320M -s 4:0,ahci-hd,cd:hypertrash_os_bios_crash.iso,hd: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=/dev/zero of=disk.img bs=1024 count=1024
```