VMware Cloud Community
dchunt
Contributor
Contributor
Jump to solution

Problems w VMtools and SLES 11 SP1

I am trying to install VMtools from a vCenter Server 4.1 server to a SLES 11 SP1 VM running on ESX 3.5. I have included the development tools in the VM inlcuding gcc, binutils, make and the kernel source. I keep getting the following error:

Using compiler "/usr/bin/gcc". Use environment variable CC to override.
+ What is the location of the directory of C header files that match your running+
+ kernel? +
+ Extracting the sources of the vmmemctl module.+
+ Building the vmmemctl module.+
+ Using 2.6.x kernel build system.+
+ make: Entering directory `/tmp/vmware-config5/vmmemctl-only'+
+ make -C /lib/modules/2.6.32.19-0.3-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules+
+ make[1]: Entering directory `/usr/src/linux-2.6.32.19-0.3-obj/x86_64/default'+
+ make -C ../../../linux-2.6.32.19-0.3 O=/usr/src/linux-2.6.32.19-0.3-obj/x86_64/default/. modules+
+ CC /tmp/vmware-config5/vmmemctl-only/backdoorGcc64.o+
+ CC /tmp/vmware-config5/vmmemctl-only/os.o+
+ In file included from /tmp/vmware-config5/vmmemctl-only/os.c:51:+
+ /tmp/vmware-config5/vmmemctl-only/compat_wait.h:78: error: conflicting types for ‘poll_initwait’+
+ /usr/src/linux-2.6.32.19-0.3/include/linux/poll.h:70: error: previous declaration of ‘poll_initwait’ was here+
+ make[4]: *** Error 1+
+ make[3]: *** Error 2+
+ make[2]: *** Error 2+
+ make[1]: *** Error 2+
+ make[1]: Leaving directory `/usr/src/linux-2.6.32.19-0.3-obj/x86_64/default'+
+ make: *** http://vmmemctl.ko Error 2+
+ make: Leaving directory `/tmp/vmware-config5/vmmemctl-only'+
+ Unable to build the vmmemctl module.+

Although this is for the vmmemctl module, I keep getting this error over and over for all the modules. What is causing 'Error 2'?

Then at the end of the VMtools install I get:

X is running fine with the new config file.
+ error setting MTRR (base = 0xf8000000, size = 0x00400000, type = 1) Invalid argument (22)+
+ Starting VMware Tools services in the virtual machine:+
+ Switching to guest configuration: done+
+ DMA setup: done+
+ Guest operating system daemon: done+
+ The configuration of VMware Tools 3.5.0 build-184236 for Linux for this running+
+ kernel completed successfully.+

How can the install have completed successfully if I keep getting errors for the various components?

Thanks,

Dan

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
AntonVZhbankov
Immortal
Immortal
Jump to solution

SLES 11 SP1 is supported on 4.0u2 and 4.1 only.


---

MCITP: SA+VA, VCP 3/4, VMware vExpert

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda

View solution in original post

0 Kudos
3 Replies
AntonVZhbankov
Immortal
Immortal
Jump to solution

SLES 11 SP1 is supported on 4.0u2 and 4.1 only.


---

MCITP: SA+VA, VCP 3/4, VMware vExpert

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
0 Kudos
dchunt
Contributor
Contributor
Jump to solution

Thanks. I rebuilt the server as a SLES 11 server. Running on ESX 3.5 Update 4 the VMtools seemed to install correctly for the most part. I still see an error at the bottom having to do with fonts. The error is:

() Using config file: "/etc/X11/xorg.conf"
+ error setting MTRR (base = 0xf8000000, size = 0x00400000, type = 1) Invalid argument (22)+
+ Could not init font path element /usr/share/fonts/TTF/, removing from list!+
+ Could not init font path element /usr/share/fonts/OTF, removing from list!+
+ X is running fine with the new config file.+
+ error setting MTRR (base = 0xf8000000, size = 0x00400000, type = 1) Invalid argument (22)+

What does this error mean?

Thanks,

Dan

0 Kudos
AntonVZhbankov
Immortal
Immortal
Jump to solution

>What does this error mean?

Usually I don't take any x.org errors seriously, most of the time I don't need X at all and rule Linux VM over ssh.


---

MCITP: SA+VA, VCP 3/4, VMware vExpert

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
0 Kudos