LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 09-06-2014, 10:19 AM   #1
dictatorofmyownworld
LQ Newbie
 
Registered: Jul 2013
Posts: 11

Rep: Reputation: Disabled
DKMS Error, I am unable to rebuild the kernel, VirturaBox 4.3.14


I can open VirtualBox but when I start a virtual machine I get, "Kernel driver not installed (rc=-1908)"... The error tells me to run '/etc/init.d/vboxdrv setup'
When I do I get:
Code:
linux-gsly:/home/eric # /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules                                                                                                                                                                      done
Uninstalling old VirtualBox DKMS kernel modules                                                                                                                                                         done
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 3.16.1-8.g2ab6585-pae (i686)
Consult /var/lib/dkms/vboxhost/4.3.14/build/make.log for more information.
                                                                                                                                                                                                        failed
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules                                                                                                                                                                   failed
  (Look at /var/log/vbox-install.log to find out what went wrong)
When I open the make.log for more information I get:
Quote:
DKMS make.log for vboxhost-4.3.14 for kernel 3.16.1-8.g2ab6585-pae (i686)
Sat Sep 6 10:44:37 EDT 2014
make: Entering directory `/usr/src/linux-3.16.1-8.g2ab6585-obj/i386/pae'
make[1]: Entering directory `/usr/src/linux-3.16.1-8.g2ab6585-obj/i386/pae'
/usr/src/linux-3.16.1-8.g2ab6585/scripts/gcc-version.sh: line 25: gcc: command not found
/usr/src/linux-3.16.1-8.g2ab6585/scripts/gcc-version.sh: line 26: gcc: command not found
/usr/src/linux-3.16.1-8.g2ab6585/arch/x86/Makefile:121: stack-protector enabled but compiler support broken
/usr/src/linux-3.16.1-8.g2ab6585/Makefile:663: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
make[2]: gcc: Command not found
LD /var/lib/dkms/vboxhost/4.3.14/build/built-in.o
LD /var/lib/dkms/vboxhost/4.3.14/build/vboxdrv/built-in.o
CC [M] /var/lib/dkms/vboxhost/4.3.14/build/vboxdrv/linux/SUPDrv-linux.o
/bin/sh: gcc: command not found
make[4]: *** [/var/lib/dkms/vboxhost/4.3.14/build/vboxdrv/linux/SUPDrv-linux.o] Error 127
make[3]: *** [/var/lib/dkms/vboxhost/4.3.14/build/vboxdrv] Error 2
make[2]: *** [_module_/var/lib/dkms/vboxhost/4.3.14/build] Error 2
make[1]: *** [sub-make] Error 2
make: *** [__sub-make] Error 2
make: Leaving directory `/usr/src/linux-3.16.1-8.g2ab6585-obj/i386/pae'
Looking closer at the first error
Quote:
/usr/src/linux-3.16.1-8.g2ab6585/scripts/gcc-version.sh: line 25: gcc: command not found
That folder does not exist.
I'm not sure what is supposed to generate that folder and it's contents, but I seem to be missing something.
Thanks in advance for any help.
 
Old 09-06-2014, 04:42 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
What OS is host
Is gcc installed?
 
Old 09-06-2014, 05:05 PM   #3
dictatorofmyownworld
LQ Newbie
 
Registered: Jul 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
Nice. Opened YaST, searched gcc, installed gcc and it's dependencies now it works! I didn't know that gcc was something that I needed to install. Thanks again, that's 2 for 2.
 
Old 09-06-2014, 06:26 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You're welcome
Glad.I could. Be of help
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dkms kernel panic error - D-Link DWA-160B2 driver stormyk88 Linux - Kernel 1 11-09-2013 03:59 PM
Kernel Rebuild Error gumeniuc Linux - Newbie 7 08-26-2013 02:17 PM
[SOLVED] VirtualBox & The New 2.6.37.3 Kernel. (Solution: DKMS Required To Install VB Kernel Module) cwizardone Slackware 49 03-17-2011 06:42 PM
dkms-nvidia-current dkms install fails X86_64 Blackhawkckc Mandriva 5 03-21-2009 04:57 PM
rebuild kernel error granny Linux - General 2 02-26-2004 08:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 10:24 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