Subject: | |
From: | |
Reply To: | |
Date: | Mon, 1 Oct 2012 16:24:38 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On Mon, Oct 1, 2012 at 3:33 PM, Joseph Areeda <[log in to unmask]> wrote:
> I want to run Windows as a guest system on my Sl6.3 box.
>
> Installing vbox from the Oracle repository gives me an error trying to
> create the kernel modules.
>
> When trying to do it manually, I run /etc/init.d/vboxdrv -setup and get:
>
>> Stopping VirtualBox kernel modules [ OK ]
>> Uninstalling old VirtualBox DKMS kernel modules [ OK ]
>> Trying to register the VirtualBox kernel modules using DKMS
>> Error! Your kernel headers for kernel 2.6.32-220.17.1.el6.x86_64 cannot be
>> found at
>> /lib/modules/2.6.32-220.17.1.el6.x86_64/build or
>> /lib/modules/2.6.32-220.17.1.el6.x86_64/source.
>
>
> and when I look for those file I see a broken link
>
>> ll /lib/modules/2.6.32-220.23.1.el6.x86_64/build
>> lrwxrwxrwx 1 root root 51 Jun 20 09:54
>> /lib/modules/2.6.32-220.23.1.el6.x86_64/build ->
>> ../../../usr/src/kernels/2.6.32-220.23.1.el6.x86_64
>
>
> It looks like that file should be linked to:
>
>
>> ls /usr/src/kernels/2.6.32-279.9.1.el6.x86_64/
>> arch drivers include kernel Makefile.common net security
>> tools
>> block firmware init lib mm samples sound
>> usr
>> crypto fs ipc Makefile Module.symvers scripts System.map
>> virt
>
>
> I'm going try just fixing the link. but it seems like the kernel-header rpm
> has a problem. Or am I missing something? Would not be the first time or
> even a rare occurrence.
>
> Joe
You need the kernel-devel package (not kernel-headers). That version
must match your *running* kernel. You can find the version of your
running kernel by:
uname -r
Then install kernel-devel of that version.
Akemi
|
|
|