(this was first sent only to claudio by a mistake. resending to the list)
> Yes.
> make modules_prepare is not done really well, and with SMP machines it
> doesn't add the "smp" extension where is needed. I've written about
> this issue some time ago in the trustix wiki (search for vmware server
> in the wiki, I've written how to prepare kernel both for UP and SMP
> machines).
>
> I would:
> 1) remove the UP kernel
> 2) re-prepare kernel sources
> 3) fix utsrelease.h
I reinstalled with only one virtual cpu so I'm using the UP kernel only
now. No smp kernel. Even though, all I'm able to compile is the first
module. the two next failes, including the vmxnet :(
I'm trying at home now with VMware Workstation 5.5 to see if I get the
same errors here.
During install (both at work with esx and at home) I've installed these
groups:
- Enable automatic updates
- Minimal install with ssh
- common local utilities
- common netwrok utilities
- development libraries
When installation is done, I installed kernel-source and kernel-headers.
then I set up a sym link and prepared the kernel:
cd /usr/src/
ln -s kernel-source-2.6.19.2-1tr linux
cd linux
cp /boot/config-2.6.19.2-1tr .config
make oldconfig
make modules_prepare
Then I installed VMware tools and then run vmware-config-tools.pl
I try first with the default path when asked for C header files matching
my running kernel:
/usr/src/linux/include
This resultet in "The directory of kernel headers (version @@VMWARE@@
UTS_RELEASE) does not match your running kernel (version 2.6.19.2-1tr).
Even if the module were to compile successfully, it would not load into
the running kernel.
The same error appeared when I tried
"/lib/modules/2.6.19.2-1tr/build/include" but I see it points to the
same folder..
Hmm.. I'm beginning to hate this :(
once again from top, this time following brians way:
<snip>
1) Install kernel-headers-*, kernel-source-* and kernel-tools-*
2) cd /usr/src
2b ln -s kernel-source-* linux
3) cd kernel-headers-*
3b) ln -s ../kernel-source-*/{arch,scripts} .
4) cd ../kernel-source-*
5) cp /boot/config-* .config
6) make oldconfig
7) make modules_prepare
... and then proceed to install vmware-tools.
You have to replace the -* with the correct kernel version.
The above instructions works on vmware workstation 5.5.3 and TSL-3.0.5RC2.
</snip>
Same error. But I found out I was using VMware Workstation v5.5.1. After
I upgraded to 5.5.3 I was able to compile the modules just fine. All I
did was as the wiki says, install the kernel-sources and prepare it. No
need for headers.
So.. Why does it work in VMware Workstation 5.5.3 and not in ESX 3.0.1 ?
/Christopher
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss