Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VMware Player on Mageia 4

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
alansecker



Joined: Wed Apr 20, 2005 9:40 pm
Posts: 21

PostPosted: Thu Jun 19, 2014 11:20 am    Post subject: VMware Player on Mageia 4 Reply with quote

VMware Player installed and executed well under Mageia 3 and on an AMD64 machine.

Under Mageia 4 it will not complete the module building process.
This is true with versions 4.0.6, 5.0.2 and 6.0.2.

The attitude on the forum is that Mageia is an unsupported platform. So much for choice!

I want to keep my virtual XP going as it has Dragon Naturally Speaking installed and I would like to continue using it. There is no Linux equivalent.

Attempts to use VirtualBox early on failed because Dragon would not even install on an XP under VBOx.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Thu Jun 19, 2014 12:56 pm    Post subject: Re: VMware Player on Mageia 4 Reply with quote

alansecker wrote:
VMware Player installed and executed well under Mageia 3 and on an AMD64 machine.

Under Mageia 4 it will not complete the module building process.


That's not a particularly helpful error report. Please tell us exactly what it said. You may need to run the installation from a terminal to get the full error message.

If I had to make a wild guess, and it couldn't be anything more without knowing what went wrong, I'd say check that you have the kernel source package installed. That is generally needed for building modules.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
alansecker



Joined: Wed Apr 20, 2005 9:40 pm
Posts: 21

PostPosted: Thu Jun 19, 2014 2:06 pm    Post subject: Re: VMware Player on Mageia 4 Reply with quote

Quite right. I beg your pardon.
The system uses an AMD Athlon dual core processor.
The kernel is version 3.12.20-server-1.mga4
The attempt to generate the kernel modules ends with:

compilation terminated.
scripts/Makefile.build:308: recipe for target '/tmp/modconfig-X1cYSE/vmci-only/linux/vmciKernelIf.o' failed
make[2]: *** [/tmp/modconfig-X1cYSE/vmci-only/linux/vmciKernelIf.o] Error 1
Makefile:1228: recipe for target '_module_/tmp/modconfig-X1cYSE/vmci-only' failed
make[1]: *** [_module_/tmp/modconfig-X1cYSE/vmci-only] Error 2
make[1]: Leaving directory '/usr/src/kernel-3.12.20-server-1.mga4'
Makefile:130: recipe for target 'vmci.ko' failed
make: *** [vmci.ko] Error 2
make: Leaving directory '/tmp/modconfig-X1cYSE/vmci-only'
Failed to build vmci. Failed to execute the build command.
Starting vmware (via systemctl): Job for vmware.service failed. See 'systemctl status vmware.service' and 'journalctl -xn' for details.
[FAILED]
# ps ax | grep vmw shows:
3962 ? Ssl 0:00 /usr/lib/vmware/bin/vmware-vmblock-fuse -o subtype=vmware-vmblock,default_permissions,allow_other /var/run/vmblock-fuse
3988 ? Ss 0:00 /usr/sbin/vmware-authdlauncher
14526 ? Ss 0:00 /usr/bin/vmware-usbarbitrator
15770 pts/3 S+ 0:00 grep --color vmw
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Thu Jun 19, 2014 4:24 pm    Post subject: Reply with quote

We need a few more lines, the actual error would have appeared before the "compilation terminated" message.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
alansecker



Joined: Wed Apr 20, 2005 9:40 pm
Posts: 21

PostPosted: Thu Jun 19, 2014 10:33 pm    Post subject: VMware Player on Mageia 4 Reply with quote

There are several log files. The extract I showed is from the terminal. I ran it again and collected it in a file. This is the content:

Stopping vmware (via systemctl): [ OK ]
make: Entering directory '/tmp/modconfig-GGMYVu/vmmon-only'
/usr/bin/make -C /lib/modules/3.12.20-server-1.mga4/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/kernel-3.12.20-server-1.mga4'
CC [M] /tmp/modconfig-GGMYVu/vmmon-only/linux/driver.o
CC [M] /tmp/modconfig-GGMYVu/vmmon-only/linux/hostif.o
scripts/Makefile.build:308: recipe for target '/tmp/modconfig-GGMYVu/vmmon-only/linux/driver.o' failed
scripts/Makefile.build:308: recipe for target '/tmp/modconfig-GGMYVu/vmmon-only/linux/hostif.o' failed
Makefile:1228: recipe for target '_module_/tmp/modconfig-GGMYVu/vmmon-only' failed
make[1]: Leaving directory '/usr/src/kernel-3.12.20-server-1.mga4'
Makefile:130: recipe for target 'vmmon.ko' failed
make: Leaving directory '/tmp/modconfig-GGMYVu/vmmon-only'
make: Entering directory '/tmp/modconfig-GGMYVu/vmnet-only'
/usr/bin/make -C /lib/modules/3.12.20-server-1.mga4/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/kernel-3.12.20-server-1.mga4'
CC [M] /tmp/modconfig-GGMYVu/vmnet-only/driver.o
CC [M] /tmp/modconfig-GGMYVu/vmnet-only/hub.o
scripts/Makefile.build:308: recipe for target '/tmp/modconfig-GGMYVu/vmnet-only/driver.o' failed
scripts/Makefile.build:308: recipe for target '/tmp/modconfig-GGMYVu/vmnet-only/hub.o' failed
Makefile:1228: recipe for target '_module_/tmp/modconfig-GGMYVu/vmnet-only' failed
make[1]: Leaving directory '/usr/src/kernel-3.12.20-server-1.mga4'
Makefile:130: recipe for target 'vmnet.ko' failed
make: Leaving directory '/tmp/modconfig-GGMYVu/vmnet-only'
make: Entering directory '/tmp/modconfig-GGMYVu/vmblock-only'
/usr/bin/make -C /lib/modules/3.12.20-server-1.mga4/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/kernel-3.12.20-server-1.mga4'
CC [M] /tmp/modconfig-GGMYVu/vmblock-only/linux/stubs.o
CC [M] /tmp/modconfig-GGMYVu/vmblock-only/linux/filesystem.o
scripts/Makefile.build:308: recipe for target '/tmp/modconfig-GGMYVu/vmblock-only/linux/stubs.o' failed
scripts/Makefile.build:308: recipe for target '/tmp/modconfig-GGMYVu/vmblock-only/linux/filesystem.o' failed
Makefile:1228: recipe for target '_module_/tmp/modconfig-GGMYVu/vmblock-only' failed
make[1]: Leaving directory '/usr/src/kernel-3.12.20-server-1.mga4'
Makefile:130: recipe for target 'vmblock.ko' failed
make: Leaving directory '/tmp/modconfig-GGMYVu/vmblock-only'
make: Entering directory '/tmp/modconfig-GGMYVu/vmci-only'
/usr/bin/make -C /lib/modules/3.12.20-server-1.mga4/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/kernel-3.12.20-server-1.mga4'
CC [M] /tmp/modconfig-GGMYVu/vmci-only/linux/vmciKernelIf.o
CC [M] /tmp/modconfig-GGMYVu/vmci-only/linux/driver.o
scripts/Makefile.build:308: recipe for target '/tmp/modconfig-GGMYVu/vmci-only/linux/driver.o' failed
scripts/Makefile.build:308: recipe for target '/tmp/modconfig-GGMYVu/vmci-only/linux/vmciKernelIf.o' failed
Makefile:1228: recipe for target '_module_/tmp/modconfig-GGMYVu/vmci-only' failed
make[1]: Leaving directory '/usr/src/kernel-3.12.20-server-1.mga4'
Makefile:130: recipe for target 'vmci.ko' failed
make: Leaving directory '/tmp/modconfig-GGMYVu/vmci-only'
Starting vmware (via systemctl): [FAILED]
Back to top
View user's profile Send private message
digri



Joined: Mon Jun 30, 2014 9:48 pm
Posts: 1

PostPosted: Tue Jul 01, 2014 7:48 pm    Post subject: Reply with quote

I have exactly the same problem, VMware Player 6.0.2, Mageia 4, kernel 3.12.21-desktop-2.mga4

The module cannot be build, because:

Code:

make: Entering directory '/tmp/modconfig-FObaA5/vmci-only'
Using 2.6.x kernel build system.
/usr/bin/make -C /lib/modules/3.12.21-desktop-2.mga4/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/kernel-3.12.21-desktop-2.mga4'
  CC [M]  /tmp/modconfig-FObaA5/vmci-only/linux/driver.o
  CC [M]  /tmp/modconfig-FObaA5/vmci-only/linux/vmciKernelIf.o
  CC [M]  /tmp/modconfig-FObaA5/vmci-only/common/vmciDriver.o
  CC [M]  /tmp/modconfig-FObaA5/vmci-only/common/vmciRoute.o
  CC [M]  /tmp/modconfig-FObaA5/vmci-only/common/vmciResource.o
  CC [M]  /tmp/modconfig-FObaA5/vmci-only/common/vmciDatagram.o
  CC [M]  /tmp/modconfig-FObaA5/vmci-only/common/vmciContext.o
  CC [M]  /tmp/modconfig-FObaA5/vmci-only/common/vmciHashtable.o
  CC [M]  /tmp/modconfig-FObaA5/vmci-only/common/vmciEvent.o
  CC [M]  /tmp/modconfig-FObaA5/vmci-only/common/vmciQueuePair.o
  CC [M]  /tmp/modconfig-FObaA5/vmci-only/common/vmciQPair.o
/tmp/modconfig-FObaA5/vmci-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/modconfig-FObaA5/vmci-only/linux/driver.c:740:12: error: incompatible types when assigning to type ‘VMCIHostUser’ from type ‘kuid_t’
       user = current_uid();
            ^


I tried some lame fix (don't know anything about kernel):

Code:

diff -Naur vmci-only/linux/vmciKernelIf.c vmci-only-new/linux/vmciKernelIf.c
--- vmci-only/linux/vmciKernelIf.c      2014-04-14 23:41:40.000000000 +0200
+++ vmci-only-new/linux/vmciKernelIf.c  2014-06-30 23:18:29.000000000 +0200
@@ -420,7 +420,7 @@
       return VMCI_ERROR_INVALID_ARGS;
    }
 
-   if (*user1 == *user2) {
+   if (user1->val == user2->val) {
       return VMCI_SUCCESS;
    } else {
       return VMCI_ERROR_GENERIC;
diff -Naur vmci-only/shared/vmci_kernel_if.h vmci-only-new/shared/vmci_kernel_if.h
--- vmci-only/shared/vmci_kernel_if.h   2014-04-14 23:41:41.000000000 +0200
+++ vmci-only-new/shared/vmci_kernel_if.h       2014-06-30 23:10:00.000000000 +0200
@@ -110,7 +110,7 @@
   typedef wait_queue_head_t VMCIEvent;
   typedef struct semaphore VMCIMutex;
   typedef PPN *VMCIPpnList; /* List of PPNs in produce/consume queue. */
-  typedef uid_t VMCIHostUser;
+  typedef kuid_t VMCIHostUser;
   typedef VA64 VMCIQPGuestMem;
 #elif defined(__APPLE__)
   typedef IOLock *VMCILock;


I succeeded in compiling the vmci module, but when loading it to kernel, it complains about some symbols and fails to load.

Code:

čec 01 19:56:09 fractal vmware[1935]: Starting VMware services:
čec 01 19:56:09 fractal kernel: /dev/vmmon[1981]: Module vmmon: registered with major=10 minor=165
čec 01 19:56:09 fractal kernel: /dev/vmmon[1981]: Module vmmon: initialized
čec 01 19:56:09 fractal vmware[1935]: Virtual machine monitor[  OK  ]
čec 01 19:56:09 fractal vmware[1935]: Virtual machine communication interface[SELHALO]
čec 01 19:56:09 fractal vmware[1935]: VM communication interface socket family[SELHALO]
čec 01 19:56:09 fractal kernel: [2003]: VMCI: shared components initialized.
čec 01 19:56:09 fractal kernel: [2003]: VMCI: host components initialized.
čec 01 19:56:09 fractal kernel: [2003]: VMCI: Module registered (name=vmci, major=10, minor=58).
čec 01 19:56:09 fractal kernel: [2003]: VMCI: Using host personality
čec 01 19:56:09 fractal kernel: [2003]: VMCI: Module (name=vmci) is initialized
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: disagrees about version of symbol vmci_datagram_create_handle_priv
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: Unknown symbol vmci_datagram_create_handle_priv (err -22)
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: disagrees about version of symbol vmci_context_get_priv_flags
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: Unknown symbol vmci_context_get_priv_flags (err -22)
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: disagrees about version of symbol vmci_qpair_get_produce_indexes
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: Unknown symbol vmci_qpair_get_produce_indexes (err -22)
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: disagrees about version of symbol vmci_qpair_consume_buf_ready
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: Unknown symbol vmci_qpair_consume_buf_ready (err -22)
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: disagrees about version of symbol vmci_datagram_destroy_handle
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: Unknown symbol vmci_datagram_destroy_handle (err -22)
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: disagrees about version of symbol vmci_qpair_produce_buf_ready
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: Unknown symbol vmci_qpair_produce_buf_ready (err -22)
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: disagrees about version of symbol vmci_event_subscribe
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: Unknown symbol vmci_event_subscribe (err -22)
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: disagrees about version of symbol vmci_datagram_send
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: Unknown symbol vmci_datagram_send (err -22)
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: disagrees about version of symbol vmci_qpair_produce_free_space
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: Unknown symbol vmci_qpair_produce_free_space (err -22)
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: disagrees about version of symbol vmci_qpair_get_consume_indexes
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: Unknown symbol vmci_qpair_get_consume_indexes (err -22)
čec 01 19:56:09 fractal kernel: vmw_vsock_vmci_transport: disagrees about version of symbol vmci_qpair_consume_free_space


Any ideas?

I'm not sure, what is this vmware module about, but vmware player works without it quite good, so it is not a big problem for me. I did not try other kernels, I guess, that it will work with the kernel from Mageia 3.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
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
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast