VMware Communities > VMTN > Desktop Products > VMware Workstation > Discussions

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
Reply

Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017?

Oct 16, 2007 9:02 PM

Click to view Frederick Staats's profile Lurker Frederick Staats 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.


Reply Re: Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017? Oct 17, 2007 9:01 AM
Click to view brundlefly76's profile Novice brundlefly76 8 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 - (?)

Reply Re: Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017? Oct 17, 2007 9:33 AM
in response to: brundlefly76
Click to view Frederick Staats's profile Lurker Frederick Staats 4 posts since
Apr 17, 2005

Are you using VMWare 6.0.0 (not 6.0.1)? I read some threads saying that there were some VMWare tools network driver issues with the earlier build of VMWare on umbutu. I didn't have any issues with the network driver only the hgfs host file sharing driver which was fixed by changing the one line I showed in the email. When vmxnet doesn't build on umbutu I just reboot the virtual machine and it rebuilds the guest network driver (has never been an issue for me to do the reboot as it has only happened during the initial install.)
Reply Re: Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017? Oct 17, 2007 10:22 AM
in response to: Frederick Staats
Click to view brundlefly76's profile Novice brundlefly76 8 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.


Reply Re: Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017? Oct 17, 2007 12:03 PM
in response to: brundlefly76
Click to view Frederick Staats's profile Lurker Frederick Staats 4 posts since
Apr 17, 2005
The file in question vmhgfs-only/compat_slab.h is embedded in a tar file that is extracted during the build process:

vmware-tools-distrib/lib/modules/source/vmhgfs.tar
I replaced the vmhgfs-only/compat_slab.h embedded in the tar file with the corrected one and the hgfs driver then build properly.
Reply Re: Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017? Oct 17, 2007 1:55 PM
in response to: Frederick Staats
Click to view brundlefly76's profile Novice brundlefly76 8 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.
Reply Re: Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017? Oct 22, 2007 9:53 PM
in response to: brundlefly76
Click to view aktxyz's profile Novice aktxyz 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
Reply Re: Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017? Oct 23, 2007 4:41 AM
in response to: aktxyz
Click to view brundlefly76's profile Novice brundlefly76 8 posts since
Nov 13, 2005
I had already done it by hand - but nice job posting this for those
who havent yet!
Reply Re: Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017? Oct 23, 2007 6:20 AM
in response to: aktxyz
Click to view wschalon's profile Lurker wschalon 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

Reply Re: Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017? Oct 23, 2007 6:28 AM
Click to view wschalon's profile Lurker wschalon 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"

Reply Re: Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017? Oct 23, 2007 8:54 AM
in response to: wschalon
Click to view Frederick Staats's profile Lurker Frederick Staats 4 posts since
Apr 17, 2005
Thanks on the mouse hint imps/2 worked for me. Any ideas on why the umbutu 7.10 got / vmware 6.01 got the inital configuation of the mouse wrong? Having not worked with manually editing the /etc/X11/xorg.conf in a long time (>10 years) the debugging process is something I'm a little rusty on :-).
Reply Re: Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017? Oct 23, 2007 9:04 AM
in response to: Frederick Staats
Click to view brundlefly76's profile Novice brundlefly76 8 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.
Reply Re: Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017? Oct 23, 2007 7:45 PM
Click to view kwyd's profile Lurker kwyd 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

Reply Re: Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017? Oct 23, 2007 11:53 PM
in response to: Frederick Staats
Click to view wschalon's profile Lurker wschalon 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.
Reply Re: Three problems with ubuntu 7.10 RC1 (with all 8/16/2007 patches) guest in VMWare Workstation 6.0.1 build 55017? Dec 18, 2007 7:23 AM
Click to view Tex-Twil's profile Novice Tex-Twil 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

1 2 Previous Next
Actions