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

Vbox: VBOX_KERNEL_MODULE_NOT_LOADED #4518

Closed
agupta-ionos opened this issue Jun 18, 2019 · 5 comments
Closed

Vbox: VBOX_KERNEL_MODULE_NOT_LOADED #4518

agupta-ionos opened this issue Jun 18, 2019 · 5 comments
Labels
cause/nested-vm-config When nested VM's appear to play a role co/virtualbox priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.

Comments

@agupta-ionos
Copy link

agupta-ionos commented Jun 18, 2019

The exact command to reproduce the issue: minikube start

The full output of the command that failed: *

minikube v1.1.1 on linux (amd64)
* Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
E0618 11:18:00.868581   29579 start.go:529] StartHost: create: precreate: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The vboxdrv kernel module is not loaded. Either there is no module\n         available for the current kernel (3.10.0-957.21.2.el7.x86_64) or it failed to\n         load. Please recompile the kernel module and install it by\n\n           sudo /sbin/vboxconfig\n\n         You will not be able to start VMs until this problem is fixed.\n6.0.8r130520". Please upgrade at https://www.virtualbox.org

X Unable to start VM
* Error:         [VBOX_KERNEL_MODULE_NOT_LOADED] create: precreate: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The vboxdrv kernel module is not loaded. Either there is no module\n         available for the current kernel (3.10.0-957.21.2.el7.x86_64) or it failed to\n         load. Please recompile the kernel module and install it by\n\n           sudo /sbin/vboxconfig\n\n         You will not be able to start VMs until this problem is fixed.\n6.0.8r130520". Please upgrade at https://www.virtualbox.org
* Advice:        Run 'sudo modprobe vboxdrv' and reinstall VirtualBox if it fails.
* Related issues:
  - https://github.com/kubernetes/minikube/issues/4043

* If the above advice does not help, please let us know:
  - https://github.com/kubernetes/minikube/issues/new


**The output of the `minikube logs` command**: X api load: filestore: Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.

* Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
  - https://github.com/kubernetes/minikube/issues/new

The operating system version: cent os 7

@medyagh medyagh changed the title Minikube failure Vbox: Minikube failure Jun 19, 2019
@medyagh
Copy link
Member

medyagh commented Jun 19, 2019

Thank you for taking the time to create this issue, I am curious have you tried the advise that minikube output given you ?

* Advice:        Run 'sudo modprobe vboxdrv' and reinstall VirtualBox if it fails.
* Related issues:
  - https://github.com/kubernetes/minikube/issues/4043

@medyagh medyagh added the priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. label Jun 19, 2019
@medyagh medyagh changed the title Vbox: Minikube failure Vbox: VBOX_KERNEL_MODULE_NOT_LOADED Jun 19, 2019
@afbjorklund
Copy link
Collaborator

afbjorklund commented Jun 19, 2019

Sometimes this is caused by not rebooting after installing VirtualBox

@agupta-ionos
Copy link
Author

The system I am using is from cloud itself.. so may be it is already running on a virtual environment thats why we can't avail the functionalities of VirtualBox.

@afbjorklund afbjorklund added the cause/nested-vm-config When nested VM's appear to play a role label Jun 24, 2019
@afbjorklund
Copy link
Collaborator

Yeah, probably the cloud environment does not support running VirtualBox

@tstromberg
Copy link
Contributor

Closing: we've revised the error message to be more useful now. Thank you for the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cause/nested-vm-config When nested VM's appear to play a role co/virtualbox priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Projects
None yet
Development

No branches or pull requests

4 participants