Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to boot up from Arch Linux box image #8

Closed
seekshiva opened this issue Aug 20, 2014 · 9 comments
Closed

Unable to boot up from Arch Linux box image #8

seekshiva opened this issue Aug 20, 2014 · 9 comments

Comments

@seekshiva
Copy link

When I did vagrant up on the archlinux box, I got the following error:

==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.

If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.

Manually starting the powered off instance from VirtualBox gives me the following error:

Failed to open session for the virtual machine arch_default_xxx

Implementation of the USB 2.0 controller not found!
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 (VERR_NOT_FOUND).

Is the USB 2.0 controller required by default to run this VM? Or is there something wrong with my config?

Cheers!

@mattyjones
Copy link

I had to enable the USB controller and then it worked fine for me, no issues

@terrywang
Copy link
Owner

@seekshiva Thank you for reporting the issue.

Root cause: In VirtualBox the Pointing Device of the VM was set to "USB Tablet" which relies on USB Controller and USB 2.0 (EHCI) Controller. Unchecking them will NOT work as it will be considered invalid settings detected and roll back to previous settings on saving.

USB controllers need to be disabled as a general rule when making Vagrant base boxes. My negligence.

A new build will be made available soon to address this issue.

@mattyjones Thanks for the quick update.

@seekshiva
Copy link
Author

@mattyjones Thanks! That worked for me

@terrywang Thanks for explaining the cause. I look forward to the revised build with the fix.
I don't mind installing the extension pack, but it would be an overhead while getting people on-boarded to my project. Its great to know that the extension pack requirement was only a mistake.

Thanks for the prompt reply! 👍

@seekshiva
Copy link
Author

Thanks @terrywang !

@hallatech
Copy link

Hi Terry,

Just following the instructions to startup ol6: https://github.com/terrywang/vagrantboxes/blob/master/oraclelinux-6-x86_64.md

On vagrant up I got the same issue as above. Had to shutdown and disable USB controller from VB menu, before vagrant up worked successfully. Does this box need a fix too?

Thanks
:)

@terrywang
Copy link
Owner

@hallatech Thanks for reporting.

The issue should have been fixed in the last refresh of all Oracle Linux base boxes. Try to download the updated box and see if the issue persists. If so, update here again and I'll look into it.

@hallatech
Copy link

@terrywang Tried again to remove and re-add the box, init and bring up and its the same. I'm using latest versions of Vagrant and VBox. Thanks

@terrywang
Copy link
Owner

@hallatech Verified, I'll push a refreshed build shortly for all affected base boxes ;-D

terrywang added a commit that referenced this issue Oct 8, 2014
terrywang added a commit that referenced this issue Oct 8, 2014
terrywang added a commit that referenced this issue Oct 9, 2014
@hallatech
Copy link

Awesome thank you!
:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants