kernel module for vmware workstation

Archived topics about LMDE 1 and LMDE 2
Locked
newbie_noob

kernel module for vmware workstation

Post by newbie_noob »

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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: kernel module for vmware workstation

Post by xenopeek »

Moved here by moderator
Image
newbie_noob

Re: kernel module for vmware workstation

Post by newbie_noob »

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?
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: kernel module for vmware workstation

Post by xenopeek »

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/
Image
newbie_noob

Re: kernel module for vmware workstation

Post by newbie_noob »

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.
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: kernel module for vmware workstation

Post by xenopeek »

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.
Image
newbie_noob

Re: kernel module for vmware workstation

Post by newbie_noob »

I have LMDE 201109, should I download VirtualBox for debian 5.0 or 6.0?
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: kernel module for vmware workstation

Post by xenopeek »

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

Return to “LMDE Archive”