Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] VirtualBox fails to instantiate a VM
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1433
Location: Adelaide/Australia

PostPosted: Tue Jan 12, 2021 6:33 am    Post subject: [Solved] VirtualBox fails to instantiate a VM Reply with quote

Everywhere I look, it's all about DLL security and hardening, yet my virtualbox fails to instantiate VM's that previously worked (win10, win7, Gentoo).
It won't even instantiate a new VM (to be Gentoo :) )
Before I realised that VirtualBox was failing for the the existing, previously working VMs, I tried
* lowering system and video memory
* different chipsets
* disabling sound and network
* disabling nested paging
* unloading and re-loading the kernel net filter and net adapter modules
* You name it, I tried swapping/disabling it

I have yet to try re-booting the host Gentoo, as it is currently doing an update and that won't finish for quite some time as I noticed Firefox, Thunderbird and Chromium are rebuilding, amongst the 140+ other builds...

The VirtualBox result is
Code:
Failed to open a session for the virtual machine Gentoo (Clang).

The virtual machine 'Gentoo (Clang)' has terminated unexpectedly during startup because of signal 6.

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}


VirtualBox Graphical User Interface Version 6.1.16_Gentoo r140961
© 2004-2020 Oracle Corporation (Qt5.15.1)
_________________
...Lyall


Last edited by lyallp on Tue Jan 12, 2021 10:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 47004
Location: 56N 3W

PostPosted: Tue Jan 12, 2021 12:05 pm    Post subject: Reply with quote

lyallp,

NS_ERROR_FAILURE

NS is Name Space. Are you missing some/all of namespace support in the hosts kernel?

Code:
  │ │    --- Namespaces support                                                 │ │ 
  │ │    [*]   UTS namespace                                                    │ │ 
  │ │    [*]   TIME namespace                                                   │ │ 
  │ │    [*]   IPC namespace                                                    │ │ 
  │ │    [ ]   User namespace                                                   │ │ 
  │ │    [*]   PID Namespaces                                                   │ │ 
  │ │    [*]   Network namespace                                                │ │ 

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1433
Location: Adelaide/Australia

PostPosted: Tue Jan 12, 2021 12:09 pm    Post subject: Reply with quote

Code:
.config - Linux/x86 5.4.80-gentoo-r1 Kernel Configuration
│ │                                        --- Namespaces support                                                                                        │ │ 
  │ │                                        -*-   UTS namespace                                                                                           │ │ 
  │ │                                        -*-   IPC namespace                                                                                           │ │ 
  │ │                                        [*]   User namespace                                                                                          │ │ 
  │ │                                        -*-   PID Namespaces                                                                                          │ │ 
  │ │                                        -*-   Network namespace                                                                                       │ │ 


I have used VirtualBox previously, after the last time I built the kernel (28-Nov-2020).
Not long to reboot, only openoffice and chromium compiling still :)
_________________
...Lyall
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1433
Location: Adelaide/Australia

PostPosted: Tue Jan 12, 2021 10:03 pm    Post subject: Reply with quote

Rebooting did the trick.
VM's start now.
Bit annoyed that rebooting, whilst it fixes the problem, does not inform me as to the root cause.
_________________
...Lyall
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1201
Location: EU or US

PostPosted: Tue Jan 12, 2021 10:12 pm    Post subject: Reply with quote

You are doing it the hard way, although it may be easier than the easy way. :P
Normal *NIX way is to reload whatever needed to be reloaded after upgrade. In this case, VirtualBox kernel modules. I do it all the time with nvidia drivers, when there is upgrade then CUDA stops working and I have to reload nvidia kernel modules to make it work again. Of course, I could reboot ... :roll: DOS users do it ...
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1433
Location: Adelaide/Australia

PostPosted: Wed Jan 13, 2021 6:10 am    Post subject: Reply with quote

I have no idea what caused VirtualBox to fail to start any VM given VirtualBox had been working only the week before - I don't reboot often, being a Linux user, I have no need.

I tried unloading virtualbox related modules and re-loading. I will admit, I did not reload nVidia modules as I saw no need.

Next time...

It was quicker to re-boot than to try Re-installing VirtualBox only to have that to fail too.
_________________
...Lyall
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum