LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-22-2010, 04:39 PM   #1
FrankRhoades
LQ Newbie
 
Registered: Dec 2009
Posts: 12

Rep: Reputation: Disabled
Getting Virtual Box to run XP problem with the /etc/init.d/vboxdrv setup


I installed virtual box and was able to set up the vm, but when I try to run it I get this message:

WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (2.6.30.10-105.fc11.i686.PAE) or it failed to load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.

I do the command and I get this:

[root@FrankLaptop Frank]# sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@FrankLaptop Frank]# /var/log/vbox-install.log
bash: /var/log/vbox-install.log: Permission denied

I don't know what to do from this point can you please help?
 
Old 01-22-2010, 05:25 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Look at /var/log/vbox-install.log, don't try to run it.

(Open it in your favorite editor or use 'less /var/log/vbox-install.log'). Find and fix the error.
 
1 members found this post helpful.
Old 01-22-2010, 06:53 PM   #3
parnote
PCLOS Magazine Chief Editor
 
Registered: Jan 2010
Location: Independence, MO, U.S.A.
Distribution: PCLinuxOS
Posts: 16

Rep: Reputation: 8
FrankRhoades,

Try opening the log file as root. That should alleviate the permission problem.

parnote
 
Old 01-23-2010, 09:32 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
He is root. He tried to run the file, but it's not executable.
 
Old 01-23-2010, 01:54 PM   #5
FrankRhoades
LQ Newbie
 
Registered: Dec 2009
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks for the help. The error was:

Error! Bad return status for module build on kernel: 2.6.30.10-105.fc11.i686.PAE (i686)
Consult the make.log in the build directory
/var/lib/dkms/vboxdrv/3.1.2/build/ for more information.

DO YOU HAVE gcc INSTALLED???

this is what the make.log looks like:

DKMS make.log for vboxdrv-3.1.2 for kernel 2.6.30.10-105.fc11.i686.PAE (i686)
Sat Jan 23 11:53:31 MST 2010
/usr/src/kernels/2.6.30.10-105.fc11.i686.PAE/scripts/gcc-version.sh: line 25: gcc: command not found
/usr/src/kernels/2.6.30.10-105.fc11.i686.PAE/scripts/gcc-version.sh: line 26: gcc: command not found
make: gcc: Command not found
make: Entering directory `/usr/src/kernels/2.6.30.10-105.fc11.i686.PAE'
LD /var/lib/dkms/vboxdrv/3.1.2/build/built-in.o
CC [M] /var/lib/dkms/vboxdrv/3.1.2/build/linux/SUPDrv-linux.o
/bin/sh: gcc: command not found
make[1]: *** [/var/lib/dkms/vboxdrv/3.1.2/build/linux/SUPDrv-linux.o] Error 127
make: *** [_module_/var/lib/dkms/vboxdrv/3.1.2/build] Error 2
make: Leaving directory `/usr/src/kernels/2.6.30.10-105.fc11.i686.PAE'
make.log (END)

I am not trying to be a loser, but I don't know what to do from here. I downloaded the source code, but I don't really know what to look for.
 
Old 01-23-2010, 02:52 PM   #6
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
yum groupinstall "Development Tools"
 
Old 01-23-2010, 03:59 PM   #7
nardone
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
Look at /var/log/vbox-install.log, don't try to run it.

(Open it in your favorite editor or use 'less /var/log/vbox-install.log'). Find and fix the error.
This is the command I used to fix my problem.

sudo /etc/init.d/vboxdrv setup


hope it works.
 
Old 01-23-2010, 04:18 PM   #8
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Quote:
Originally Posted by nardone View Post
This is the command I used to fix my problem.

sudo /etc/init.d/vboxdrv setup


hope it works.
it didn't, see OP
 
Old 01-23-2010, 09:21 PM   #9
nardone
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
it didn't, see OP
try this, i am just trying to help

•sudo apt-get update
then
•apt-get upgrade
This will make sure that you have all of the newest files.
then do the
•sudo apt-get install linux-headers-$(uname -r)

hope this helps
 
Old 01-24-2010, 03:06 AM   #10
FrankRhoades
LQ Newbie
 
Registered: Dec 2009
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks AlucardZero! yum groupinstall "Development Tools" did it. Now all that's left is to find a free way to upgrade xp home to xp pro. good luck with that right? Thanks again.
 
Old 01-24-2010, 12:06 PM   #11
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Quote:
Originally Posted by nardone View Post
•sudo apt-get update
then
•apt-get upgrade
This will make sure that you have all of the newest files.
then do the
•sudo apt-get install linux-headers-$(uname -r)

hope this helps
He's running Fedora which does not use apt. Please don't give completely wrong answers.

Quote:
Originally Posted by FrankRhoades View Post
Thanks AlucardZero! yum groupinstall "Development Tools" did it. Now all that's left is to find a free way to upgrade xp home to xp pro. good luck with that right? Thanks again.
You're welcome . If you'd like, please click the Thanks button on my post for a more 'official' thanking.
 
  


Reply



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
Want to run Virtual Box in Ubuntu with Win98 as guest OS Won't install donrc Linux - General 16 12-13-2009 08:26 AM
BLFS in a Virtual Box guest... trying to get Xorg7.2 to run fdt93 Linux From Scratch 2 08-29-2009 08:25 PM
Barebones OS to run Virtual Box Atrsu Linux - Desktop 2 04-01-2009 05:04 AM
How to run virtual box and netbeans adred Linux - Newbie 3 07-11-2008 09:16 PM
Virtual Box setup phantom_cyph Linux - Software 5 06-22-2007 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:36 AM.

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
Open Source Consulting | Domain Registration