Binary package hint: open-vm-tools
The current VMware Workstation 7.1 VMware Tools don't fully support 2.6.35, so I thought I'd try the open-vm-tools. Marginally surprised that they, too, fail. Had hoped that they would have already been updated.
# aptitude install open-vm-dkms open-vm-tools open-vm-toolbox
# dpkg -l | grep open-vm
iF open-vm-dkms 2010.04.25-253928-2+ubuntu1 Source for VMware guest systems driver (DKMS
ii open-vm-source 2010.04.25-253928-2+ubuntu1 Source for VMware guest systems driver
ii open-vm-toolbox 2010.04.25-253928-2+ubuntu1 tools and components for VMware guest system
ii open-vm-tools 2010.04.25-253928-2+ubuntu1 tools and components for VMware guest system
# more /var/lib/dkms/open-vm-tools/2010.04.25/build/make.log
DKMS make.log for open-vm-tools-2010.04.25 for kernel 2.6.35-5-generic (x86_64)
Fri Jun 25 11:15:19 EDT 2010
Using 2.6.x kernel build system.
Building VMCI Sockets with VMCI module symbols.
make: Entering directory `/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock'
cp -f /var/lib/dkms/open-vm-tools/2010.04.25/build/VMwareVMCIModule.symvers ./Module.symvers
make -C /lib/modules/2.6.35-5-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR=/var/lib/dkms/open-vm-tools/2010.04.25/build modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-5-generic'
CC [M] /var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.o
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c: In function ‘VSockVmciStreamConnect’:
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c:3475: error: ‘struct sock’ has no member named ‘sk_sleep’
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c:3498: error: ‘struct sock’ has no member named ‘sk_sleep’
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c:3510: error: ‘struct sock’ has no member named ‘sk_sleep’
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c: In function ‘VSockVmciAccept’:
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c:3570: error: ‘struct sock’ has no member named ‘sk_sleep’
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c:3586: error: ‘struct sock’ has no member named ‘sk_sleep’
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c:3620: error: ‘struct sock’ has no member named ‘sk_sleep’
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c: In function ‘VSockVmciPoll’:
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c:3718: error: ‘struct sock’ has no member named ‘sk_sleep’
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c: In function ‘VSockVmciStreamSendmsg’:
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c:4317: error: ‘struct sock’ has no member named ‘sk_sleep’
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c:4355: error: ‘struct sock’ has no member named ‘sk_sleep’
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c:4407: error: ‘struct sock’ has no member named ‘sk_sleep’
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c: In function ‘VSockVmciStreamRecvmsg’:
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c:4593: error: ‘struct sock’ has no member named ‘sk_sleep’
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c:4633: error: ‘struct sock’ has no member named ‘sk_sleep’
/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.c:4697: error: ‘struct sock’ has no member named ‘sk_sleep’
make[2]: *** [/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock/linux/af_vsock.o] Error 1
make[1]: *** [_module_/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-5-generic'
make: *** [vsock.ko] Error 2
make: Leaving directory `/var/lib/dkms/open-vm-tools/2010.04.25/build/vsock'
This appears to be the same issue that I patched for the host modules (q.v., http://communities.vmware.com/thread/272625).
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: open-vm-dkms 2010.04.25-253928-2+ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-5.6-generic 2.6.35-rc3
Uname: Linux 2.6.35-5-generic x86_64
Architecture: amd64
Date: Fri Jun 25 11:19:23 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100602.2)
PackageArchitecture: all
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: open-vm-tools
Patch to allow vmxnet to compile. vmxnet still doesn't appear to *work* (AMD64), but I don't believe that is the fault of this patch. Both vmxnet and vmxnet3 load, but neither provide a usable network connection when restarting the network layer. The same is true of the official vmxnet3 driver provided by VMware Tools (installed for testing in a different VM). And at least this patch keeps vmxnet from blocking the install.