Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Feb 2022 18:56:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 260178] bhyve: passthru makes ahci-hd boot fail
Message-ID:  <bug-260178-27103-kZfXMgvfEz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260178-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260178-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=3D260178

--- Comment #4 from mario felicioni <marietto2008@gmail.com> ---
I've passed through the graphic card and the renesas controller (because th=
ey
are on the same IOMMU group) and I've got a precise bug :

This command :

bhyve -S -c sockets=3D1,cores=3D2,threads=3D2 -m 4G -w -H -A \
-s 0,hostbridge \
-s 1,ahci-hd,/dev/da1,sectorsize=3D512 \
-s 3:0,passthru,2/0/0 \
-s 3:1,passthru,2/0/1 \
-s 3:2,passthru,2/0/2 \
-s 3:3,passthru,2/0/3 \
-s 4:0,passthru,1/0/0 \
-s 8,virtio-net,tap1 \
-s 9,virtio-9p,sharename=3D/ \
-s 30,xhci,tablet \
-s 31,lpc \=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20
-s 29,fbuf,tcp=3D0.0.0.0:5901,w=3D1440,h=3D900 \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \
-l com1,stdio \
vm1

produces this error :

root@marietto:/usr/home/marietto/bhyve # ./freebsd14.sh

VM:vm0 is not created.
VM:vm1 is not created.
VM:vm0 is not created.
VM:vm1 is not created.
fbuf frame buffer base: 0x945e00000 [sz 16777216]
Assertion failed: (baridx =3D=3D 0), function pci_fbuf_write, file
/usr/src/usr.sbin/bhyve/pci_fbuf.c, line 134

Abort : core dumped.

--=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-260178-27103-kZfXMgvfEz>