Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vmware-modules-279.1 failed to build
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
AstroFloyd
n00b
n00b


Joined: 18 Oct 2011
Posts: 56

PostPosted: Fri May 09, 2014 10:07 am    Post subject: Reply with quote

I just succesfully installed vmware-modules-279.2 with stable kernel 3.12.13-gentoo on x86_64 using the two patches mentioned. In full:
Code:
# mkdir -p /etc/portage/patches/app-emulation/vmware-modules-279.2
# cd /etc/portage/patches/app-emulation/vmware-modules-279.2
# wget https://raw.githubusercontent.com/kitech/vmware-modules/master/279-vmblock-3.11.patch
# wget https://raw.githubusercontent.com/kitech/vmware-modules/master/279-vmblock-3.12.patch
# cd -
# emerge -v app-emulation/vmware-modules
I hope this may be of use to others.
Back to top
View user's profile Send private message
mephinet
n00b
n00b


Joined: 15 May 2008
Posts: 17

PostPosted: Fri May 16, 2014 7:29 am    Post subject: Reply with quote

thanks, AstroFloyd! :D
Back to top
View user's profile Send private message
GenProm
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2011
Posts: 100
Location: Germany

PostPosted: Sun Jun 01, 2014 10:03 am    Post subject: Reply with quote

@ AstroFloyd

Thanks This worked well here with: 3.12.20-gentoo.

All the Best

Manu
_________________
Thank you for your help.

Manuel
Back to top
View user's profile Send private message
bpaddock
Apprentice
Apprentice


Joined: 04 Nov 2005
Posts: 195
Location: Franklin, PA

PostPosted: Sat Jun 14, 2014 12:58 pm    Post subject: Reply with quote

AstroFloyd wrote:
I just succesfully installed vmware-modules-279.2 with stable kernel 3.12.13-gentoo on x86_64 using the two patches mentioned. In full:
Code:
# mkdir -p /etc/portage/patches/app-emulation/vmware-modules-279.2
# cd /etc/portage/patches/app-emulation/vmware-modules-279.2
# wget https://raw.githubusercontent.com/kitech/vmware-modules/master/279-vmblock-3.11.patch
# wget https://raw.githubusercontent.com/kitech/vmware-modules/master/279-vmblock-3.12.patch
# cd -
# emerge -v app-emulation/vmware-modules
I hope this may be of use to others.


Not working on 3.12.21-gentoo-r1 .:-(

Suggestions?

Here is the reject log:

Code:

***** 279-vmblock-3.11.patch *****
PWD: /var/tmp/portage/app-emulation/vmware-modules-279.2/work

==================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//app-emulation/vmware-modules-279.2/279-vmblock-3.11.patch'

==================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/vmblock-only/linux/file.c
|+++ b/vmblock-only/linux/file.c
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored

patch program exited with status 1
==================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//app-emulation/vmware-modules-279.2/279-vmblock-3.11.patch'

==================================
patching file vmblock-only/linux/file.c
Hunk #1 FAILED at 38.
Hunk #2 FAILED at 166.
Hunk #3 FAILED at 184.
Hunk #4 FAILED at 237.
4 out of 4 hunks FAILED -- saving rejects to file vmblock-only/linux/file.c.rej

patch program exited with status 1
==================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//app-emulation/vmware-modules-279.2/279-vmblock-3.11.patch'

==================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/vmblock-only/linux/file.c
|+++ b/vmblock-only/linux/file.c
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored

patch program exited with status 1
==================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//app-emulation/vmware-modules-279.2/279-vmblock-3.11.patch'

==================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/vmblock-only/linux/file.c
|+++ b/vmblock-only/linux/file.c
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored

patch program exited with status 1
==================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//app-emulation/vmware-modules-279.2/279-vmblock-3.11.patch'

==================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/vmblock-only/linux/file.c
|+++ b/vmblock-only/linux/file.c
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored

patch program exited with status 1
Back to top
View user's profile Send private message
x610
n00b
n00b


Joined: 07 Aug 2014
Posts: 6
Location: USA, NJ

PostPosted: Thu Aug 07, 2014 1:47 am    Post subject: Reply with quote

bpaddock,
Not sure if you still need an answer, but I will post for others.

Post by AstroFloyd didn't work for me either, I was able to install vmware-modules using this method

sQu1rr wrote:
Fix for new kernel (3.14.0), actually this should work with every kernel below this version too

https://drive.google.com/folderview?id=0B579cKBZiJ8tMkJPdmVGbUV3VjA&usp=sharing

just run
sudo ./fix.sh
sudo emerge vmware-modules


And also I had to downgrade from 3.15.x to 3.14.15 kernel.
Back to top
View user's profile Send private message
mcdinner
n00b
n00b


Joined: 04 Apr 2007
Posts: 2

PostPosted: Mon Sep 29, 2014 9:24 pm    Post subject: Reply with quote

Hi all,

to install vmware-modules-279.2 with kernel 3.14.14-gentoo it worked for me to put only the

patchfile 279-linux-3.14.patch from the above link https://drive.google.com/folderview?id=0B579cKBZiJ8tMkJPdmVGbUV3VjA&usp=sharing to /etc/portage/patches/app-emulation/vmware-modules-279.2


no other patches required for me.


good luck everyone
Back to top
View user's profile Send private message
nlsa8z6zoz7lyih3ap
Guru
Guru


Joined: 25 Sep 2007
Posts: 388
Location: Canada

PostPosted: Tue Sep 30, 2014 4:39 pm    Post subject: Reply with quote

Quote:
to install vmware-modules-279.2 with kernel 3.14.14-gentoo it worked for me to put only the

patchfile 279-linux-3.14.patch from the above link https://drive.google.com/folderview?id=0B579cKBZiJ8tMkJPdmVGbUV3VjA&usp=sharing to /etc/portage/patches/app-emulation/vmware-modules-279.2


It compiles OK for me but one of the modules can not be loaded.

Code:
modprobe vmblock
modprobe: ERROR: could not insert 'vmblock': Unknown symbol in module, or unknown parameter (see dmesg)
Back to top
View user's profile Send private message
aim nano
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2006
Posts: 131
Location: Jackson, MS

PostPosted: Thu Oct 02, 2014 3:05 am    Post subject: Reply with quote

Is this not at all possible running kernel 3.16.x?

Edit:

Resolved by copying the patches found here: https://bugs.gentoo.org/attachment.cgi?id=382404&action=edit

to /usr/portage/app-emulation/vmware-modules/

and running: USE="vmci vsock" sudo emerge -av vmware-modules

per this thread (thanks risq!)

https://forums.gentoo.org/viewtopic-t-999210.html?sid=b715d8dc8af9e7336735cf406035d958

P.S. I'm on kernel 3.16.3 atm
_________________
Unanswered posts need love too.
--
~ # emerge -pv gentoo-love
Back to top
View user's profile Send private message
bpaddock
Apprentice
Apprentice


Joined: 04 Nov 2005
Posts: 195
Location: Franklin, PA

PostPosted: Mon Oct 06, 2014 2:28 am    Post subject: Reply with quote

x610 wrote:
bpaddock,
Not sure if you still need an answer, but I will post for others.

Post by AstroFloyd didn't work for me either, I was able to install vmware-modules using this method

sQu1rr wrote:
Fix for new kernel (3.14.0), actually this should work with every kernel below this version too

https://drive.google.com/folderview?id=0B579cKBZiJ8tMkJPdmVGbUV3VjA&usp=sharing

just run
sudo ./fix.sh
sudo emerge vmware-modules


And also I had to downgrade from 3.15.x to 3.14.15 kernel.


Alas I have not got this to work, nor any of the other solutions in this thread. :-(
Why is this such a pain in the ass?

I'm now running:

Code:

uname -a
 3.14.14-gentoo #1 SMP Sun Aug 17 09:07:07 EDT 2014 x86_64 Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz GenuineIntel GNU/Linux


If I put only the 279-linux-3.14 patch in /etc/portage/patch ... everything compiles but vmblock will not load.

Any other suggestions in this thread, or the one for .15/.16 thread, all give me "file not found" type errors during the patch command. :-(

Typical error from either fix.sh, or trying to run the 2791-r1 ebuild found in the .15/.16 bug report:

Code:

***** 279-makefile-kernel-dir.patch *****
PWD: /var/tmp/portage/app-emulation/vmware-modules-279.2-r1/work

=========================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/usr/local/portage/app-emulation/vmware-modules/files/279-makefile-kernel-dir.patch'

=========================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/vmblock-only/Makefile b/vmblock-only/Makefile
|index 2b81323..746c8b8 100644
|--- a/vmblock-only/Makefile
|+++ b/vmblock-only/Makefile
--------------------------


Suggestions?
Back to top
View user's profile Send private message
cevado
n00b
n00b


Joined: 11 Feb 2014
Posts: 8

PostPosted: Tue Oct 07, 2014 5:06 pm    Post subject: Reply with quote

I tried the 279-linux-3.14 patch and got the errors...
Code:
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-279.2/work/vmblock-only/linux/inode.o] Error 1

Code:
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-279.2/work/vmblock-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-3.14.14-gentoo'
make: *** [vmblock.ko] Error 2


if it help anything i can post my entire build.log here


p.s.: sorry for any grammar error, i'm brazilian so i'm not quite good in english :D
Back to top
View user's profile Send private message
chix4mat
Apprentice
Apprentice


Joined: 11 Dec 2005
Posts: 190
Location: Canada

PostPosted: Tue Oct 21, 2014 10:11 pm    Post subject: Reply with quote

In case anyone finds it useful, I'm having success running the 279.3-r1 version of vmware-modules found in the 'vmware' overlay and the latest kernel (3.17.1).

Exact versions I'm using:

app-emulation/vmware-workstation-10.0.3.1895310

app-emulation/vmware-tools-9.6.2.1744117

app-emulation/vmware-modules-279.3-r1 (from the vmware overlay)

sys-kernel/gentoo-sources-3.17.1-r1

Here's a screenshot in case it explains it better: http://i.imgur.com/v9jnSDB.png
_________________
emerge -NuDe world
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
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