VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 Previous Next 15 Replies Last post: Jan 24, 2008 8:25 AM by aleperez  

Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017? posted: Oct 16, 2007 9:02 PM

Click to view Frederick Staats's profile Lurker 4 posts since
Apr 17, 2005

I have found three problems with the ubuntu 7.10 RC1 with all 8/16/2007 patches running as a guest in VMWare Workstation 6.0.1 build 55017

1) The VMWare tools vmhgfs-only/compat_slab.h has a bug that prevents the hgfs kernel module from compiling:

/*
* Destructor is gone since 2.6.23-pre1.
*/
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22) || defined(VMW_KMEMCR_HAS_DTOR)

Should be:

/*
* Destructor is gone since 2.6.23-pre1.
*/
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 22) || defined(VMW_KMEMCR_HAS_DTOR)

This prevents the driver from finishing compiling and then installing under ubuntu 7.10

2) The driver that shows up in the Restricted Drivers Manager as "VMWare Blocking File System" in ubuntu 7.04 shows up as "VMWare kernel driver" in ubuntu 7.10 (it should show up with the more descriptive name in both systems.)

3) The scrolling mouse scrolls in ubuntu 7.04 doesn't scroll in ubuntu 7.10

Any help or suggestions on these items would be appreciated.


Click to view brundlefly76's profile Novice 9 posts since
Nov 13, 2005

Thats interesting, I am patched up to 8/17 and cant build the vmxnet module - what has always REALLY annoyed me about vmware tools is that when vmxnet cant build, you are left without a network device as pcnet is not put back.

This is especially interesting because it appears that in Ubuntu 7.10 there is no GUI for creating a new network device like in Suse (and, if I remember correctly, previous versions of Ubuntu) which is how I would usually repair this issue.

I also like the new vmware tools feature where it blows away your not only your install directory, but the .gz file when its done (!!!!??), so you have to re-mount vmware tools and unzip it all over again to repeat - WTF?

BTW I also noticed that when benchmarking apache (ab -n 10000 http://localhost/index.html ), 1 virtual processor consistantly outperforms 2 virtual processors (assuming no concurrency) by at least 15-18%.

Apparantly multiple processors are all virtualized off a single core, as I have 4 physical cores - (?)

Click to view brundlefly76's profile Novice 9 posts since
Nov 13, 2005

Ugh you were right - I could have sworn I did an update check.

Yes I am in the same boat as you now - I have networking but no mouse scrolling (or shared folders).

I did a recursive find(1) for compat_slab.h but couldnt find it anywhere - what is the full filepath?

VMWare tools is the bane of my existance.


Click to view brundlefly76's profile Novice 9 posts since
Nov 13, 2005
Ha yeah I knew it I just didnt want to do it.
But I did it, and it worked - thanks.
Click to view aktxyz's profile Novice 37 posts since
Aug 6, 2006
Use this little script to fixup the vmware tools image

tar -xf VMwareTools-6.0.1-55017.tar.gz
cd vmware-tools-distrib/lib/modules/source
tar -xf vmhgfs.tar
perl -i -p -e "s/LINUX_VERSION_CODE < KERNEL_VERSION/LINUX_VERSION_CODE <= KERNEL_VERSION/" vmhgfs-only/compat_slab.h
rm -f vmhgfs.tar
tar -cf vmhgfs.tar vmhgfs-only
rm -rf vmhgfs-only
cd ../../../..
tar -cf VMwareTools-6.0.1-55017_patched.tar.gz vmware-tools-distrib
rm -rf vmware-tools-distrib
Click to view brundlefly76's profile Novice 9 posts since
Nov 13, 2005
I had already done it by hand - but nice job posting this for those
who havent yet!
Click to view wschalon's profile Lurker 3 posts since
Oct 22, 2007
Thank you aktxyz, your script has been very helpful.

Minor correction (Line 9):

tar -czf VMwareTools-6.0.1-55017_patched.tar.gz vmware-tools-distrib

The bug is in VMwareTools-6.0.2-59824 as well.
Using Ubuntu 7.10

Click to view wschalon's profile Lurker 3 posts since
Oct 22, 2007

3) The scrolling mouse scrolls in ubuntu 7.04 doesn't scroll in ubuntu 7.10

Edit /etc/X11/xorg.conf and replace "ps/2" with "imps/2".

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "imps/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"

Click to view brundlefly76's profile Novice 9 posts since
Nov 13, 2005
Nice now if we could only convince VMWare that notebooks outsell
desktops maybe we can get them to release a Touchpad driver so we can
finally scroll with that as well.
Click to view kwyd's profile Lurker 1 posts since
Oct 23, 2007

Thanks to this GREAT thread, so I can fix the mouse scrolling and hgfs issues met after upgrading guest to ubuntu 7.10 in workstation 6.0.1.

:^0 :^0

Click to view wschalon's profile Lurker 3 posts since
Oct 22, 2007

Looking at /etc/X11/xorg.conf.BeforeVMwareToolsInstall the mouse was proper configured before installing the VMware Tools. This must be a ubuntu 7.10 related problem since with openSUSE 10.3 it works fine. Problem not fixed in VMware 6.02.
Click to view Tex-Twil's profile Novice 19 posts since
Sep 5, 2007

Hello,

This fix works fine on a VMware workstation and with wmvare tools 6.0.2. When I try to install VMwareTools-1.0.3 in Gusty I have the same problem but the file compat_slab.h is not here. Any ideas how to fix this problem ?

Regards,

Tex

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities