Skip navigation
VMware
7,392 Views 8 Replies Last post: Apr 21, 2009 1:56 PM by MarcoRosso RSS
sedorox Novice 12 posts since
Feb 19, 2006
Currently Being Moderated

Feb 3, 2009 7:50 AM

Note for Workstation 6.5.1-126130 with 2.6.29 RC kernels

I wanted to let people over in this forum know, that currently Workstation 6.5.1 doesn't build the modules on 2.6.29-RC3 kernels. However, over in the Server forums, Ehud, with the help of  stericho, have come up with a patch to the modules to get them to build.

 

The link to the thread: [Linux] After upgrading kernel from 2.6.28 (stab) to 2.6.29-rc1 / Vmware compile problem

 

Direct link to the Patch (Made by Ehud, modified by stericho): #

 

Directions for applying the Patch:

 

One liner (as root):  cd /usr/lib/vmware/modules/source/; mkdir orig; cp *.tar orig/; for i in `ls *.tar`; do tar -xf $i; done; rm *.tar; patch -p1 -i /path/to/vmware-workstation-6.5.1.126130-2.6.29_x86_64.patch; for i in mblock mci mmon mnet mppuser sock; do tar -cf v$i.tar v$i-only; done; rm -r *-only

 

Just make sure you change the path to the patch.  This will also backup the original modules, just in case something gets foobar'd.

Note: This has only been tried, and verified to work on x86_64 machines.

 

If something isn't correct, please correct me on it.

I hope this helps others as it has helped me.

planetf1a Novice 24 posts since
Jul 14, 2006
Currently Being Moderated
1. Feb 4, 2009 1:06 AM in response to: sedorox
Re: Note for Workstation 6.5.1-126130 with 2.6.29 RC kernels

Many thanks. That patch worked fine on x86 (32 bit) too

tarantula2 Lurker 2 posts since
Mar 2, 2009
Currently Being Moderated
2. Mar 2, 2009 4:27 AM in response to: sedorox
Re: Note for Workstation 6.5.1-126130 with 2.6.29 RC kernels

 

This chunk in the .diff you posted seems a bit suspect to me:

 

 

+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)·

    cap_raise(current->cap_effective, CAP_SYS_RESOURCE);

    compat_set_user_nice(current, linuxState.fastClockPriority);

+#else /* 2.6.29 */

+   (void) cap_raised(current->cred->cap_effective, CAP_SYS_RESOURCE);

+   set_user_nice(current, linuxState.fastClockPriority);

+#endif /* 2.6.29 and higher */···

 

 

cap_raise  suddenly became  cap_raised, which does not have the same effect.  Are you sure this is ok?

 

 

zwierbel Novice 8 posts since
Mar 2, 2009
Currently Being Moderated
3. Mar 2, 2009 8:11 AM in response to: tarantula2
Re: Note for Workstation 6.5.1-126130 with 2.6.29 RC kernels

With the patch I can compile the modules, but with 2.6.29-rc6. BUT I can not access the other system over the network. I'm seeing just ARP traffic between the two systems.

17:06:21.312128 ARP, Request who-has 192.168.100.2 tell 192.168.100.100, length 28

17:06:21.312151 ARP, Reply 192.168.100.2 is-at 00:50:56:c0:00:01, length 28

17:06:26.628204 ARP, Request who-has 192.168.100.2 tell 192.168.100.100, length 28

17:06:26.628233 ARP, Reply 192.168.100.2 is-at 00:50:56:c0:00:01, length 28

17:06:31.669908 ARP, Request who-has 192.168.100.2 tell 192.168.100.100, length 28

17:06:31.669941 ARP, Reply 192.168.100.2 is-at 00:50:56:c0:00:01, length 28

17:06:36.752712 ARP, Request who-has 192.168.100.2 tell 192.168.100.100, length 28

17:06:36.752743 ARP, Reply 192.168.100.2 is-at 00:50:56:c0:00:01, length 28

 

The guest system has no ARP entry in his table.

 

Has someone a solution? Thanks in advance!

 

Regards

tarantula2 Lurker 2 posts since
Mar 2, 2009
Currently Being Moderated
4. Mar 10, 2009 5:08 AM in response to: zwierbel
Re: Note for Workstation 6.5.1-126130 with 2.6.29 RC kernels

 

>With the patch I can compile the modules, but with 2.6.29-rc6. BUT I can not access the other system over the network.

 

 

but with 2.6.29-rc6.... what - (try making a complete sentence).

 

But indeed, "Host-only networking" is broken. Bridged works fine, though.

zwierbel Novice 8 posts since
Mar 2, 2009
Currently Being Moderated
5. Mar 23, 2009 1:58 PM in response to: tarantula2
Re: Note for Workstation 6.5.1-126130 with 2.6.29 RC kernels

Can someone provide a patch for the host-only-network? I (and many others) would be very happy to see one.

Thanks in advance!

mleun Lurker 2 posts since
Mar 24, 2005
Currently Being Moderated
6. Mar 26, 2009 3:06 PM in response to: zwierbel
Re: Note for Workstation 6.5.1-126130 with 2.6.29 RC kernels

I do not fully understand what happens and how, but I got it to work.

 

Somehow the vm_check_build checks called in Makefile.kernel seem to fail / give wrong results - so I just disabled them, what is'nt the clean solution, of course.

 

Throwing away anything dealing with dev->priv as in the patch posted here before does not seem to be correct, comparing 2.6.28 and 2.6.29 yields dev->ml_priv.

Attachments:
Krellan Enthusiast 90 posts since
Jun 16, 2008
Currently Being Moderated
7. Mar 31, 2009 10:46 AM in response to: sedorox
Re: Note for Workstation 6.5.1-126130 with 2.6.29 RC kernels

I tried these patches and, unfortunately, they didn't quite work.

 

So, I made my own patch.  I recommend it, because it fixes a few bugs, such as the cap_raise() issue that was mentioned above.

 

Here's the new patch, in another forum posting:

 

http://communities.vmware.com//message/1213099

 

Hope this helps!

 

Josh

MarcoRosso Lurker 4 posts since
Feb 17, 2009
Currently Being Moderated
8. Apr 21, 2009 1:56 PM in response to: sedorox
Re: Note for Workstation 6.5.1-126130 with 2.6.29 RC kernels

Thank you so much, Works under Arch Linux X86_64 with Kernel 2.6.29-3, with the newest version of VMware Workstation 6.5.2 .

Bookmarked By (0)

Share This Page

Communities