VirtualBox port not working with USB

Graham Menhennitt graham at menhennitt.com.au
Wed Jan 25 09:00:59 UTC 2017


On 25/01/2017 00:43, Hans Petter Selasky wrote:
> On 01/24/17 12:03, Graham Menhennitt wrote:
>> On 24/01/2017 04:19, Alfred Perlstein wrote:
>>> Graham, can you follow what Hans is asking and report back please?
>>>
>>>
>>>> On Jan 23, 2017, at 8:14 AM, Hans Petter Selasky <hps at selasky.org>
>>>> wrote:
>>>>
>>>>
>>>> There hasn't been any big changes in the FreeBSD userspace interfaces
>>>> used by virtualbox for a while. Maybe you can try to collect output
>>>> from "usbdump -i usbusX -f Y -s 65536 > log.txt" where X and Y are
>>>> the numbers after ugenX.Y for the device in question. I'll give
>>>> virtualbox from FreeBSD ports a spin and see if there is something
>>>> obvious broken.
>>>>
>>
>
>
> Can you compile VirtualBox with full debugging enabled (make config 
> and add all debug flags before building) and capture the resulting 
> debug log(s) and send to me?
>
> There are some debug prints in "USBProxyBackendFreeBSD.cpp" and 
> "USBProxyDevice-freebsd.cpp" which I need to see and you should see 
> them too when you add/remove USB devices. 

Hans,

I think that this is what you're after. If not, I can have another go. 
But it dies pretty quickly so I'm not sure what more I can do.

Thanks,
     Graham


Log created: 2017-01-25T08:38:42.439099000Z
Executable: /usr/local/lib/virtualbox/VBoxSVC
Arg[0]: /usr/local/lib/virtualbox/VBoxSVC
Arg[1]: --auto-shutdown

!!Assertion Failed!!
Expression: mUniState == kHostUSBDeviceState_DetachingFromVM || 
(mUniState == kHostUSBDeviceState_UsedByVM && aAbnormal)
Location  : 
/usr/ports_build/usr/data/FreeBSD/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Main/src-server/HostUSBDeviceImpl.cpp(671) 
nsresult HostUSBDevice::i_onDetachFromVM(SessionMachine *, bool, bool *, 
bool)
{EPSON EPSON Scanner} CapturingForVM

!!Assertion Failed!!
Expression: aReason == Uninit::Abnormal
Location  : 
/usr/ports_build/usr/data/FreeBSD/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Main/src-server/MachineImpl.cpp(12749) 
void SessionMachine::uninit(Uninit::Reason)

!!Assertion Failed!!
Expression: SUCCEEDED(rc)
Location  : 
/usr/ports_build/usr/data/FreeBSD/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Main/glue/initterm.cpp(636) 
nsresult com::Shutdown()
COM RC = NS_ERROR_UNEXPECTED (0x8000FFFF)


More information about the freebsd-ports mailing list