vboxdrv (rc=-1908) error

Discussions about using Windows guests in VirtualBox.
Post Reply
devdevk
Posts: 10
Joined: 20. Jun 2012, 21:37

vboxdrv (rc=-1908) error

Post by devdevk »

I am new to virtual box. I it installed onto RHEL 5.4.
I have been able to run and create VM's (all windows) and when i attempt to start the vm to install OS i get the following error:

"Kernel driver not installed (rc=-1908)
The Virtual Box Linux Driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv"

I have run the vboxdrv setup and do not see an option to load driver.

I am a novice with Linux as well and any help would be welcome.

Thank you
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vboxdrv (rc=-1908) error

Post by Perryg »

Post the /var/log/vbox-install.log (as an attachment)
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vboxdrv (rc=-1908) error

Post by Perryg »

Also post the results of

Code: Select all

# ls-al /dev/vboxdrv
devdevk
Posts: 10
Joined: 20. Jun 2012, 21:37

Re: vboxdrv (rc=-1908) error

Post by devdevk »

Good Day Perryg,

I have attempted to view the bvox-install.log file and go the following response:

"Makefile:172: ***Error: unable to find the sources of your current Linux Kernel.
Specifiy KERN_DIR=<directory> and run Make again. Stop."

I also ran the command "ls-al /dev/vboxdrv and get the response: "bash: ls-al: command not found"


thank you
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vboxdrv (rc=-1908) error

Post by Perryg »

"Makefile:172: ***Error: unable to find the sources of your current Linux Kernel.
Specifiy KERN_DIR=<directory> and run Make again. Stop."
This means that you are missing dependencies that are needed to be able to build the VirtualBox kernel modules.

64-bit

Code: Select all

yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
32-bit

Code: Select all

yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-pae-devel
devdevk
Posts: 10
Joined: 20. Jun 2012, 21:37

Re: vboxdrv (rc=-1908) error

Post by devdevk »

Thanks Perryg,

Tried to use the command on a non registered box. How can i get this accomplished with registering with RH?

Thanks again.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vboxdrv (rc=-1908) error

Post by Perryg »

devdevk wrote:Thanks Perryg,
Tried to use the command on a non registered box. How can i get this accomplished with registering with RH?
Thanks again.
Not sure what you need to do to be able to get the packages from the repository of RedHat, you would need to ask them.
devdevk
Posts: 10
Joined: 20. Jun 2012, 21:37

Re: vboxdrv (rc=-1908) error

Post by devdevk »

I am now running Oracle Enterprise OS and am coming up with the following error when run the 64 bit "yum install ......"

"Loaded plugins: security
No package dkms available
No package gcc available
No package libgomp available
No package blibc-devel available
No package kernel-devel available
Nothing to do"

I hope someone can help with this issue.

Thank you
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vboxdrv (rc=-1908) error

Post by Perryg »

Did you add the public rpm repository?
http://public-yum.oracle.com/
devdevk
Posts: 10
Joined: 20. Jun 2012, 21:37

Re: vboxdrv (rc=-1908) error

Post by devdevk »

I have fully updated by adding the public repository and downloaded the latest Oracle updates for the OS when prompted to.

When i attempt to run a vm to install the os i get the error " kernel driver not isntalled )rc=1908)

I run the suggested command and "/etc/init.d/vboxdrv setup" and get the FAILED response:

Trying to register the VirtualBox kernel modules using DKMS [FAILED]
(Failed, trying without DKMS)

Does anyone know what DKMS is for and how to get it installed?

Thank you
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vboxdrv (rc=-1908) error

Post by Perryg »

Install VirtualBox again and that should prompt to install the dependencies.
dkms is mailnly used to keep the headers and kernel in sync.
It is not a gotta have just makes you life easier when the kernel updates. rpm usually does not have it available these days but you can always install it manually from the source http://linux.dell.com/dkms/

These are the usual dependencies and can be installed by running the appropriate line in a terminal as su/sudo

64-bit

Code: Select all

yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
32-bit

Code: Select all

yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-pae-devel
devdevk
Posts: 10
Joined: 20. Jun 2012, 21:37

Re: vboxdrv (rc=-1908) error

Post by devdevk »

I was able to update using the Oracle public repository.

I also found out that the DKMS package is specific to Dell and is used for Dell Linux driver update and was able to get it from Dell.

I am not able to run all VM in Virtual box without any issue.

Thank you for all the input.
Post Reply