[vbox-dev] (no subject)

Austin English austinenglish at gmail.com
Wed Jan 27 06:13:18 UTC 2016


Well, Virtualbox hadn't compiled, I was hitting
https://www.virtualbox.org/ticket/1499.

Using a 32-bit kernel instead, I was able to get VirtualBox 4.3.32 to
build. The results:

# hardened, no sudo
amnesia at amnesia:/media/amnesia/e3f702b9-64b4-40c2-96c3-ef6cf856e129/VirtualBox-4.3.32/out/linux.x86/release/bin$
./VirtualBox
VirtualBox: Error -10 in SUPR3HardenedMain!
VirtualBox: Effective UID is not root (euid=1000 egid=1000 uid=1000 gid=1000)

VirtualBox: Tip! It may help to reinstall VirtualBox.

# hardened, as sudo:
amnesia at amnesia:/media/amnesia/e3f702b9-64b4-40c2-96c3-ef6cf856e129/VirtualBox-4.3.32/out/linux.x86/release/bin$
sudo ./VirtualBox
[sudo] password for amnesia:
VirtualBox: supR3HardenedVerifyDir: Failed to open "/opt/VirtualBox":
No such file or directory (2)

# non-hardened, no sudo:
Dialog Box: Kernel driver not accessible

Failed to open a session for the virtual machine asdf.

The virtual machine 'asdf' has terminated unexpectedly during startup
with exit code 1 (0x1).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Machine
Interface: IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048}

# non-hardened, sudo:
starts up


tl;dr: only works with hardening disabled, as root.

On Thu, Jan 21, 2016 at 5:29 PM, Alexey Eromenko <al4321 at gmail.com> wrote:
> find /vbox-src/ grep VirtualBox
> $ cd [PATH]
> $ ./VirtualBox
>
> On Fri, Jan 22, 2016 at 1:21 AM, Austin English <austinenglish at gmail.com>
> wrote:
>>
>> How can Virtualbox be started from compile directory? There were a few
>> errors, so I'm not sure that it's usable.
>>
>> On Thu, Jan 21, 2016 at 5:19 PM, Alexey Eromenko <al4321 at gmail.com> wrote:
>> > VBox compiled, and even test units ran fine.
>> >
>> > But I see a linker error in last stage:
>> > kBuild: Linking VMMR0
>> > ...
>> > kmk: Target `all' not remade because of errors.
>> >
>> > But no idea what is this error.
>> > Check if kernel module compiled and works.
>> > Try to load it
>>
>>
>>
>> --
>> -Austin
>
>
>
>
> --
> -Alexey Eromenko "Technologov"



-- 
-Austin



More information about the vbox-dev mailing list