<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
David Antonio Garcia Campos wrote:
<blockquote
 cite="mid:7e928a1d0902130245gb75cc27r1ad7b43deaabed94@mail.gmail.com"
 type="cite">
  <pre wrap="">Hi,
I tried that but it says that i realdy have the latest kernel-source
installed see:
[root@localhost 2.6.27.12-170.2.5.fc10.x86_64]# sudo yum install kernel-devel
Loaded plugins: fastestmirror, presto, priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
...
...
Finished
371 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
Package kernel-devel-2.6.27.12-170.2.5.fc10.x86_64 already installed
and latest version
Nothing to do
However I get the same error when i run ./vboxdrv setup:
Error! Your kernel source for kernel 2.6.27.5-117.fc10.x86_64 cannot be found at
/lib/modules/2.6.27.5-117.fc10.x86_64/build or
/lib/modules/2.6.27.5-117.fc10.x86_64/source.
But these two directories are soft links. The */source is a soft link
to */build and build t's a soft link to this directory
/usr/src/kernels/2.6.27.5-117.fc10.x86_64 which does not exist.
does this mean i have to rebuild my kernel? if so i dont know where to begin.
Thanks a lot for everyones help.
Dave

On 2/12/09, JD <a class="moz-txt-link-rfc2396E" href="mailto:jd1008@gmail.com"><jd1008@gmail.com></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">David Antonio Garcia Campos wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi everyone,

Im trying to install virtual box from an rpm but Im getting an error
message when i try to install it. Im using fedora 10
arch:2.6.27.5-117.fc10.x86_64

ERROR message from virtual box:Error! Your kernel source for kernel
2.6.27.5-117.fc10.x86_64 cannot be found at
/lib/modules/2.6.27.5-117.fc10.x86_64/build or
/lib/modules/2.6.27.5-117.fc10.x86_64/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
For some reason i have this
directory:/usr/src/kernels/2.6.27.12-170.2.5.fc10.x86_64

but when i run uname -r i get:

[root@localhost 2.6.27.12-170.2.5.fc10.x86_64]# pwd
/usr/src/kernels/2.6.27.12-170.2.5.fc10.x86_64
[root@localhost 2.6.27.12-170.2.5.fc10.x86_64]# uname -r
2.6.27.5-117.fc10.x86_64

can someone please put me on the right direction?

Thanks a lot,

Dave

      </pre>
    </blockquote>
    <pre wrap="">As root, or via sudo, just install kernel devel:

sudo yum install kernel-devel

and then run

sudo service vboxdrv  setup

and that should then build the vbox driver and install it.

I am not sure what had done in the past to get
/usr/src/kernels/2.6.27.12-170.2.5.fc10.x86_64
You or someone had probably booted kernel 2.6.27.12-170.2.5.fc10.x86_64
and then installed
kernel-devel.

Good luck.

--
fedora-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a>
To unsubscribe: <a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</a>
Guidelines: <a class="moz-txt-link-freetext" href="http://fedoraproject.org/wiki/Communicate/MailingListGuidelines">http://fedoraproject.org/wiki/Communicate/MailingListGuidelines</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<tt><br>
<big>David, So, you are booted with kernel 2.6.27.5-117.fc10.x86_64</big><br>
<big>and you already have kernel-deve. Good.</big><br>
Now <big>do this:</big><br>
<br>
<big>cd /lib/modules/2.6.27.5-117.fc10.x86_64<br>
rm -f source build<br>
ln -sf /usr/src/kernels/</big></tt><tt><big>2.6.27.5-117.fc10.x86_64
build<br>
service vboxdrv setup<br>
<br>
Be happy.<br>
<br>
</big></tt>
</body>
</html>