Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th May 2008, 09:27 AM
p3tzata Offline
Registered User
 
Join Date: Sep 2007
Posts: 45
FAILED to load virtual box kernel module in Fedora 9 final

Hi, I am with kernel 2.6.25.3-18.fc9.x86_64

and install VirtualBox-1.6.0_30421_fedora9-1.x86_64.rpm

and
/etc/init.d/vboxdrv setup
Code:
 
Stopping VirtualBox kernel module        [  OK  ]
 Recompiling VirtualBox kernel module [FAILED]  
 (Look at /var/log/vbox-install.log to find out what went wrong)
cat /var/log/vbox-install.log

Code:
   which: no dkms in (/sbin:/usr/sbin:/bin:/usr/bin) Makefile:127: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.
Thank you
Reply With Quote
  #2  
Old 19th May 2008, 11:22 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by p3tzata
Hi, I am with kernel 2.6.25.3-18.fc9.x86_64

and install VirtualBox-1.6.0_30421_fedora9-1.x86_64.rpm

and
/etc/init.d/vboxdrv setup
Code:
 
Stopping VirtualBox kernel module        [  OK  ]
 Recompiling VirtualBox kernel module [FAILED]  
 (Look at /var/log/vbox-install.log to find out what went wrong)
cat /var/log/vbox-install.log

Code:
   which: no dkms in (/sbin:/usr/sbin:/bin:/usr/bin) Makefile:127: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.
Thank you

Try removing vbox and reinstalling it with dkms support !


Code:
su
yum install dkms
rpm -e VirtualBox
rpm -i VirtualBox-1.6.0_30421_fedora9-1.x86_64.rpm
reboot
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #3  
Old 19th May 2008, 12:35 PM
p3tzata Offline
Registered User
 
Join Date: Sep 2007
Posts: 45
Thank you...
Reply With Quote
  #4  
Old 20th May 2008, 12:16 PM
BlacKXHat Offline
Banned
 
Join Date: May 2008
Posts: 31
Exclamation

Peace be upon those who follow the guidance ..

Dear expert to follow the path being prepared and Works Agency ..

But the problem as it is ..

Correlation between the image problem
PHP Code:
http://www.tntup.com/photo/img9/1b12cd944a4238630eb353ff7810ca62/5.jpg 

Last edited by leigh123linux; 20th May 2008 at 12:22 PM. Reason: Tried to add image tags
Reply With Quote
  #5  
Old 20th May 2008, 12:25 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by BlacKXHat
Peace be upon those who follow the guidance ..

Dear expert to follow the path being prepared and Works Agency ..

But the problem as it is ..

Correlation between the image problem
PHP Code:
http://www.tntup.com/photo/img9/1b12cd944a4238630eb353ff7810ca62/5.jpg 

Post
Code:
rpm -q dkms VirtualBox kernel-devel
and
Code:
uname -r
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #6  
Old 20th May 2008, 12:35 PM
BlacKXHat Offline
Banned
 
Join Date: May 2008
Posts: 31
Quote:
[l1nux@localhost ~]$ su
Password:
[root@localhost l1nux]# rpm -q dkms VirtualBox kernel-devel
dkms-2.0.19-1.fc9.noarch
VirtualBox-1.6.0_30421_fedora9-1.i586
kernel-devel-2.6.25.3-18.fc9.i686
[root@localhost l1nux]# uname -r
2.6.25.3-18.fc9.i686
[root@localhost l1nux]#
But the problem as it is ..
Reply With Quote
  #7  
Old 20th May 2008, 03:39 PM
BlacKXHat Offline
Banned
 
Join Date: May 2008
Posts: 31
plz how help me ..

for this problem ..

tnx for all ..
Reply With Quote
  #8  
Old 20th May 2008, 03:52 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by BlacKXHat
plz how help me ..

for this problem ..

tnx for all ..


Try this and post all the output


Code:
su -
dkms add -m vboxdrv -v 1.6.0
dkms build -m vboxdrv -v 1.6.0  -k kernel-2.6.25.3-18.fc9.i686
dkms install -m vboxdrv -v 1.6.0  -k kernel-2.6.25.3-18.fc9.i686
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #9  
Old 20th May 2008, 04:06 PM
BlacKXHat Offline
Banned
 
Join Date: May 2008
Posts: 31
Exclamation

Quote:
tnx alote Mr leigh123@linux
output is ..

Quote:
[root@localhost l1nux]# su -
[root@localhost ~]# dkms add -m vboxdrv -v 1.6.0

Error! DKMS tree already contains: vboxdrv-1.6.0
You cannot add the same module/version combo more than once.
[root@localhost ~]# dkms build -m vboxdrv -v 1.6.0 -k kernel-2.6.25.3-18.fc9.i686

Error! Your kernel source for kernel kernel-2.6.25.3-18.fc9.i686 cannot be found at
/lib/modules/kernel-2.6.25.3-18.fc9.i686/build or /lib/modules/kernel-2.6.25.3-18.fc9.i686/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
[root@localhost ~]# dkms install -m vboxdrv -v 1.6.0 -k kernel-2.6.25.3-18.fc9.i686

Error! The directory /lib/modules/kernel-2.6.25.3-18.fc9.i686 doesn't exist.
You cannot install a module onto a non-existant kernel.
[root@localhost ~]#

Last edited by BlacKXHat; 20th May 2008 at 04:11 PM.
Reply With Quote
  #10  
Old 20th May 2008, 04:20 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by BlacKXHat
output is ..


Try , and post the output


Code:
su -
dkms build -m vboxdrv -v 1.6.0  -k 2.6.25.3-18.fc9.i686
dkms install -m vboxdrv -v 1.6.0  -k 2.6.25.3-18.fc9.i686


Sorry about the typo .
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #11  
Old 20th May 2008, 08:45 PM
BlacKXHat Offline
Banned
 
Join Date: May 2008
Posts: 31
tnx Mr ..

the 0utput is ..
Quote:
[l1nux@localhost ~]$ su -
Password:
[root@localhost ~]# dkms build -m vboxdrv -v 1.6.0 -k 2.6.25.3-18.fc9.i686

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....(bad exit status: 127)
make KERNELRELEASE=2.6.25.3-18.fc9.i686 -C /lib/modules/2.6.25.3-18.fc9.i686/build M=/var/lib/dkms/vboxdrv/1.6.0/build....(bad exit status: 127)

Error! Bad return status for module build on kernel: 2.6.25.3-18.fc9.i686 (i686)
Consult the make.log in the build directory
/var/lib/dkms/vboxdrv/1.6.0/build/ for more information.

DO YOU HAVE make INSTALLED???
[root@localhost ~]# dkms install -m vboxdrv -v 1.6.0 -k 2.6.25.3-18.fc9.i686

Error! Could not locate vboxdrv.ko for module vboxdrv in the DKMS tree.
You must run a dkms build for kernel 2.6.25.3-18.fc9.i686 (i686) first.
[root@localhost ~]#
Reply With Quote
  #12  
Old 20th May 2008, 09:14 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by BlacKXHat
tnx Mr ..

the 0utput is ..

Ok this should fix it

Code:
su -
yum groupinstall "Development Tools"
dkms build -m vboxdrv -v 1.6.0  -k 2.6.25.3-18.fc9.i686
dkms install -m vboxdrv -v 1.6.0  -k 2.6.25.3-18.fc9.i686
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #13  
Old 18th August 2008, 03:43 PM
f7boot Offline
Registered User
 
Join Date: Sep 2007
Posts: 40
I recently encountered a similar issue...

I found that /lib/modules/2.6.25.3-18.fc9.i686/build was a broken symbolic link. I had to relink it to /usr/src/kernels/2.6.25.3-18.fc9.i686

After I did that, everything worked.
Reply With Quote
Reply

Tags
box, failed, fedora, final, kernel, load, module, virtual

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fglrx.ko module failed to load cjmac87 Using Fedora 1 9th August 2008 11:54 AM
truecrypt: Failed to load TrueCrypt kernel module | 2.6.20-1.2933.fc6 kaoz Using Fedora 7 11th February 2008 11:56 PM
Linux Error -failed to load module "via"(module does not exists) jayantkm Installation and Live Media 1 25th December 2006 12:38 AM
Failed to load module I810 sankrish Hardware & Laptops 0 13th November 2006 06:21 AM


Current GMT-time: 04:32 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat