View previous topic :: View next topic |
Author |
Message |
cfgauss l33t
Joined: 18 May 2005 Posts: 688 Location: USA
|
Posted: Mon Oct 20, 2014 2:35 am Post subject: [SOLVED] vmware-modules-279.3 fails with kernel 3.17 |
|
|
The kernel is kernel-3.17.1-gentoo-r1.
Here's the first error compiling vmware-modules-279.3 against that kernel.
Code: | /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:138:32: error: incompatible types when assigning to type ‘kgid_t’ from type ‘int’
inode->i_uid = inode->i_gid = 0; |
Here's emerge --info '=app-emulation/vmware-modules-279.3::gentoo', the build log, and emerge -pqv '=app-emulation/vmware-modules-279.3::gentoo'.
Patches and/or hints will be gratefully received.
[SOLVED] As massimo suggests, vmware-modules-279.3-r1 is available in the vmware overlay and compiles with kernel 3.17 [/SOLVED]
With prior versions of vmware-modules, I had to search out patches in the bug reports whenever there was a version upgrade or a kernel upgrade. The overlay will make vmware-modules much easier to maintain.
Is there any hope that vmware-modules will return to the Portage tree?
Last edited by cfgauss on Mon Oct 20, 2014 3:12 pm; edited 1 time in total |
|
Back to top |
|
|
massimo Veteran
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Mon Oct 20, 2014 5:44 am Post subject: |
|
|
I had the same problem with 3.14.14. I installed the package from the vmware overlay. _________________ Hello 911? How are you? |
|
Back to top |
|
|
cfgauss l33t
Joined: 18 May 2005 Posts: 688 Location: USA
|
Posted: Mon Oct 20, 2014 3:12 pm Post subject: |
|
|
massimo wrote: | I had the same problem with 3.14.14. I installed the package from the vmware overlay. |
Many thanks. That works. |
|
Back to top |
|
|
lokoalex Apprentice
Joined: 02 Dec 2004 Posts: 194 Location: Jersey
|
Posted: Sat Nov 22, 2014 12:05 am Post subject: |
|
|
Can you guide me as to how you did this. I have the vmware overlay but it is not pulling app-emulation/vmware-modules-279.3r1. Instead it keeps pulling: app-emulation/vmware-modules-279.3. _________________ Gentoo and I have an On-Off relationship.... |
|
Back to top |
|
|
cfgauss l33t
Joined: 18 May 2005 Posts: 688 Location: USA
|
Posted: Sat Nov 22, 2014 3:59 pm Post subject: |
|
|
lokoalex wrote: | Can you guide me as to how you did this. I have the vmware overlay but it is not pulling app-emulation/vmware-modules-279.3r1. Instead it keeps pulling: app-emulation/vmware-modules-279.3. |
I use layman to manage my overlays. There's a section on priorities there and also in the overlay docs. Perhaps priorities is the problem. |
|
Back to top |
|
|
lokoalex Apprentice
Joined: 02 Dec 2004 Posts: 194 Location: Jersey
|
Posted: Fri Nov 28, 2014 8:22 pm Post subject: |
|
|
Thanks @cfgauss. That worked using layman. Now i have another problem /etc/init.d/vmware start gives me the following output:
Code: | /etc/init.d/vmware start
* Starting VMware USB Arbitrator ... [ !! ]
* Starting VMware services ...
insmod /lib/modules/3.17.3-gentoo/misc/vmci.ko
modprobe: ERROR: could not insert 'vmci': Exec format error
modprobe: FATAL: Module vmw_vmci not found. [ !! ]
insmod /lib/modules/3.17.3-gentoo/misc/vmmon.ko
modprobe: ERROR: could not insert 'vmmon': Exec format error
insmod /lib/modules/3.17.3-gentoo/misc/vmci.ko
modprobe: ERROR: could not insert 'vmci': Exec format error
insmod /lib/modules/3.17.3-gentoo/misc/vmci.ko
modprobe: ERROR: could not insert 'vsock': Exec format error
insmod /lib/modules/3.17.3-gentoo/misc/vmblock.ko
modprobe: ERROR: could not insert 'vmblock': Exec format error
insmod /lib/modules/3.17.3-gentoo/misc/vmnet.ko
modprobe: ERROR: could not insert 'vmnet': Exec format error [ !! ]
Started Bridge networking on vmnet0
Failed to enable hostonly virtual adapter on vmnet1
Failed to start DHCP service on vmnet1
Failed to start NAT service on vmnet8
Failed to enable hostonly virtual adapter on vmnet8
Failed to start DHCP service on vmnet8
Failed to start some/all services [ !! ]
* ERROR: vmware failed to start |
Any suggestions? _________________ Gentoo and I have an On-Off relationship.... |
|
Back to top |
|
|
cfgauss l33t
Joined: 18 May 2005 Posts: 688 Location: USA
|
Posted: Sat Nov 29, 2014 6:18 pm Post subject: |
|
|
lokoalex wrote: | Thanks @cfgauss. That worked using layman. Now i have another problem /etc/init.d/vmware start gives me the following output:
Code: | /etc/init.d/vmware start
* Starting VMware USB Arbitrator ... [ !! ]
* Starting VMware services ...
insmod /lib/modules/3.17.3-gentoo/misc/vmci.ko
modprobe: ERROR: could not insert 'vmci': Exec format error
...
|
|
You might try recompiling. Check your running kernel with uname -r. Then check the current kernel source with ls -l /usr/src/linux to make sure it agrees. If it does, emerge --oneshot vmware-modules and retry the vmware init script. |
|
Back to top |
|
|
lokoalex Apprentice
Joined: 02 Dec 2004 Posts: 194 Location: Jersey
|
Posted: Sun Nov 30, 2014 12:02 am Post subject: |
|
|
Thank you for your help. My kernel was pointing to the wrong version. Changed it, recompiled, emerged --oneshot, ran init script, started vmware and it works.
Thanks _________________ Gentoo and I have an On-Off relationship.... |
|
Back to top |
|
|
feiticeir0 Apprentice
Joined: 13 Jul 2005 Posts: 288 Location: Castelo Branco, Portugal
|
Posted: Thu Feb 12, 2015 8:57 am Post subject: |
|
|
Thank you !
That solved my problem ! _________________ Do It With Rhythm |
|
Back to top |
|
|
|