From: tomek on
Vmware will rebuild modules , i should only show where are kernel
headers. I tried /usr/src/linux /usr/src/linux/include. Do you know
correct location?
From: Grant on
On Fri, 2 Apr 2010 14:38:50 -0700 (PDT), tomek <tmkdudek(a)gmail.com> wrote:

>Vmware will rebuild modules , i should only show where are kernel
>headers. I tried /usr/src/linux /usr/src/linux/include. Do you know
>correct location?

This command shows source location for the running kernel:

$ ls -l /lib/modules/$(uname -r)/build

Grant.
--
http://bugs.id.au/
From: Eef Hartman on
tomek <tmkdudek(a)gmail.com> wrote:
> Vmware will rebuild modules , i should only show where are kernel
> headers. I tried /usr/src/linux /usr/src/linux/include. Do you know
> correct location?

A) install the (full) kernel sourceis, kernel-source-"your_version".
This SHOULD install into /usr/src/linux-"your_version".
The headers themselves are in /usr/src/linux-"your_version"/include
B) make sure the "build" and "source" symbolic links in the
/lib/modules/"your_version"
directory point TO the source directory
C) reboot TO that kernel!
D) now rebuild the VM-Ware Player kernel modules. It _should_ find
the right headers and config from the links, created in B

Note that all this does NOT have anything to do with the headers,
contained in the kernel-headers package (from Slackware), that one
is for normal APPLICATION programs, not for kernel drivers!
--
*******************************************************************
** Eef Hartman, Delft University of Technology, dept. SSC/ICT **
** e-mail: E.J.M.Hartman(a)tudelft.nl - phone: +31-15-278 82525 **
*******************************************************************
From: tomek on
I have downloaded kernel and compiled it myself. You are talking about
instaling kernel sources. If they are not already installed because
Kernel .tar include kernel sources.
/lib/modules/2.6.33/build and /lib/modules/2.6.33/source points to /
usr/src/linux-2.6.33
From: Chris Willing on
On Sun, 4 Apr 2010 03:39:54 -0700 (PDT), tomek <tmkdudek(a)gmail.com> wrote:
> I have downloaded kernel and compiled it myself. You are talking about
> instaling kernel sources. If they are not already installed because
> Kernel .tar include kernel sources.
> /lib/modules/2.6.33/build and /lib/modules/2.6.33/source points to /
> usr/src/linux-2.6.33

Even though you have installed the kernel source (including headers),
vmware is looking for a file that has changed location in the kernel tree
recently. It assumes that because it can't find the file, that you don't
have the kernel headers installed and so doesn't proceed.

There is a fix provided in the "Issues" section of:
http://www.vislab.uq.edu.au/howto/vmware.html
(the context is slightly different to yours, but its the same issue really).

chris

First  |  Prev  |  Next  |  Last
Pages: 1 2 3
Prev: Kernel.org
Next: Alt.OS.Linux.Slackware FAQ pointer