Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2023 22:34:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 270900] emulators/virtualbox-ose USB passthrough fails with Failed to create a proxy device for the USB device. (Error: VERR_INVALID_PARAMETER)
Message-ID:  <bug-270900-4077-wiNmfwqwII@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-270900-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-270900-4077@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=3D270900

--- Comment #5 from groenveld@acm.org ---
Here's the vbox.log snippet with debug enabled.

00:00:19.593390 usbProxyConstruct: Failed to open '/dev/ugen0.2',
rc=3DVERR_INVALID_PARAMETER
00:00:19.594118=20
00:00:19.594121 !!Assertion Failed!!
00:00:19.594122 Expression: <NULL>
00:00:19.594125 Location  :
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.46/src/VBox/VMM/VMM=
R3/PDMUsb.cpp(717)
int pdmR3UsbCreateDevice(PVM, PPDMUSBHUB, PPDMUSB, int, PCRTUUID, PCFGMNODE=
 *,
VUSBSPEED, const char *)
00:00:19.594190 Stack     :
00:00:19.594191 00000008221982e7
00:00:19.594193=20
00:00:19.594275 Failed to construct 'USBProxy'/0! VERR_INVALID_PARAMETER (-=
2) -
Invalid parameter.


In order to build emulators/virtualbox-ose I needed to rebuild devel/gsoap =
with
debug enabled.
A quick kludge:
git diff
diff --git a/devel/gsoap/Makefile b/devel/gsoap/Makefile
index 253374b56909..9b2eaf9c601b 100644
--- a/devel/gsoap/Makefile
+++ b/devel/gsoap/Makefile
@@ -26,7 +26,7 @@ PORTSCOUT=3D    limit:^2\.8\.[0-9][0-9][0-9]$

 WRKSRC=3D                ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}

-OPTIONS_DEFINE=3D                        IPV6
+OPTIONS_DEFINE=3D                        IPV6=20
 OPTIONS_DEFAULT=3D               IPV6 OPENSSL
 OPTIONS_RADIO=3D                 SSL
 OPTIONS_RADIO_SSL=3D             GNUTLS OPENSSL
@@ -35,7 +35,7 @@ GNUTLS_LIB_DEPENDS=3D           libgcrypt.so:security/lib=
gcrypt
\
                                libgpg-error.so:security/libgpg-error
 GNUTLS_CONFIGURE_ON=3D           --enable-gnutls
 GNUTLS_LDFLAGS=3D                        -L${LOCALBASE}/lib
-IPV6_CONFIGURE_ENABLE=3D         ipv6
+IPV6_CONFIGURE_ENABLE=3D         ipv6 debug
 OPENSSL_CONFIGURE_ENABLE=3D      ssl

 post-patch:

John
groenveld@acm.org

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270900-4077-wiNmfwqwII>