Date: Sun, 13 Mar 2022 10:20:33 +0100 From: Vincenzo Maffione <vmaffione@freebsd.org> To: Mario Marietto <marietto2008@gmail.com> Cc: FreeBSD virtualization <freebsd-virtualization@freebsd.org> Subject: Re: Assertion failed: (n >= 2 && n <= BLOCKIF_IOV_MAX + 2), function pci_vtblk_proc, file /usr/src/usr.s bin/bhyve/pci_virtio_block.c, line 324. Message-ID: <CA%2B_eA9js9uVZjFQnD8mOaNyhyhA0gOnRDqfLp4s69oyR3_G9XA@mail.gmail.com> In-Reply-To: <CA%2B1FSiid0qnTyeGY0d-wnv8DV_QRewh9PpMo=aPj9EObdJbysg@mail.gmail.com> References: <CA%2B1FSiid0qnTyeGY0d-wnv8DV_QRewh9PpMo=aPj9EObdJbysg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000012f52705da161494 Content-Type: text/plain; charset="UTF-8" I'd say that's a bug by definition, since bhyve should not crash even in case of invalid input from the guest virtio driver. I don't know if it can apply in your case, but have you tried to use virtio-scsi in place of virtio-blk? The former is supposed to be the recommended one. Cheers, Vincenzo Il giorno dom 13 mar 2022 alle ore 00:13 Mario Marietto < marietto2008@gmail.com> ha scritto: > Hello. > > I want to understand if I'm dealing with a bug or with a regular method of > working. So,please be patient with me. What I want to achieve is to pass > thru two of my NTFS "formatted" disks to a Windows 11 VM,but without > passing them thru using the USB controller. I'm using : > > FreeBSD marietto 13.0-RELEASE FreeBSD 13.0-RELEASE #5 n244809-dff3dead3734: Wed Feb 23 13:16:32 CET > 2022 marietto@marietto:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 > > > more about this bug,here : > > > https://forums.freebsd.org/threads/usb-3-0-disks-not-recognized-by-windows-if-passed-through-as-slots.84402/#post-559856 > > -- > Mario. > --00000000000012f52705da161494 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>I'd say that's a bug by definition, since bhy= ve should not crash even in case of invalid input from the guest virtio dri= ver.</div><div>I don't know if it can apply in your case, but have you = tried to use virtio-scsi in place of virtio-blk? The former is supposed to = be the recommended one.</div><div><br></div><div>Cheers,</div><div>=C2=A0 V= incenzo<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" clas= s=3D"gmail_attr">Il giorno dom 13 mar 2022 alle ore 00:13 Mario Marietto &l= t;<a href=3D"mailto:marietto2008@gmail.com">marietto2008@gmail.com</a>> = ha scritto:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div= dir=3D"ltr"><div>Hello.</div><div><br></div><div>I=20 want to understand if I'm dealing with a bug or with a regular method o= f working. So,please be patient with me. What I want to achieve is to=20 pass thru two of my NTFS "formatted" disks to a Windows 11 VM,but= =20 without passing them thru using the USB controller. I'm using :</div><d= iv><br></div><div><pre dir=3D"ltr"><code>FreeBSD marietto 13.0-RELEASE Free= BSD 13.0-RELEASE #5 n244809-dff3dead3734: Wed Feb 23 13:16:32 CET 2022 marietto@marietto:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64<= /code></pre></div><div><br></div><div>more about this bug,here :</div><div>= <br></div><div><a href=3D"https://forums.freebsd.org/threads/usb-3-0-disks-= not-recognized-by-windows-if-passed-through-as-slots.84402/#post-559856" ta= rget=3D"_blank">https://forums.freebsd.org/threads/usb-3-0-disks-not-recogn= ized-by-windows-if-passed-through-as-slots.84402/#post-559856</a></div><div= ><br></div><div>-- </div><div dir=3D"ltr">Mario.<br></div></div> </blockquote></div> --00000000000012f52705da161494--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B_eA9js9uVZjFQnD8mOaNyhyhA0gOnRDqfLp4s69oyR3_G9XA>