Can't run any vm. Virtualbox 5.1.26

Discussions related to using the OSE version of VirtualBox.
Post Reply
heroboec
Posts: 3
Joined: 8. Aug 2017, 12:59

Can't run any vm. Virtualbox 5.1.26

Post by heroboec »

Hello. I compile virtualbox 5.1.26 from sources according to the instructions (wiki/Linux build instructions). The compilation passed without errors. After that i compile kernel modules and load it. I can run virtualbox but when i start any virtual machine i have error message like this:

Code: Select all

Failed to open a session for the virtual machine MACHINENAME.
The VM session was aborted.
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: SessionMachine
Interface: ISession {7844aa05-b02e-4cdd-a04f-ade4a762e6b7}
Error log from virtual virtualbox log viewer

Code: Select all

VirtualBox VM 5.1.26 r117224 linux.amd64 (Aug  9 2017 14:23:52) release log
00:00:00.340747 Log opened 2017-08-09T11:48:40.913213000Z
00:00:00.340749 Build Type: debug
00:00:00.340760 OS Product: Linux
00:00:00.340763 OS Release: 4.10.0-28-generic
00:00:00.340765 OS Version: #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017
00:00:00.340797 DMI Product Name: To be filled by O.E.M.
00:00:00.340804 DMI Product Version: To be filled by O.E.M.
00:00:00.340860 Host RAM: 7944MB (7.7GB) total, 4181MB (4.0GB) available
00:00:00.340867 Executable: /home/heroboec/Downloads/VirtualBox-5.1.26/out/linux.amd64/debug/bin/VirtualBox
00:00:00.340867 Process ID: 7533
00:00:00.340868 Package type: LINUX_64BITS_GENERIC (OSE)
00:00:00.369432 Installed Extension Packs:
00:00:00.369453   Oracle VBoxDTrace Extension Pack (Version: 5.1.26 r117224; VRDE Module: )
00:00:00.370387 Console: Machine state changed to 'Starting'
00:00:00.370682 Qt version: 5.5.1
00:00:00.370692 X11 Window Manager code: 6
00:00:00.371593 
00:00:00.371594 !!Assertion Failed!!
00:00:00.371595 Expression: pThis->hDevice != (intptr_t)NIL_RTFILE
00:00:00.371596 Location  : /home/heroboec/Downloads/VirtualBox-5.1.26/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp(182) int suplibOsIOCtl(PSUPLIBDATA, uintptr_t, void*, size_t)
00:00:00.371639 SUPLIB not initiated successfully!
Maybe i need fix some configuration file or something like this? How can i fix this ?

os: ubuntu 16.04
kernel: 4.10.0-28-generic
gcc version 5.4.0
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can't run any vm. Virtualbox 5.1.26

Post by Perryg »

Moved to VirtualBox OSE
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can't run any vm. Virtualbox 5.1.26

Post by Perryg »

It depends on how you built this and whether or not you built with hardening disabled or not. It looks to me like the build is failing to work because of permission issues. I would need to see the exact steps and the build log to tell for sure. This can be done by tee-ing the output of the actual build and saving to a file.
heroboec
Posts: 3
Joined: 8. Aug 2017, 12:59

Re: Can't run any vm. Virtualbox 5.1.26

Post by heroboec »

There is my build sequinse.

Code: Select all

./configure --disable-docs -d --disable-hardening
source /home/heroboec/Downloads/VirtualBox-5.1.26/env.sh
kmk
cd out/linux.amd64/debug/bin/src/
make 
sudo make install
vblogs.tar.gz
(90.3 KiB) Downloaded 60 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can't run any vm. Virtualbox 5.1.26

Post by Perryg »

While I do not normally build with hardening disabled I do not see an issue that would cause the error you posted myself. You may need to ask the DEVs on the mailing list.
https://www.virtualbox.org/wiki/Community
Post Reply