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



18 jul 2007 kl. 22.23 skrev 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
> 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.
>
> _______________________________________________
> tsl-discuss mailing list
> [email protected]
> http://lists.trustix.org/mailman/listinfo/tsl-discuss
>
>

_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to