Discussion:
Problem with TSL 3.0.5 and VMware server
Juraj
2007-07-18 20:23:36 UTC
Permalink
Hi list,

i'm running on recent TSL 3.0.5 version (swup to-date) with
2.6.19.7-2trsmp kernel and i'm trying to install VMware server
1.0.3-44356 but it fails during compilation of vmmon module.

when i use '/lib/modules/2.6.19.7-2tr/build/include' as kernel headers
path it returns:

"The directory of kernel headers (version 2.6.19.7-2tr) does not match your
running kernel (version 2.6.19.7-2trsmp). Even if the module were to compile
successfully, it would not load into the running kernel. "



and when i use '/lib/modules/2.6.19.7-2trsmp/build/include'

"Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.19.7-2trsmp/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernel-headers-2.6.19.7-2trsmp'
Makefile:275:
/usr/src/kernel-headers-2.6.19.7-2trsmp/scripts/Kbuild.include: No such
file or directory
Makefile:492:
/usr/src/kernel-headers-2.6.19.7-2trsmp/arch/i386/Makefile: No such file
or directory
make[1]: *** No rule to make target
`/usr/src/kernel-headers-2.6.19.7-2trsmp/arch/i386/Makefile'. Stop.
make[1]: Leaving directory `/usr/src/kernel-headers-2.6.19.7-2trsmp'
make: *** [vmmon.ko] Error 2 make: Leaving directory
`/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module. "



does anybody know how to solve this problem? is it problem of TSL? or is
it problem of kernel headers version?

btw autor of wiki instructions
(http://trustix.org/wiki/index.php/Installing_VMware_on_TSL) is writing
there is an problem with smp machines but nobody write how to solve this
problem...


Many thanks in advance.
Daniel Meyer
2007-07-19 06:12:02 UTC
Permalink
There is somewhere a textfile explaining how to build 3rd party kernel
modules. Since i dont use Trustix anymore (for several good reasons, like
many others including the original TSL developers, try the list archive) i
cant give you the exact filename or location.

A find / -iname *modules*.txt should help, or try google, or try another
distro :-)

Danny
--
Q: Gentoo is too hard to install = http://www.cyberdelia.de
and I feel like whining. = ***@cyberdelia.de
A: Please see /dev/null. =
(from the gentoo installer FAQ) = \o/
Claudio Broglia
2007-07-19 07:44:29 UTC
Permalink
Check out the VMware Server Trustix wiki page, I've written about this
issue with SMP machines.
--
Claudio Broglia
www.sysroot.eu
Björn Enroth
2007-07-19 17:16:20 UTC
Permalink
Hello Juraj,

I have been running VMware server on the old 2.4 kernel (trustix 2.2)
for a long time, and there is a needed change to get it up'n'running
with trustix. Now, I don't know if it is the case with kernel 2.6 as
well, but here's what I did to make it work:

Unpack vmmon.tar and vmnet.tar from vmware-server-distrib/lib/modules/
source/. Edit the vmmon-only/Makefile.normal and vmnet-only-
Makefile.normal and add "-fno-stack-protector" to the CC_KFLAGS.
Pack them up again, and rerun the installation with the smp-source.

I don't have that much knowledge about the difference between 2.4 and
2.6 kernels, I havent worked that much with 2.6, but this tip can
maybe point you in the right direction.


Regards
Björn
Post by Juraj
Hi list,
i'm running on recent TSL 3.0.5 version (swup to-date) with
2.6.19.7-2trsmp kernel and i'm trying to install VMware server
1.0.3-44356 but it fails during compilation of vmmon module.
when i use '/lib/modules/2.6.19.7-2tr/build/include' as kernel headers
"The directory of kernel headers (version 2.6.19.7-2tr) does not match your
running kernel (version 2.6.19.7-2trsmp). Even if the module were to compile
successfully, it would not load into the running kernel. "
and when i use '/lib/modules/2.6.19.7-2trsmp/build/include'
"Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.19.7-2trsmp/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernel-headers-2.6.19.7-2trsmp'
/usr/src/kernel-headers-2.6.19.7-2trsmp/scripts/Kbuild.include: No such
file or directory
/usr/src/kernel-headers-2.6.19.7-2trsmp/arch/i386/Makefile: No such file
or directory
make[1]: *** No rule to make target
`/usr/src/kernel-headers-2.6.19.7-2trsmp/arch/i386/Makefile'. Stop.
make[1]: Leaving directory `/usr/src/kernel-headers-2.6.19.7-2trsmp'
make: *** [vmmon.ko] Error 2 make: Leaving directory
`/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module. "
does anybody know how to solve this problem? is it problem of TSL? or is
it problem of kernel headers version?
btw autor of wiki instructions
(http://trustix.org/wiki/index.php/Installing_VMware_on_TSL) is writing
there is an problem with smp machines but nobody write how to solve this
problem...
Many thanks in advance.
_______________________________________________
tsl-discuss mailing list
http://lists.trustix.org/mailman/listinfo/tsl-discuss
Loading...