Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2017 20:00:49 +1100
From:      Graham Menhennitt <graham@menhennitt.com.au>
To:        Hans Petter Selasky <hps@selasky.org>, Alfred Perlstein <alfred@freebsd.org>
Cc:        vbox@FreeBSD.org, jkim@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: VirtualBox port not working with USB
Message-ID:  <29d063b6-1f47-8540-36a9-44508ad7a0e1@menhennitt.com.au>
In-Reply-To: <acb9d1fd-810b-9dc3-bd83-167d9ccd0db9@selasky.org>
References:  <49a336e6-3954-1536-6a59-150bb63e667a@menhennitt.com.au> <442573a6-27f9-2eb3-39ef-334a61dbce1b@freebsd.org> <8e7ce173-63d9-4466-6f33-d96d4f17f48e@selasky.org> <4688B879-09A3-40FC-8018-F25A41ECA426@freebsd.org> <e71e47e7-39dc-fff5-2626-bc87027955f3@menhennitt.com.au> <acb9d1fd-810b-9dc3-bd83-167d9ccd0db9@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29d063b6-1f47-8540-36a9-44508ad7a0e1>