For those with vmware player problems on the new sab.

Discussion for all VM - Installing, Software, Problems

Moderator: Moderators

For those with vmware player problems on the new sab.

Postby FrozenFox » Mon Jul 30, 2007 15:49

NOTE: this is with vmware previously installed on a 6th sensed system. It probably won't work trying to emerge then doing this, since emerge dies out anyway upon trying, unless you know how to fix the ebuild itself. If you use the tarball and installer direct from the vmware page, it will probably work fine. Also, make sure to make backups and blah blah blah.

Long story short, when I updated Sab to the newest version, it seems that vmware didn't want to run. Some say it's because of the new kernel, but I wouldn't know. Unexpectedly, vmware-config.pl died compiling the vmmon or vmnet modules. For those who have the same problem, here's a quick fix to save them the time and trouble I had (hopefully). It seems in other threads there are alternative ways to go around the problem but I might as well add my two bits to what worked.

http://platan.vc.cvut.cz/ftp/pub/vmware/

Go grab the any-any update 113 on that page, I think it's the fourth from the bottom. Untar it. For me, the installer script refused to work, so I just did a dirty fix: removed vmblock, vmmon, and vmnet tarballs from /usr/lib/vmware/modules/source and replace them with the ones from the untarrred any-any patch. Then reran vmware-config.pl. All works well now.

Note: a couple other common problem fixes under this section below ;P

For newbies (note: no idea if this works correctly start to finish): if that's gibberish to you, then go dl the vmware tar file from the vmware site. Install it as per their instructions (probably untar it on the desktop, then console: cd ~/Desktop/name_of_vmware_folder, then sudo ./vmware-install.pl). When it comes to vmware-config.pl useage, say no you don't want to use it yet. If it doesn't give that option, which I thought it did, just go through it and let it die on the vmnet part. Then, download the above patch to the desktop. Right click, untar it. Then open up the console and (yes, I'm aware this is a long way to do it):

cd /usr/lib/vmware/modules/source
sudo rm ./vmblock.tar ./vmmon.tar ./vmnet.tar
cd ~/Desktop/vmware-any-any-update113
sudo cp ./vmblock.tar ./vmmon.tar ./vmnet.tar /usr/lib/vmware/modules/source
sudo /usr/bin/vmware-config.pl
Their installer is dumb imo, but anyway. Just answer with whatever garbage to their questions that they have in brackets after the question. You should be good to go..

If it nags about rc stuff, just sudo mkdir /etc/rc.d/rc0.d and repeat 6 times, going from rc0 to rc6 then try vmware-config.pl again.

If you have problems with vmware nagging about those files every time you reboot, one dirty way (NOTE: possibly unsafe? I don't know. I just know it works.) that works for me is to sudo kwrite /etc/conf.d/local.start and add to the very end of the file: sudo /etc/rc.d/init.d/vmware start
FrozenFox
Simple Hen
 
Posts: 40
Joined: Fri May 18, 2007 23:18

Re: For those with vmware player problems on the new sab.

Postby keteflips » Sat Sep 08, 2007 9:26

Hello.

I have a very bad english, and I have the same problem:

Code: Select all
  CC [M]  /tmp/vmware-config4/vmnet-only/userif.o
/tmp/vmware-config4/vmnet-only/userif.c: En la función ‘VNetCopyDatagramToUser’:
/tmp/vmware-config4/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ no tiene un miembro llamado ‘h’
/tmp/vmware-config4/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ no tiene un miembro llamado ‘nh’
/tmp/vmware-config4/vmnet-only/userif.c:636: error: ‘const struct sk_buff’ no tiene un miembro llamado ‘h’
make[2]: *** [/tmp/vmware-config4/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config4/vmnet-only] Error 2
make[1]: se sale del directorio `/usr/src/linux-2.6.22-sabayon'
make: *** [vmnet.ko] Error 2
make: se sale del directorio `/tmp/vmware-config4/vmnet-only'
Unable to build the vmnet module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.


¿Can U explain more easy for me?

A lot of thanks :mrgreen:
User avatar
keteflips
Growing Hen
 
Posts: 147
Joined: Mon Mar 19, 2007 19:24

Re: For those with vmware player problems on the new sab.

Postby keteflips » Sat Sep 08, 2007 10:00

Ok it works for newies :

Download:

http://platan.vc.cvut.cz/ftp/pub/vmware ... 113.tar.gz

Unrar and run:

#./runme.pl

Rerun vmware.config.pl and it works fine for me:


Code: Select all
The configuration of VMware Workstation 6.0.0 build-45731 for Linux for this
running kernel completed successfully.

You can now run VMware Workstation by invoking the following command:
"/opt/vmware/workstation/bin/vmware".

Enjoy,

--the VMware team



A lot of thanks
User avatar
keteflips
Growing Hen
 
Posts: 147
Joined: Mon Mar 19, 2007 19:24

Re: For those with vmware player problems on the new sab.

Postby keteflips » Sat Sep 08, 2007 10:29

Dont run sorry.

I get this error:

Image

And when I go to reinstall I get another error :cry:

Code: Select all
  CC [M]  /tmp/vmware-config5/vmnet-only/userif.o
/tmp/vmware-config5/vmnet-only/userif.c: En la función ‘VNetCopyDatagramToUser’:
/tmp/vmware-config5/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ no tiene un miembro llamado ‘h’
/tmp/vmware-config5/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ no tiene un miembro llamado ‘nh’
/tmp/vmware-config5/vmnet-only/userif.c:636: error: ‘const struct sk_buff’ no tiene un miembro llamado ‘h’
make[2]: *** [/tmp/vmware-config5/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config5/vmnet-only] Error 2
make[1]: se sale del directorio `/usr/src/linux-2.6.22-sabayon'
make: *** [vmnet.ko] Error 2
make: se sale del directorio `/tmp/vmware-config5/vmnet-only'
Unable to build the vmnet module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.



:| :cry:
User avatar
keteflips
Growing Hen
 
Posts: 147
Joined: Mon Mar 19, 2007 19:24

Re: For those with vmware player problems on the new sab.

Postby FrozenFox » Tue Sep 11, 2007 8:27

The version mismatch error seems to suggest that your version of vmware was too old to use the anyany patch on correctly. Are those errors you give from an emerge or from the binary on the website? I suspect they are from emerge because of the "make" and "vmware-config" parts. I don't think compiling with emerge will be an option for a while for some. If you still can't get it working playing with this, tell me and I might -try- to make an ebuild with the right patch if I can't find a working one on the gentoo site when I get the time.

IN SHORT: If you tried to install via emerge, try the vmware website binary instead, but don't run vmware-config.pl until after installing or using the modules from the any-any patch listed above, if possible.
FrozenFox
Simple Hen
 
Posts: 40
Joined: Fri May 18, 2007 23:18

Re: For those with vmware player problems on the new sab.

Postby keteflips » Tue Sep 11, 2007 12:11

Finaly I solve the problem, first uninstall the vmware-modules, by default Sabayon comes with it.

#emerge --unmerge app-emulation/vmware-modules

Then install wmware 6.0, when it chash install the any-any update.

And it works perfect for me :)
User avatar
keteflips
Growing Hen
 
Posts: 147
Joined: Mon Mar 19, 2007 19:24


Return to Virtual Managers

Who is online

Users browsing this forum: No registered users and 0 guests

cron