Fedora install virtualbox kernel error

  

Fedora 14 install virtualbox, prompt /etc/init.d/vboxdrv setup, after running is still wrong, prompt 2.6.3.22.18.66.fc12.i686.PAE can not be found, depressed For several days, finally google. Found a way

The solution is better, different 2.6.32.21-166.fc12.i686, please correspond first, different will be different

Makefile:152 : *** Error: unable to find the sources of your current Linux kernel.

Specify KERN_DIR= and run Make again. Stop.

yum search kernel

yum install Kernel.i686

yum install kernel.devel.i686

yum install kernel-PAE.i686

yum install kernel-headers.i686

Using installation After the kernel source, the location of KERN_DIR is at: /usr/src/kernels/2.6.32.21-166.fc12.i686

Recompile as prompted:

KERN_DIR=/usr/src/kernels /2.6.32.21-166.fc12.i686 /etc/init.d/vboxdrv setup

Then prompt:

Recompiling VirtualBox kernel module [ ,null,null,3],OK ]

Starting VirtualBox kernel module [FAILED ]

(modprobe vboxdrv failed. Please use 'dmesg' to find out why)

Then dmesg view the error message:

vboxdrv: version magic '2.6.32.21-166.fc12.i686 SMP mod_unload 686 ' should be '2.6.32.21-166.fc12.i686.PAE SMP mod_unload 686 '

vboxdrv: version magic '2.6.32.21-166.fc12.i686 SMP mod_unload 686 ' should be '2.6.32.21-166.fc12.i686.PAE SMP mod_unload 686 '

should be PAE

Install PAE source code

yum install kernel-PAE-devel.i686

OK! Added a 2.6.32.21-166.fc12.i686.PAE directory to the /usr/src/kernels directory, www. Linuxidc.com redefines kernel-dir compilation:

KERN_DIR=/usr/src/kernels/2.6.32.21-166.fc12.i686.PAE /etc/init.d/vboxdrv setup

Understand the PAE

http://blog.csdn.net/taizhoufox/archive/2010/04/16/5491333.aspx

The advantage is to support 64G memory, prompt but Cpu is required. .

wiki write

PAE is supported by Intel Pentium Pro and above CPUs (including all new Pentium series processors except Pentium M with 400MHz bus frequency) Other compatible processors, such as Athlon and AMD's newer models, also support PAE.

Don't worry. .

Stopping VirtualBox kernel module [ OK ]

Removing old VirtualBox netadp kernel module [ OK ]

Removing old VirtualBox netflt kernel module [ OK ]

Removing Old VirtualBox kernel module [ OK ]

Recompiling VirtualBox kernel module [ OK ]

Starting VirtualBox kernel module [ OK ]

Copyright © Windows knowledge All Rights Reserved