Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Dec 2014, 00:50
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
WMware VMplayer 2.5.2
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [39 Posts]   Goto page: 1, 2, 3 Next
Author Message
Wolf Pup

Joined: 27 Apr 2006
Posts: 637

PostPosted: Sat 08 Nov 2008, 18:00    Post subject:  WMware VMplayer 2.5.2
Subject description: Virtual Machine for puppy, .SFS File
 

vmware_vmplayer-2.5.2_k2.6.25.16.sfs
md5sum

vmware_vmplayer-2.5.2_k2.6.21.7.sfs
md5sum

_________________

Visit The Repository - Helpful and hard-to-find treats for Puppy 3.
Click Here for Puppy Support Chat, + Helpful Links.

Last edited by Wolf Pup on Sun 31 May 2009, 12:51; edited 2 times in total
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Mon 10 Nov 2008, 15:01    Post subject:  

You cut the size of the sfs in half by removing usr/lib/vmware/modules/binary/ which are binaries compiled for other distro/kernel combinations.
Back to top
View user's profile Send private message 
Wolf Pup

Joined: 27 Apr 2006
Posts: 637

PostPosted: Mon 10 Nov 2008, 16:55    Post subject:  

jcoder24 wrote:
You cut the size of the sfs in half by removing usr/lib/vmware/modules/binary/ which are binaries compiled for other distro/kernel combinations.


Nope, the binaries are still in the sfs file, please check the md5.

_________________

Visit The Repository - Helpful and hard-to-find treats for Puppy 3.
Click Here for Puppy Support Chat, + Helpful Links.
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Mon 10 Nov 2008, 20:14    Post subject:  

Sorry, meant to say that you can safely remove those files to save space.
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Mon 17 Nov 2008, 11:00    Post subject:  

This package worked fine under kernel 2.6.25.16 once the modules were recompiled. I've included the script below I used to compile and install the modules.

Code:

#!/bin/sh

SOURCE_DIR="/usr/lib/vmware/modules/source"
VMMOD_DIR="/lib/modules/`uname -r`/misc"
FAILED_MODS=""

cd $SOURCE_DIR

# Compile modules
echo "Compiling modules...."

for x in `ls *tar`
do
   # Extract module source
   tar xf $x
   VMMOD="`echo $x | sed s/.tar//`"

   # Change to source dir and compile   
   cd "$VMMOD-only"
   make
   
   # Note any failures & remove source dir
   [ $? -gt 0 ] && FAILED_MODS="$FAILED_MODS $VMMOD "
   cd ..;
   rm -rf "$VMMOD-only"
done

# Copy copiled modules into place
echo -e "\n\nInstalling modules...."

[ ! -d $VMMOD_DIR ] && mkdir -p $VMMOD_DIR
cd "$VMMOD_DIR"

for x in `ls "$SOURCE_DIR" | grep -e o$`
do
   echo $x
   cp -p "$SOURCE_DIR/$x" .
   ln -s $x "`echo $x | sed s/.o$/.ko/`" 2>/dev/null
   rm  "$SOURCE_DIR/$x" 2>/dev/null
done

# Indicate any errors
[ ! -z "$FAILED_MODS" ] && echo -e "\a\nThe followind module(s) failed to build:\n$FAILED_MODS\n\n"

depmod
Back to top
View user's profile Send private message 
vtpup


Joined: 15 Oct 2008
Posts: 1177
Location: Republic of Vermont

PostPosted: Wed 19 Nov 2008, 10:57    Post subject:  

This would be great if I could get it installed in 4.1 -- thanks!

I did try the following:

1.) Downloaded sfs file to to /mnt/home

2.) Set BootManager to load the sfs on bootup

3.) Rebooted

4.) Ran the first stanza of the above script and got the following errors:

Code:
# !/bin/sh
bash: !/bin/sh: event not found
#
# SOURCE_DIR="/usr/lib/vmware/modules/source"
# VMMOD_DIR="/lib/modules/`uname -r`/misc"
# FAILED_MODS=""
#
# cd $SOURCE_DIR
bash: cd: /usr/lib/vmware/modules/source: No such file or directory


Any help would be appreciated.
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Wed 19 Nov 2008, 11:05    Post subject:  

Seems like the sfs file wasn't loaded.
Back to top
View user's profile Send private message 
vtpup


Joined: 15 Oct 2008
Posts: 1177
Location: Republic of Vermont

PostPosted: Wed 19 Nov 2008, 18:43    Post subject:  

Thanks, jcoder24,:

Double checking the location (/mnt/home) and also verifying the checksum I get:

Code:
 cd /mnt/home
# md5sum vmware_vmplayer-2.5.0_k2.6.21.7.sfs
12373527a9b2ecee2e02e61178aa82b9
vmware_vmplayer-2.5.0_k2.6.21.7.sfs


Then checking BootManager's sfs screen, I have in the right panel:

devx_410.sfs
OpenOffice-3.0.sfs
vmware _vmplayer-2.5.0_k2.6.21.7.sfs


And "Ignore user selection, load all with 410 in the filename" is unchecked. (This is all in place after a cold boot, by the way).


Doing a pfind on "vmware", I get only one hit:

vmware _vmplayer-2.5.0_k2.6.21.7.sfs /initrd/mnt/dev_save/vmware _vmplayer-2.5.0_k2.6.21.7.sfs 93974528 -rw-r--r-- root

no /usr/lib/vmware/modules/source

So I don't know what the problem might be.

Too many shs files loaded? (It does say no MORE than 3 -- but is 3 too many, as well?)

Thanks for your help!
Back to top
View user's profile Send private message 
vtpup


Joined: 15 Oct 2008
Posts: 1177
Location: Republic of Vermont

PostPosted: Thu 20 Nov 2008, 00:51    Post subject:  

Seems to be a bug in version 4.10 of Puppy relating to the number of .sfs files allowed (should be 3, but wasn't in fact).

Upgraded to 4.11 and the vmware .sfs loaded properly.
Back to top
View user's profile Send private message 
vtpup


Joined: 15 Oct 2008
Posts: 1177
Location: Republic of Vermont

PostPosted: Thu 20 Nov 2008, 01:49    Post subject:  

Now having problems with the script.

After running the script, when clicking on the VMWare player icon in the Utility Menu I get a message from VMWare Kernel Module Updater saying Kernel Headers for 2.6.25.16 were not found and asking for the location.

When I ran the script there were a long list of errors -- a short excerpt follows:

Code:
Compiling modules....
Using standalone build system.
./autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or director  y
.././autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or direc  tory
Dependencies for .././linux/module.c
In file included from .././linux/module.c:26:
.././include/driver-config.h:42:5: error: #error "No Module support in this kern  el.  Please configure with CONFIG_MODULES"
make[1]: *** [module.d] Error 1
make: *** [deps] Error 2
Using standalone build system.
./autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or director  y
.././autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or direc  tory
Dependencies for driver.c
In file included from .././linux/driver.c:20:
.././include/driver-config.h:42:5: error: #error "No Module support in this kern  el.  Please configure with CONFIG_MODULES"
make[1]: *** [driver.d] Error 1
make: *** [deps] Error 2
Using standalone build system.
./autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or director  y
.././autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or direc  tory
Dependencies for driver.c
In file included from .././linux/driver.c:20:
.././include/driver-config.h:42:5: error: #error "No Module support in this kern  el.  Please configure with CONFIG_MODULES"
make[1]: *** [driver.d] Error 1
make: *** [deps] Error 2
Using standalone build system.
geninclude.c:19:28: error: linux/autoconf.h: No such file or directory
In file included from driver.c:19:
driver-config.h:35:28: error: linux/autoconf.h: No such file or directory
driver-config.h:42:5: error: #error "No Module support in this kernel.  Please c  onfigure with CONFIG_MODULES"
In file included from driver.c:24:
compat_module.h:27:26: error: linux/module.h: No such file or directory
driver.c:28:27: error: linux/slab.h: No such file or directory
driver.c:34:23: error: linux/smp.h: No such file or directory
driver.c:35:28: error: linux/smp_lock.h: No such file or directory
driver.c:38:31: error: linux/etherdevice.h: No such file or directory
driver.c:39:22: error: linux/mm.h: No such file or directory
      -- snip --
ppdev.c:684: warning: data definition has no type or storage class
ppdev.c:684: warning: type defaults to 'int' in declaration of 'module_init'
ppdev.c:684: warning: parameter names (without types) in function declaration
ppdev.c:685: warning: data definition has no type or storage class
ppdev.c:685: warning: type defaults to 'int' in declaration of 'module_exit'
ppdev.c:685: warning: parameter names (without types) in function declaration
make: *** [ppuser-stub.o] Error 1
Using standalone build system.
./autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or director  y
.././autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or direc  tory
Dependencies for .././linux/af_vsock.c
In file included from .././linux/af_vsock.c:95:
.././include/driver-config.h:42:5: error: #error "No Module support in this kern  el.  Please configure with CONFIG_MODULES"
make[1]: *** [af_vsock.d] Error 1
make: *** [deps] Error 2

Installing modules....


Again, any help would be appreciated. Thanks!
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Thu 20 Nov 2008, 19:16    Post subject:  

you need the kernelsource sfs as well
Back to top
View user's profile Send private message 
vtpup


Joined: 15 Oct 2008
Posts: 1177
Location: Republic of Vermont

PostPosted: Thu 20 Nov 2008, 23:41    Post subject:  

Thanks Jcoder, will try that.

For others wanting to do this see the following forum thread:
http://www.murga-linux.com/puppy/viewtopic.php?search_id=1922936678&t=35787

Edit:

The above just deals with headers -- see further posts below, since that wasn't sufficient.

Last edited by vtpup on Fri 21 Nov 2008, 22:31; edited 1 time in total
Back to top
View user's profile Send private message 
vtpup


Joined: 15 Oct 2008
Posts: 1177
Location: Republic of Vermont

PostPosted: Fri 21 Nov 2008, 00:30    Post subject:  

Well, no luck.

Installed the kernelheaders-409.shs into /mnt/home, ran BootManager and added that sfs to the right panel. Rebooted.

Ran the script and got the same error messages. Ran VMWare Player and got the same can't find Kernel Headers message.

I'm thinking either the .sfs didn't get installed, or it's a bad copy, or it's the wrong kernel headers.

Is there a way of checking whether the kernel headers were actually installed? -- where would they be?

Thanks for your help!
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Fri 21 Nov 2008, 19:41    Post subject:  

You need the full kernelsourcenot just the headers.
Back to top
View user's profile Send private message 
vtpup


Joined: 15 Oct 2008
Posts: 1177
Location: Republic of Vermont

PostPosted: Fri 21 Nov 2008, 22:28    Post subject:  

Ahh, I see, thanks, will try it. Thanks for the link, as well.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 3 [39 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0876s ][ Queries: 12 (0.0046s) ][ GZIP on ]