VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 3 Previous Next 44 Replies Last post: Jan 10, 2008 1:10 PM by kirenaj   Go to original post
Click to view gruna's profile Novice 7 posts since
May 28, 2007
I am running 2.6.22-rc4 and have no problems except with vmware.
Ist still doesn't compile.
Click to view c_g-hills's profile Enthusiast 46 posts since
Nov 9, 2005
I had no trouble compiling using the vmware-any-any patches and my modified vmxnet.tar, using CentOS 5.0 as the base. Please see this post if you want a copy of the vm: http://chaz6.com/?p=199. I also enabled paravirt support.
Click to view LoSeR_5150's profile Novice 8 posts since
Jun 13, 2007
I tried using vmware-any-any-110 patch as its the latest yet I'm still unable to compile vmmon. What exactly did you do to compile? What is your setup? GCC Version, kernel version? thanks
Click to view Build_Interns's profile Enthusiast 78 posts since
Jun 7, 2007
Try using g++ when you compile - you can automate the process with GNU MAKE :) Does wonders for me!
Click to view Build_Interns's profile Enthusiast 78 posts since
Jun 7, 2007
And if your using java I find the best way to do compilations is to use ANT with batch files.

However, I would suggest writing your source code with notepad because that is what the serious programmers do!
Click to view LoSeR_5150's profile Novice 8 posts since
Jun 13, 2007
So I got the module to build on the 2.6.22 kernel, but only on my x86_64 box. On my x86 machines it still will not build using the any-any-update110 patch. Any Suggestions/Tips? Thanks
Click to view LoSeR_5150's profile Novice 8 posts since
Jun 13, 2007
VMware-modules now compiling on x86 machines after modifiy my /lib/modules/2.6.22-rc4-ragnarok1/build/include/page.h

see http://www.vmware.com/community/thread.jspa?messageID=677688 for details
Click to view tscollins's profile Novice 15 posts since
Jan 14, 2007
Thanks the vmnet.tar file worked for my Arch64 system running kernel 2.6.22-ARCH #1 SMP PREEMPT
Click to view VasyaPypkin's profile Lurker 1 posts since
Oct 4, 2007
This fix compilation problem. No "any-any" patch required. Do not try to modify your kernel, every thing fine with it, problem is in VMware.

VMware Workstation: 6.0.0 build-45731
Kernel: 2.6.22-gentoo-r8

howto:
  1. cd /usr/lib/vmware/modules/source/
  2. tar -xf vmnet.tar
  3. cd vmnet-only
  4. cat /path/to/patch | patch -p1
  5. cd ..
  6. tar -cf vmnet.tar vmnet-only
  7. vmware-config.pl

Patch attached.
Attachments:
Click to view jaylundy's profile Lurker 2 posts since
Oct 19, 2007
Vasya's patch works in x86 (I assume) but not in x86_64. Here's a new patch that should work in both. I know it works on x86_64 because I tested it on my machine (Ubuntu Gutsy).

VMware Workstation: 6.0.0 build-45731
uname -a: Linux ##### 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 GNU/Linux


Installation instructions same as in Vasya's post.

Some people were complaining about errors with bridged networking on previous patch attempts even though they compiled fine. All the links posted a few months ago are broken so I can't compare them with my version, but I can confirm that connecting from the guest to the host on a bridged network works with this patch. I'm pretty confident all networking should work with this patch too.

Attachments:
Click to view Superkikim's profile Novice 30 posts since
Feb 10, 2005

Hi Jaylundy,

Thank you for the patch. Unfortunately, I get the following error on "sudo cat /home/akim/install/vmxnet/patch | patch -p1":

patch: **** Can't rename file /tmp/poWMTGjc to bridge.c : Permission denied

Click to view jaylundy's profile Lurker 2 posts since
Oct 19, 2007
Actually after I wrote that patch I found out about the vmware-any-any patch. I looked at it and it has the same changes I made except higher quality. I suggest you try it first. You can get it at http://knihovny.cvut.cz/ftp/pub/vmware/ . Look for vmware-any-any-update114.tar.gz . He apparently keeps it updated whenever any kernel changes break the modules.

See http://communities.vmware.com/message/76957 for more info about it.
Click to view Superkikim's profile Novice 30 posts since
Feb 10, 2005

Hi.

Thank you. The patch works great. I'm using Ubuntu Gutsy Gibbon (7.10).

Note that before to run the vmware-any-any patch (runme.pl), you need to install the g++ package if not done yet.

Cheers

Click to view Superkikim's profile Novice 30 posts since
Feb 10, 2005

Ok ... I withdraw what I said.....

I have restart my computer. And now... X starts only in failsafe... I have no idea how to troubleshoot that :-(

I'm unable to get my nvidia drivers back working

My desktop is on tty7 and when I try to make a sudo gdm restart from tty1, then tty9 launchs xconfig

I'm lost......

Click to view kirenaj's profile Lurker 1 posts since
Jan 10, 2008


I run Ubuntu 7.10, 2.6.22-14-generic on a AMD x86_64 and VMware-server-1.0.3

I first run the vmware-any-any-update109 path without any luck.

and then downloaded the vmnet patch from http://npw.net/~phbaer/vmnet.tar and copy it into /usr/lib/vmware/modules/source

And then I tried the vmware-any-any-update115 version from http://knihovny.cvut.cz/ftp/pub/vmware/ and everything was ok


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