Page 1 of 1
vboxdrv (rc=-1908) error
Posted: 22. Jun 2012, 20:15
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
Re: vboxdrv (rc=-1908) error
Posted: 22. Jun 2012, 20:18
by Perryg
Post the /var/log/vbox-install.log (as an attachment)
Re: vboxdrv (rc=-1908) error
Posted: 22. Jun 2012, 20:22
by Perryg
Re: vboxdrv (rc=-1908) error
Posted: 25. Jun 2012, 16:01
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
Re: vboxdrv (rc=-1908) error
Posted: 25. Jun 2012, 16:14
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
Re: vboxdrv (rc=-1908) error
Posted: 27. Jun 2012, 15:32
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.
Re: vboxdrv (rc=-1908) error
Posted: 27. Jun 2012, 15:38
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.
Re: vboxdrv (rc=-1908) error
Posted: 3. Jul 2012, 20:01
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
Re: vboxdrv (rc=-1908) error
Posted: 3. Jul 2012, 20:06
by Perryg
Did you add the public rpm repository?
http://public-yum.oracle.com/
Re: vboxdrv (rc=-1908) error
Posted: 5. Jul 2012, 22:56
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
Re: vboxdrv (rc=-1908) error
Posted: 5. Jul 2012, 23:21
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
Re: vboxdrv (rc=-1908) error
Posted: 24. Jul 2012, 17:25
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.