usb 2 error setting up VM

Discussions about all things Bitcraze
Post Reply
artistofcannae
Beginner
Posts: 24
Joined: Thu Nov 07, 2019 12:03 am

usb 2 error setting up VM

Post by artistofcannae »

Hi,

I'm current try to set up the crazyflie VM in virtual box and I am getting this error:


edwin@edwin:~/Desktop/bitcraze-vm-2018.12-RC1$ ./createBitcrazeVM.sh
not found. Starting download...
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
Packer already installed. Continuing...
contentForVM/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2 found. Continuing...
contentForVM/eclipse-cpp-2018-09-linux-gtk-x86_64.tar.gz found. Continuing...
contentForVM/ilg.gnuarmeclipse.repository-2.12.1-201604190915.zip found. Continuing...
contentForVM/gnuarmeclipse-openocd-debian32-0.9.0-201505190955.tgz found. Continuing...
~/Desktop/bitcraze-vm-2018.12-RC1 ~/Desktop/bitcraze-vm-2018.12-RC1
Compressing eclipse-project-files.tar.gz
~/Desktop/bitcraze-vm-2018.12-RC1
Running packer...
OVA file not found. Starting VM creation...
virtualbox-iso output will be in this color.

==> virtualbox-iso: Downloading or copying ISO
virtualbox-iso: Downloading or copying: http://archive.ubuntu.com/ubuntu/dists/ ... t/mini.iso
==> virtualbox-iso: Starting HTTP server on port 8844
==> virtualbox-iso: Creating virtual machine...
==> virtualbox-iso: Creating hard drive...
==> virtualbox-iso: Creating forwarded port mapping for SSH (host port 3311)
==> virtualbox-iso: Executing custom VBoxManage commands...
virtualbox-iso: Executing: modifyvm BitcrazeVM --memory 1024 --vram 16 --mouse usbtablet --rtcuseutc on --audio pulse --audiocodec ad1980 --usb on --usbehci on --nestedpaging off
virtualbox-iso: Executing: storageattach BitcrazeVM --storagectl SATA Controller --port 0 --nonrotational on --discard on
==> virtualbox-iso: Starting the virtual machine...
==> virtualbox-iso: Error starting VM: VBoxManage error: VBoxManage: error: Implementation of the USB 2.0 controller not found!
==> virtualbox-iso: VBoxManage: error: Because the USB 2.0 controller state is part of the saved VM state, the VM cannot be started. To fix this problem, either install the 'Oracle VM VirtualBox Extension Pack' or disable USB 2.0 support in the VM settings.
==> virtualbox-iso: VBoxManage: error: Note! This error could also mean that an incompatible version of the 'Oracle VM VirtualBox Extension Pack' is installed (VERR_NOT_FOUND)
==> virtualbox-iso: VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
==> virtualbox-iso: Unregistering and deleting virtual machine...
==> virtualbox-iso: Deleting output directory...
Build 'virtualbox-iso' errored: Error starting VM: VBoxManage error: VBoxManage: error: Implementation of the USB 2.0 controller not found!
VBoxManage: error: Because the USB 2.0 controller state is part of the saved VM state, the VM cannot be started. To fix this problem, either install the 'Oracle VM VirtualBox Extension Pack' or disable USB 2.0 support in the VM settings.
VBoxManage: error: Note! This error could also mean that an incompatible version of the 'Oracle VM VirtualBox Extension Pack' is installed (VERR_NOT_FOUND)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: Error starting VM: VBoxManage error: VBoxManage: error: Implementation of the USB 2.0 controller not found!
VBoxManage: error: Because the USB 2.0 controller state is part of the saved VM state, the VM cannot be started. To fix this problem, either install the 'Oracle VM VirtualBox Extension Pack' or disable USB 2.0 support in the VM settings.
VBoxManage: error: Note! This error could also mean that an incompatible version of the 'Oracle VM VirtualBox Extension Pack' is installed (VERR_NOT_FOUND)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

==> Builds finished but no artifacts were created.
Starting VM provisioning...
virtualbox-ovf output will be in this color.

1 error(s) occurred:

* source_path is invalid: stat output-virtualbox-iso/BitcrazeVM.ova: no such file or directory




What should I do? Any help would be greatly appreciated.

artistofcannae
Beginner
Posts: 24
Joined: Thu Nov 07, 2019 12:03 am

Re: usb 2 error setting up VM

Post by artistofcannae »

I forgot to specify this error occures when I try to run the .sh file to set up the VM.

From what I understand that is the right process in setting up the VM?

artistofcannae
Beginner
Posts: 24
Joined: Thu Nov 07, 2019 12:03 am

Re: usb 2 error setting up VM

Post by artistofcannae »

issue resolved.

wrong version of VirtualBox downloaded.

arnaud
Bitcraze
Posts: 2275
Joined: Tue Feb 06, 2007 12:36 pm

Re: usb 2 error setting up VM

Post by arnaud »

Good that you managed to fix the problem!

One note: this script is used to author the VM, not to use it. It is used when making a new version of the VM.

If you only want to use the VM you can download it from the release page: https://github.com/bitcraze/bitcraze-vm/releases/. The script you are running is going to generate this file but it will take some time (about an hour).

Post Reply