| View previous topic :: View next topic |
| Author |
Message |
cfgauss l33t


Joined: 18 May 2005 Posts: 723 Location: USA
|
Posted: Sun Feb 15, 2015 8:44 pm Post subject: [SOLVED] vmware-modules fails with kernel 3.19 |
|
|
I am trying to emerge vmware-modules-279.3-r1::vmware under kernel 3.19.0-gentoo but get the errors mentioned in this bug report. I get the same errors when I use the patches provided with that report.
Any pointers on how to emerge vmware-modules under this kernel would be gratefully received.
This worked partially for me. - In the kernel's config, set the flags CONFIG_VMWARE_VMCI_VSOCKETS=y CONFIG_VMWARE_VMCI=y and compile a new kernel.
- Download the three vmware-modules patches by Harris Landgarten in this other bug report.
- Compile vmware-modules with USE flags -vmci -vsock
Then I was able to run vmware once but not after a reboot. The init scripts give me this error:
| Code: | ./vmware restart
* Stopping VMware USB Arbitrator ...
/opt/vmware/bin/vmware-usbarbitrator: no process found [ !! ]
Stopped all configured services on all networks [ ok ]
* Stopping VMware services ...
modprobe: FATAL: Module vsock is builtin. [ !! ]
modprobe: FATAL: Module vmci not found.
modprobe: FATAL: Module vmw_vmci is builtin. [ !! ]
* ERROR: vmware failed to stop |
[SOLVED] Hotblack's four patches (below) work without modifying the kernel. [/SOLVED]
Last edited by cfgauss on Tue Feb 17, 2015 3:42 am; edited 1 time in total |
|
| Back to top |
|
 |
Hotblack n00b


Joined: 28 Dec 2004 Posts: 47
|
Posted: Mon Feb 16, 2015 10:39 pm Post subject: |
|
|
Create the dir for patches:
| Code: | | # mkdir -p /etc/portage/patches/app-emulation/vmware-modules |
Download these four patches:
| Code: | | # curl http://pastie.org/pastes/9934018/download -o /etc/portage/patches/app-emulation/vmware-modules/vmnet-3.19.patch |
| Code: | | # curl http://keiblo.com/?wpdmdl=1171 -o /etc/portage/patches/app-emulation/vmware-modules/af_vsock-3.19.patch |
| Code: | | # curl http://keiblo.com/?wpdmdl=1172 -o /etc/portage/patches/app-emulation/vmware-modules/vmci-3.19.patch |
| Code: | | # curl http://keiblo.com/?wpdmdl=1173 -o /etc/portage/patches/app-emulation/vmware-modules/vmblock-3.19.patch |
| Code: | | # emerge vmware-modules |
This works for me without disabling vmci and vsock, and without the flags in the kernel. |
|
| Back to top |
|
 |
cfgauss l33t


Joined: 18 May 2005 Posts: 723 Location: USA
|
Posted: Tue Feb 17, 2015 3:41 am Post subject: |
|
|
| Hotblack wrote: | Create the dir for patches:
| Code: | | # mkdir -p /etc/portage/patches/app-emulation/vmware-modules |
Download these four patches:
| Code: | | # curl http://pastie.org/pastes/9934018/download -o /etc/portage/patches/app-emulation/vmware-modules/vmnet-3.19.patch |
| Code: | | # curl http://keiblo.com/?wpdmdl=1171 -o /etc/portage/patches/app-emulation/vmware-modules/af_vsock-3.19.patch |
| Code: | | # curl http://keiblo.com/?wpdmdl=1172 -o /etc/portage/patches/app-emulation/vmware-modules/vmci-3.19.patch |
| Code: | | # curl http://keiblo.com/?wpdmdl=1173 -o /etc/portage/patches/app-emulation/vmware-modules/vmblock-3.19.patch |
| Code: | | # emerge vmware-modules |
This works for me without disabling vmci and vsock, and without the flags in the kernel. |
I can confirm that these four patches work for my vmware-modules-279.3-r1::vmware and the 3.19.0-gentoo kernel without the VMWARE flags. Many thanks, Hotblack. |
|
| Back to top |
|
 |
vhristev n00b

Joined: 08 Jan 2014 Posts: 22
|
Posted: Fri Feb 20, 2015 12:04 pm Post subject: |
|
|
Hello ,
I also can confirm Hotblack patches are working:
I'm using vmware overlay.
app-emulation/vmware-modules-279.3-r1::vmware
Kernel - 3.6.19. _________________ Being lazy means being smart |
|
| Back to top |
|
 |
RWott n00b

Joined: 29 May 2015 Posts: 3
|
Posted: Fri May 29, 2015 8:05 pm Post subject: |
|
|
I had the same problem when I was in kernel 3.19.1 and found this thread and the solution really helpful. Thank you!
Now I had the same problem again going to kernel 4.0.4, and based on the same patches, I developed a solution that can be found here:
https://github.com/rgwott/gentoo-vmware-modules-patch-kernel4.0.4
It worked as a charm for me, but USE AT YOUR OWN RISK! |
|
| Back to top |
|
 |
tom2 n00b

Joined: 13 Jun 2015 Posts: 1
|
Posted: Sat Jun 13, 2015 11:20 am Post subject: |
|
|
| Thank RWott, your patches work with kernel 4.0.5 |
|
| Back to top |
|
 |
Letharion Veteran

Joined: 13 Jun 2005 Posts: 1344 Location: Sweden
|
Posted: Mon Jun 15, 2015 7:50 pm Post subject: |
|
|
| RWott wrote: | I had the same problem when I was in kernel 3.19.1 and found this thread and the solution really helpful. Thank you!
Now I had the same problem again going to kernel 4.0.4, and based on the same patches, I developed a solution that can be found here:
https://github.com/rgwott/gentoo-vmware-modules-patch-kernel4.0.4
It worked as a charm for me, but USE AT YOUR OWN RISK! |
Thank you very much.
Using your patches I successfully compiled | Code: | | app-emulation/vmware-modules-279.3-r1::vmware | with | Code: | | sys-kernel/gentoo-sources-4.0.5:4.0.5::gentoo |
|
|
| Back to top |
|
 |
cfgauss l33t


Joined: 18 May 2005 Posts: 723 Location: USA
|
Posted: Mon Jun 15, 2015 9:47 pm Post subject: |
|
|
| Comment 26 from this bug report provides a different way to compile vmware-modules under the 4.0 kernel. |
|
| Back to top |
|
 |
MaDDeePee Guru


Joined: 18 Aug 2004 Posts: 393 Location: Germany
|
Posted: Wed Jun 17, 2015 8:31 pm Post subject: |
|
|
| Letharion wrote: | | RWott wrote: | I had the same problem when I was in kernel 3.19.1 and found this thread and the solution really helpful. Thank you!
Now I had the same problem again going to kernel 4.0.4, and based on the same patches, I developed a solution that can be found here:
https://github.com/rgwott/gentoo-vmware-modules-patch-kernel4.0.4
It worked as a charm for me, but USE AT YOUR OWN RISK! |
Thank you very much.
Using your patches I successfully compiled | Code: | | app-emulation/vmware-modules-279.3-r1::vmware | with | Code: | | sys-kernel/gentoo-sources-4.0.5:4.0.5::gentoo |
|
Hi, can you tell me how to apply this...or just provide a working ebuild...please?  |
|
| Back to top |
|
 |
radio_flyer Guru


Joined: 04 Nov 2004 Posts: 318 Location: Northern California
|
Posted: Thu Jun 18, 2015 7:39 pm Post subject: |
|
|
Agreed. Thanks RWott. Now that 4.0.5 has hit stable I suspect this thread is going to become popular.
MaDDeePee, follow Hotblack's instructions: create the /etc/portage/patches/app-emulation/vmware-modules-279.5/ subdirectory. Copy RWott's patches there. (Click the RAW button on github to see the raw patch if you don't do git.) The vmware-module ebuild supports epatch_user(), so you're good to go. Just run emerge @module-rebuild and all should be fine. |
|
| Back to top |
|
 |
MaDDeePee Guru


Joined: 18 Aug 2004 Posts: 393 Location: Germany
|
Posted: Fri Jun 19, 2015 4:45 pm Post subject: |
|
|
| radio_flyer wrote: | Agreed. Thanks RWott. Now that 4.0.5 has hit stable I suspect this thread is going to become popular.
MaDDeePee, follow Hotblack's instructions: create the /etc/portage/patches/app-emulation/vmware-modules-279.5/ subdirectory. Copy RWott's patches there. (Click the RAW button on github to see the raw patch if you don't do git.) The vmware-module ebuild supports epatch_user(), so you're good to go. Just run emerge @module-rebuild and all should be fine. |
ahhhhhh, i see!
Thank you very much!
(didnt work with 279.5 but very well with 279.3-r1)
#thumbsup !
 |
|
| Back to top |
|
 |
urcindalo l33t

Joined: 08 Feb 2005 Posts: 623 Location: Almeria, Spain
|
Posted: Tue Jun 30, 2015 10:45 am Post subject: |
|
|
| Does anybody know how to make it possible to compile vmware-modules-279.5 from the vmware overlay with gentoo-sources-4.0.5? |
|
| Back to top |
|
 |
Letharion Veteran

Joined: 13 Jun 2005 Posts: 1344 Location: Sweden
|
Posted: Tue Jun 30, 2015 6:06 pm Post subject: |
|
|
| urcindalo wrote: | | Does anybody know how to make it possible to compile vmware-modules-279.5 from the vmware overlay with gentoo-sources-4.0.5? |
I tried sometime ago, before I had a better understanding of the issues involved. It's most likely doable, but I don't recall the details. Is there a specific reason you need that particular version?
Download the four patches used for 279.3, and start by seeing if any of them match the ones already applied by the 279.5 ebuild. If so, skip those. Then try to compile, and post back with results. |
|
| Back to top |
|
 |
RWott n00b

Joined: 29 May 2015 Posts: 3
|
Posted: Wed Jul 08, 2015 12:10 am Post subject: |
|
|
I did not try to fix 279.5, but again I had problems when I upgraded my kernel. Then I developed a new set of patches that makes
| Code: | | app-emulation/vmware-modules-279.3 |
compile with
| Code: | | sys-kernel/gentoo-sources-4.1.1-r1 |
Link: https://github.com/rgwott/gentoo-vmware-modules-279.3-patch-kernel4.1.1
I have not tested actually executing a VM, just ran vmware-player without errors. So again, use at your own risk.
Instructions: just the same as before, clone the repository (or download the files from GitHub manually) and place the files in folder
| Code: | | /etc/portage/patches/app-emulation/vmware-modules |
Cheers guys! |
|
| Back to top |
|
 |
RWott n00b

Joined: 29 May 2015 Posts: 3
|
Posted: Sat Jul 18, 2015 9:16 pm Post subject: |
|
|
| Just to confirm, the patch from the previous post is working accordingly. My VMs work as expected. |
|
| Back to top |
|
 |
|