[vbox-dev] GuestAddtions OSE: VBoxService.exe does not start

Andreas pentagonik at sun.com
Fri Sep 18 21:14:39 GMT 2009


Hi,

glad that it worked!
To install the Shared Folders the following is required:

1) Install VBoxSF.sys driver (filesystem driver)
2) Copy "VBoxMRXNP.dll" to $SYSDIR
3) Add a new network provider to 
"SYSTEM\CurrentControlSet\Services\VBoxSF\NetworkProvider" with 
"DeviceName"="\Device\VBoxMiniRdr", "Name"="VirtualBox Shared Folders", 
"ProviderPath" "$SYSDIR\VBoxMRXNP.dll"
4) Add the network provider name (look up on Google) "VBoxSF" to the 
providers list (as head)

Cheers,
-Andreas.



S. Brandt wrote:
> Andreas - Sun Microsystems schrieb:
>> Hi,
>>
>> got the error: It seems that you do not install the Shared Folders
>> (correctly), so an internal pipe which gets modified in case of ACL is
>> not found; that caused VBoxService to stop responding.
> Yes, this may very well be the case.
> Thanks a lot - the shared folders did not work, that's right, I rather
> thought it was a "not released for OSE" situation ;)
> I don't use them anyway, more content with networking.
> 
>> I fixed the issue and will send you a private link to a test build so
>> that you can verify it as well.
> I installed these additions - they work, of course.
> I also copied the VBoxService OSE 3.0.6 into it, and it still works.
> 
> IIRC, I had the same situation with other PUEL GA - copying the OSE
> service into a PUEL GA installation worked.
> 
> So, can you tell me how to correctly install the shared folders?
> 
> Thanks a lot,
> yours,
> Sebastian
>> Good luck,
>> -Andreas.
>>
>>
>>
>> Andreas - Sun Microsystems wrote:
>>> Hi again,
>>>
>>> I just reproduced the issue and debugging it. I think I have an idea
>>> what might be wrong ...stay tuned.
>>>
>>> Cheers,
>>> -Andreas.
>>>
>>>
>>>
>>>
>>> Sebastian Brandt schrieb:
>>>> Andreas - Sun Microsystems wrote:
>>>>> Sebastian,
>>>> Hi,
>>>>
>>>>> I tried out VBoxService using OSE sources and took a look into your log
>>>>> file as well -- it all works like it should on my system.
>>>>>
>>>>> Maybe you're misunderstanding the way VBoxService gets
>>>>> started/operates?
>>>>> If you just call (on Windows: doubleclick or over command line)
>>>>> VBoxService.exe the service control dispatcher gets involved which then
>>>>> leads to the described error you reported. This is not actually an
>>>>> error
>>>>> but has to be implemented like this to get VBoxService handled
>>>>> correctly
>>>>> with the Windows SCM.
>>>> No,
>>>> I'm installing it as a server and starting it as a service.
>>>> Otherwise, I -- correctly -- get an error message.
>>>>> To manually call VBoxService you have to call it with the "-f" option
>>>>> (foreground), which then does not involve the service control
>>>>> dispatcher
>>>>> at all.
>>>> This would be the other possibility, putting it into autostart - but
>>>> then,
>>>> the service does not run w/o a user logged in ... and the console
>>>> window is
>>>> always open ..
>>>>
>>>> When I replace the 306-vboxservice.exe with the 224 one, the service
>>>> starts
>>>> w/o any problems. So, if the fact that it is a service has not been
>>>> changed
>>>> between 224 and 30x ...
>>>>
>>>> So, it's somewhere in the driver handling - dependencies? different
>>>> installation Flags? the datastructure passed to the service control
>>>> method
>>>> invalid? an init callback method that does not return?
>>>>
>>>> Thanks,
>>>> Sebastian
>>>>
>>>>
>>>>>> Andreas - Sun Microsystems, Inc. wrote:
>>>>>>> Hi Sebastian,
>>>>>>>
>>>>>>> thanks for the report. What happens if you start the VBoxService.exe
>>>>>>> from command line specifying "VBoxService -f -vvv" after stopping any
>>>>>>> running instance of VBoxService first? This makes the service run in
>>>>>>> foreground with verbose output.
>>>>>> Hi!
>>>>>> Yes, that one runs ....
>>>>>> Log is attached.
>>>>>> * VBox 3.0.4 on XP Pro SP3
>>>>>> * VBox GA OSE 3.0.2 on the XP Pro SP3 guest
>>>>>> * VBoxService 3.0.6 version (in system32 dir)
>>>>>> (a bit mixed up, I'm currently upgrading ...)
>>>>>>
>>>>>> Problem is, I did not get any log messages when running in service
>>>>>> mode and using -vvv ...
>>>>>>
>>>>>> Development env:
>>>>>> * Visual Studio 2005 sp1
>>>>>> * Microsoft Platform SDK for Windows Server 2003 R2
>>>>>> * DDK 3790.1830
>>>>>> * DirectX SDK 2008-08
>>>>>>
>>>>>> Thanks,
>>>>>> Sebastian
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> vbox-dev mailing list
>>>>>> vbox-dev at virtualbox.org
>>>>>> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>>>>
>>>> _______________________________________________
>>>> vbox-dev mailing list
>>>> vbox-dev at virtualbox.org
>>>> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>>>
>>
> 
> 
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev




More information about the vbox-dev mailing list