VMware Player (vmplayer) 1.0.4 for testing

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
User avatar
jcoder24
Posts: 604
Joined: Fri 06 May 2005, 12:33
Location: Barbados

VMware Player (vmplayer) 1.0.4 for testing

#1 Post by jcoder24 »

This was installed on puppy 2.16 using all of the defaults as prompted by the vmplayer installer. The modules for the different puppy/grafpup kernels were then compiled individually.

To install:
1. download and install the vmplayer-1.0.4_modules-k2.6.x.y.pet for your version of puppy (attached below).
2. download and install the vmplayer-1.0.4.pet, Download URL http://dotpups.de/dotpups/Emulators/Vmp ... -1.0.4.pet
3. optionally restart

Things to Note
1. Total download size is about 13M uncompressed, installed it's about 33M.
2. The script to start/stop the vmware services in installed to /etc/init.d/ and therefore starts automatically on boot (and stops automatically during shutdown) in newer puppies.
3. When installing vmplayer-1.0.4.pet, you will see a list of missing dependencies, you can safely ignore this.
4. Running from console gives a few gtk-warnings which are safe to ignore.
5. If you need help creating a new virtual machine this site simplifies the process http://www.easyvmx.com.

For additional information on vmware player in puppy see http://www.murga-linux.com/puppy/viewto ... 262#117262

~~~~~

In order to get it to work on the newer versions of puppy (>2.02) I had to force it to use the gtk packaged with vmplayer by editing lines 280 - 286 of /usr/lib/vmware/lib/wrapper-gtk24.sh as indicated below. If it can be determined how to get vmplayer to work with puppy's gtk we may be able to cut a little off the size.

Code: Select all

if [ "$VMWARE_USE_SHIPPED_GTK" = '' ]; then
   if LANGUAGE=C LANG=C ldd -r "$binary" 2>&1 >/dev/null \
         | grep -q 'gtk_file_filter_'; then
      # No 32-bit GTK+ 2.4 runtime environment on the system.
      export VMWARE_USE_SHIPPED_GTK=yes
   fi
fi

Code: Select all

#if [ "$VMWARE_USE_SHIPPED_GTK" = '' ]; then
#   if LANGUAGE=C LANG=C ldd -r "$binary" 2>&1 >/dev/null \
#         | grep -q 'gtk_file_filter_'; then
#      # No 32-bit GTK+ 2.4 runtime environment on the system.
      export VMWARE_USE_SHIPPED_GTK=yes
#   fi
#fi
In order to compile the vmmon modules, the following edit starting at line 20 of vmmon.tar/vmmon-only/compat_kernel.h had to be made:

From

Code: Select all

#define __NR_compat_exit __NR_exit
static inline _syscall1(int, compat_exit, int, exit_code);
To

Code: Select all

#define __NR_compat_exit __NR_exit
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
static inline _syscall1(int, compat_exit, int, exit_code);
#endif
I've successfully tested a WinXP Pro installation w/ 128M virtual RAM on my AMD Athlon 650MHz w/ 256M RAM. The performance was adequate.
Attachments
vmplayer-1.0.4_modules-k2.6.21.5.pet
For puppy 2.17
(45.63 KiB) Downloaded 928 times
vmplayer-1.0.4_modules-k2.6.18.1.pet
For Puppy 2.12 to Puppy 2.16
(46.44 KiB) Downloaded 808 times
vmplayer-1.0.4_modules-k2.6.16.7.pet
For Puppy 2.00 to Puppy 2.11
(47 KiB) Downloaded 769 times
Last edited by jcoder24 on Fri 19 Oct 2007, 00:27, edited 9 times in total.

User avatar
jcoder24
Posts: 604
Joined: Fri 06 May 2005, 12:33
Location: Barbados

#2 Post by jcoder24 »

Modules for Grafpup2
Attachments
vmplayer-1.0.4_modules-k2.6.20.2.pet
(45.2 KiB) Downloaded 780 times

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post by MU »


User avatar
jcoder24
Posts: 604
Joined: Fri 06 May 2005, 12:33
Location: Barbados

#4 Post by jcoder24 »

Updated the notes in the original post and added the link to the vmplayer-1.0.4.pet file.

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

great

#5 Post by raffy »

Thanks, jcoder, for your very useful contributions to Puppy.

And of course Mark (MU) for hosting these precious files.

Linneo
Posts: 4
Joined: Mon 20 Aug 2007, 15:09

How to compile vmware modules under Puppy3 2.6.21.7

#6 Post by Linneo »

Hello everyone!
I've installed Vmware Server 1.04 with no problems under Puppy 2.17. I think kernel was 2.6.21.5.
Now I'm running Puppy3 with kernel 2.6.21.7, and vmware modules won't compile.
Any suggestions?
Thanks.

User avatar
jcoder24
Posts: 604
Joined: Fri 06 May 2005, 12:33
Location: Barbados

#7 Post by jcoder24 »

Try....
1. Extracting the vmmon.tar file
2. Making the changes outlined in the first post above
3. Recreate the tar archive
4. Re-run the installation/config program

User avatar
jcoder24
Posts: 604
Joined: Fri 06 May 2005, 12:33
Location: Barbados

#8 Post by jcoder24 »

That's due to errors with insmod. The modules compile ok but when vmware attempt to test the modules by loading them with insmod it seg faults (bums out). Get a copy of insmod from another puppy version and try again.

benign
Posts: 23
Joined: Thu 29 Nov 2007, 05:05

#9 Post by benign »

I'm getting an error message when I run vmplayer:

vmplayer: xcb_lock.c:62: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.

anyone know what this means?

User avatar
jcoder24
Posts: 604
Joined: Fri 06 May 2005, 12:33
Location: Barbados

#10 Post by jcoder24 »

benign:

If you are using puppy3 then it's probably gtk related. I don't know of any fixes.

microtux
Posts: 6
Joined: Tue 18 Jul 2006, 22:57

#11 Post by microtux »

I've the same error.

Post Reply