kernel module for vmware workstation

Questions about applications and software
Forum rules
Before you post please read this

kernel module for vmware workstation

Postby newbie_noob on Sun Jan 15, 2012 4:02 pm

I installed vmware workstation, and it needs to to compile a module for the kernel.
I get this error message:

Code: Select all
Jan 15 14:32:36.046: app-139845443467008| Trying to find a suitable PBM set for kernel 2.6.39-2-amd64.
Jan 15 14:32:36.047: app-139845443467008| Building module vmmon.
Jan 15 14:32:36.047: app-139845443467008| Extracting the sources of the vmmon module.
Jan 15 14:32:36.087: app-139845443467008| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.39-2-amd64/build/include CC=/usr/bin/gcc-4.4 GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.6
Jan 15 14:32:39.352: app-139845443467008| Failed to compile module vmmon!


What can I do?
newbie_noob
Level 2
Level 2
 
Posts: 54
Joined: Thu Jan 27, 2011 8:25 pm

Linux Mint is funded by ads and donations.
 

Re: kernel module for vmware workstation

Postby xenopeek on Sun Jan 15, 2012 4:17 pm

Moved here by moderator
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14983
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: kernel module for vmware workstation

Postby newbie_noob on Sun Jan 15, 2012 8:30 pm

I found this:

Code: Select all
sudo -i
mkdir /tmp/vmware && cd /tmp/vmware
cp -R /usr/lib/vmware/modules/source/
cp -R /usr/lib/vmware/modules/source/ /tmp/vmware
cd /tmp/vmware/source
wget http://weltall.heliohost.org/wordpress/wp-content/uploads/2011/05/vmware2.6.39patchv3.tar.bz2
tar -jxvf vmware2.6.39patchv3.tar.bz2
for i in ./*.tar; do tar -xf $i; done
for i in ./*.tar; do mv $i $i.orginal; done
patch -t -f -p1 < vmware2.6.39fixedv3.patch
tar cf vmblock.tar vmblock-only
tar cf vmci.tar vmci-only
tar cf vmmon.tar vmmon-only
tar cf vmnet.tar vmnet-only
tar cf vsock.tar vsock-only
cp -vf *.tar /usr/lib/vmware/modules/source/


there: http://ved-antani.com/2011/10/vmplayer- ... ux-kernel/

But I only understand some of the lines of the script, and I am a bit worried about the line that downloads a vmware patch from a wordpress blog... Should I try it?
newbie_noob
Level 2
Level 2
 
Posts: 54
Joined: Thu Jan 27, 2011 8:25 pm

Re: kernel module for vmware workstation

Postby xenopeek on Mon Jan 16, 2012 4:15 am

You can try it if you want, but yes this downloads a patch from some wordpress website and applies it. Up to you to trust this or not. The code had some errors (HTML character entities, and a half formed command), fixed those below I think.

You could look at alternatives for VMWare?

Code: Select all
sudo -i
mkdir /tmp/vmware && cd /tmp/vmware
# cp -R /usr/lib/vmware/modules/source/
cp -R /usr/lib/vmware/modules/source/ /tmp/vmware
cd /tmp/vmware/source
wget http://weltall.heliohost.org/wordpress/wp-content/uploads/2011/05/vmware2.6.39patchv3.tar.bz2
tar -jxvf vmware2.6.39patchv3.tar.bz2
for i in ./*.tar; do tar -xf $i; done
for i in ./*.tar; do mv $i $i.orginal; done
patch -t -f -p1 < vmware2.6.39fixedv3.patch
tar cf vmblock.tar vmblock-only
tar cf vmci.tar vmci-only
tar cf vmmon.tar vmmon-only
tar cf vmnet.tar vmnet-only
tar cf vsock.tar vsock-only
cp -vf *.tar /usr/lib/vmware/modules/source/
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14983
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: kernel module for vmware workstation

Postby newbie_noob on Mon Jan 16, 2012 4:00 pm

Is a scan with CLAM considered enough for that kind of patch?
Last edited by newbie_noob on Mon Jan 16, 2012 4:21 pm, edited 1 time in total.
newbie_noob
Level 2
Level 2
 
Posts: 54
Joined: Thu Jan 27, 2011 8:25 pm

Re: kernel module for vmware workstation

Postby xenopeek on Mon Jan 16, 2012 4:02 pm

newbie_noob wrote:Is a scan with CLAM considered enough for that kind of patch?

No. This pretty much scans for Windows virus and a small set of Linux virus. It does not scan for malicious code that somebody might have added on this WordPress link.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14983
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: kernel module for vmware workstation

Postby newbie_noob on Mon Jan 16, 2012 4:39 pm

I have LMDE 201109, should I download VirtualBox for debian 5.0 or 6.0?
newbie_noob
Level 2
Level 2
 
Posts: 54
Joined: Thu Jan 27, 2011 8:25 pm

Re: kernel module for vmware workstation

Postby xenopeek on Mon Jan 16, 2012 5:19 pm

newbie_noob wrote:I have LMDE 201109, should I download VirtualBox for debian 5.0 or 6.0?

VirtualBox 6.0.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14983
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 5 guests