virtualbox NS_ERROR_FAILURE (0x80004005)

Questions about virtualization software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jonas-e

virtualbox NS_ERROR_FAILURE (0x80004005)

Post by jonas-e »

I am having trouble with virtualbox on my brand new asus laptop running LM17.3 Cinnamon 64 bit. I created a new machine, set boot device to optical drive, point the optical drive to a freshly downloaded iso image of Ubuntu 14.04 LTS 64 bit Desktop. When I start the new virtualbox, I get the error below. I have enabled visualisation from my boot / bios menu.

Any suggestions?

Code: Select all

Failed to open a session for the virtual machine vb01.

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

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {f30138d4-e5ea-4b3a-8858-a059de4c93fd}
My host specs:

Code: Select all

$ inxi -Fx
System:    Host: jonas-X555LAB Kernel: 3.19.0-32-generic x86_64 (64 bit gcc: 4.8.2)
           Desktop: Cinnamon 2.8.8 (Gtk 3.10.8~8+qiana) Distro: Linux Mint 17.3 Rosa
Machine:   Mobo: ASUSTeK model: X555LAB v: 1.0 Bios: American Megatrends v: X555LAB.503 date: 08/04/2015
CPU:       Dual core Intel Core i3-4005U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 6790
           clock speeds: max: 1700 MHz 1: 1700 MHz 2: 1700 MHz 3: 1700 MHz 4: 1700 MHz
Graphics:  Card: Intel Haswell-ULT Integrated Graphics Controller bus-ID: 00:02.0
           Display Server: X.Org 1.17.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1366x768@60.0hz
           GLX Renderer: Mesa DRI Intel Haswell Mobile GLX Version: 3.0 Mesa 10.5.9 Direct Rendering: Yes
Audio:     Card-1 Intel 8 Series HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Intel Haswell-ULT HD Audio Controller driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k3.19.0-32-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 02:00.0
           IF: eth0 state: down mac: 2c:56:dc:22:f0:b6
           Card-2: Qualcomm Atheros AR9485 Wireless Network Adapter driver: ath9k bus-ID: 03:00.0
           IF: wlan0 state: up mac: 30:52:cb:da:a7:ca
Drives:    HDD Total Size: 128.0GB (15.6% used) ID-1: /dev/sda model: SAMSUNG_MZ7LF128 size: 128.0GB
Partition: ID-1: / size: 83G used: 19G (24%) fs: ext4 dev: /dev/sda5
           ID-2: swap-1 size: 0.40GB used: 0.39GB (97%) fs: swap dev: /dev/sda6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 40.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 192 Uptime: 4:11 Memory: 1764.8/3858.5MB Init: Upstart runlevel: 2 Gcc sys: 4.8.4
           Client: Shell (bash 4.3.111) inxi: 2.2.28
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: virtualbox NS_ERROR_FAILURE (0x80004005)

Post by Cosmo. »

Did you select on the first page of the assistant to create a new VM the proper OS, especially to create a VM for a 64 bit guest?
How much RAM did you associate to the VM, you much graphic memory?
jonas-e

Re: virtualbox NS_ERROR_FAILURE (0x80004005)

Post by jonas-e »

Thanks for your comment. 64 bit is set, yes.
Here's a few screenshots of the settings. I didn't change the memory settings from default.
Last edited by jonas-e on Sun Apr 17, 2016 5:16 am, edited 1 time in total.
jonas-e

Re: virtualbox NS_ERROR_FAILURE (0x80004005)

Post by jonas-e »

One more screenshot. Apparently, three attachments is the limit.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: virtualbox NS_ERROR_FAILURE (0x80004005)

Post by Cosmo. »

jonas-e wrote:I didn't change the memory settings from default.
This doesn't seem so. The default value would be 512 MB, but this as also your 768 MB are too low. As your host has 4 GB RAM, set the value to 1 to 1.5 GB.

Unluckily the third screenshot tells us something about the ISO-image (which is rather uninteresting), but not about the size of the virtual hard disk vb01. Set it to 10 GB, if you have set it to less; also here the suggestion of VB is too low.

BTW (also this should not matter): Why did you change the setting for the pointing device? Default would be usb-tablet.

Which is the version of VB? Did you install the extension pack? Does the version of the extension pack match exactly(!) with the version of VB?
jonas-e

Re: virtualbox NS_ERROR_FAILURE (0x80004005)

Post by jonas-e »

Thanks for your suggestions. The version appears to be 5.0.4 LM r102546. I didn't install any extension (I was not aware that they exist, now I am), the extension listed must've come with the default installation. I changed the RAM to 1.5GB, I created a new identical vb with 10GB fixed size HD iso the variable size of vb01. I get the same error message.

I also changed the pointer device back to USB/tablet. Thought it sounded a bit strange with "tablet" when this machine is not a tablet computer.
jonas-e

Re: virtualbox NS_ERROR_FAILURE (0x80004005)

Post by jonas-e »

New info, see below:

Code: Select all

$ service virtualbox status 
VirtualBox kernel module is not loaded.

$ sudo service virtualbox restart 
 * Stopping VirtualBox kernel modules              [ OK ] 
 * Starting VirtualBox kernel modules               * No suitable module for running kernel found  [fail]
Any suggestions what to do about that?
jonas-e

Re: virtualbox NS_ERROR_FAILURE (0x80004005)

Post by jonas-e »

This video https://www.youtube.com/watch?v=RPm3j7ZLqJM suggests that I run the command

Code: Select all

$ sudo /etc/init.d/virtualbox/vboxdrv setup
But there is no such directory and the /etc/init.d/virtualbox has no "setup" option.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: virtualbox NS_ERROR_FAILURE (0x80004005)

Post by Cosmo. »

VB 5.0.4 is outdated and very buggy. Uninstall it and reboot the host, than go to Oracle and download the current version; pick the one for Ubuntu 14.04. Install it. Remove the old extension. Than try again.

BTW: You didn't say, if you tried to give the VM a greater amount of RAM.
jonas-e

Re: virtualbox NS_ERROR_FAILURE (0x80004005)

Post by jonas-e »

Thanks, will try that. My working version of vb on another machine LM17.1Mate64bit is an older version 3 or 4.
jonas-e

Re: virtualbox NS_ERROR_FAILURE (0x80004005)

Post by jonas-e »

Thanks, looks like it's working, see image .. :D
jonas-e

Re: virtualbox NS_ERROR_FAILURE (0x80004005)

Post by jonas-e »

Now that it works, I have the following two issues:
1. The display setting is too small and I can't access the UI functionality to change it, see attached screenshot.
2. Despite bidirectional clipboard sharing is enabled, I can't paste text from host to guest, nor from guest to host.
Any suggestions on how to fix this?

When I type

Code: Select all

$ sudo xrandr -s 800x600
$ sudo xrandr
I am told that no other resolution than 640x480 is accepted ..?
Last edited by jonas-e on Sat Apr 23, 2016 3:31 pm, edited 1 time in total.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: virtualbox NS_ERROR_FAILURE (0x80004005)

Post by Cosmo. »

Obviously you do not have the guest additions installed.
Run the VM, open the device menu and select the guest additions. Accept to execute it and reboot the VM, if the installation has finished.
jonas-e

Re: virtualbox NS_ERROR_FAILURE (0x80004005)

Post by jonas-e »

Thanks a lot mate, now I can change display size to something humanly possible to work with .. :D
So, I guess I have to install those "guest additions" each time I create a new vm ..?
If so, that's a bit unexpected functionality I'd say ..
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: virtualbox NS_ERROR_FAILURE (0x80004005)

Post by Cosmo. »

When you install Mint on a new computer (hardware) and you need to install a driver (e.g. graphics), you also have to install it on every computer. IMO this is something quite usual and expected. The guest additions have several functions, one of them acting as a driver collection.

BTW: If you update VB, you also have to update the guest additions inside der VMs.
jonas-e

Re: virtualbox NS_ERROR_FAILURE (0x80004005)

Post by jonas-e »

OK, thanks for elaborating!
Locked

Return to “Virtual Machines”