LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-14-2008, 03:17 AM   #1
Abanar
LQ Newbie
 
Registered: Nov 2007
Distribution: Mandrida 2008
Posts: 8

Rep: Reputation: 0
Setting up VirtualBox on Mandriva 2008.0


Hi all,

When I run the rpm under console it shows that the package has been successfully installed. however, when I start the virtualbox I get this error below:

VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).


Result Code: 0x80004005
Component: Console
Interface: IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}



and when I run the "/etc/init.d/vboxdrv setup" I get the error below

Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]


I have been looking for how to fix that, but I have not been successful. Any recommendation will be very appreciated. Thanks
 
Old 03-14-2008, 07:09 AM   #2
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
you need a dependency liblua5.0...this can be a mdv rpm.

I use a vanilla kernel and my pathway to module is
/lib/modules/2.6.24.2vanilla4/misc....check yours has similar pathway

vboxdrv.ko
 
Old 03-14-2008, 12:46 PM   #3
Abanar
LQ Newbie
 
Registered: Nov 2007
Distribution: Mandrida 2008
Posts: 8

Original Poster
Rep: Reputation: 0
I have found different ones under different folder almost all of those below have .../misc/vboxdrv.ko . Sorry but I dont now what do with, or if you can be more specific please. Thanks in advance. By the way, I have the liblua5.1 installed !!

2.6.22.12-desktop-1mdv/ 2.6.22.9-desktop586-2mdv/
2.6.22.12-desktop586-1mdv/ 2.6.22.9-laptop-1mdv/
2.6.22.12-server-1mdv/ 2.6.22.9-server-1mdv/
2.6.22.18-laptop-1mdv/ 2.6.22.9-server-2mdv/
2.6.22.9-desktop-1mdv/ 2.6.23-0.rc8.rt1.2mdv/
2.6.22.9-desktop-2mdv/ 2.6.23-0.rc8.rt1.2mdvsmp/
2.6.22.9-desktop586-1mdv/
 
Old 03-14-2008, 08:36 PM   #4
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
you list more than one kernel....you need to boot a kernel that has the module.....add entries to your grub if they are missing pls

Then assuming you have booted a kernel that has a modulue, go into mdv control center with root passwd and go to
system/manage system services/

do you have any vbox there I have vboxdrv and vboxnet.

from here....you can stop the vboxdrv and start it.

if start is a fail.....you are incomplete....pls report but if start is a success ....open a shell

su
lsmod | grep "vboxdrv".......or just lsmod....and search for vboxdrv

if found and only if found.....next command

VirtualBox should start it

Note its upper and lower case V B

pls report each stage result
start service
lsmod
VirtualBox

Last edited by aus9; 03-14-2008 at 08:38 PM.
 
Old 03-14-2008, 08:41 PM   #5
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
oh leaping ahead....if module is loaded but VirtualBox command fails....before you report....run extra command

/etc/init.d/vboxdrv setup

then retry VB command
 
Old 03-14-2008, 08:49 PM   #6
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Rep: Reputation: 47
Did you add yourself to the vboxuser group?
 
Old 03-15-2008, 01:25 AM   #7
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
good point phantom but I forgot to mention I use root.
 
Old 03-15-2008, 04:39 AM   #8
Abanar
LQ Newbie
 
Registered: Nov 2007
Distribution: Mandrida 2008
Posts: 8

Original Poster
Rep: Reputation: 0
aus9, Still the same problem, but I will report if it works.
Thanks phantom_cyph, but it the users is added by default to vbox group.
If you guys think of anything else I can do I will appreciate it a lot. Thank you
 
Old 03-15-2008, 05:06 AM   #9
Abanar
LQ Newbie
 
Registered: Nov 2007
Distribution: Mandrida 2008
Posts: 8

Original Poster
Rep: Reputation: 0
By the way, my kernel is "2.6.22.18-desktop-1mdv" that s the result of "uname -r".
Note: I am on a laptop not a desktop and the kernel version says desktop on it, is that a normal thing ?
 
Old 03-15-2008, 08:40 AM   #10
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
no you check if /lib/modules has a laptop goup and /boot/vmlinuz-laptop and change grub to add an entry for it....and boot it.

I do not have a laptop...but the kernel will be tweaked for some laptop stuff and for power management.

also in post 4 I asked you to report what were your error or successed for each stage pls
 
Old 03-25-2008, 07:02 PM   #11
Abanar
LQ Newbie
 
Registered: Nov 2007
Distribution: Mandrida 2008
Posts: 8

Original Poster
Rep: Reputation: 0
aus9 and all, just want to say thank you for your help. The problem was a kernel error somewhere I have to recompile or update it, then I will give it a try again. Thank you.
aus9, the report you were asking to post. I actually dont have any because it was just the errors that I was getting ...
Thanks again,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva 2008 boot stalls on "setting hostname localhost:" on HPdv9700t cmack43 Linux - Laptop and Netbook 0 02-24-2008 08:00 PM
LXer: DistroWatch Weekly: First Look at Mandriva Flash 2008, Gentoo Linux 2008.0 sche LXer Syndicated Linux News 0 01-28-2008 06:30 AM
setting up printer HP Deskjet 932c via cups wizard in Mandriva 2008 mbvpixies78 Linux - Newbie 3 11-29-2007 08:21 AM
LXer: The Perfect Desktop - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-16-2007 08:20 PM
LXer: The Perfect Server - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-11-2007 10:41 PM


All times are GMT -5. The time now is 04:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration