VMware Player on Mageia 4

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

VMware Player on Mageia 4

Postby alansecker » Thu Jun 19, 2014 10:20 am

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.
alansecker
 
Posts: 21
Joined: Wed Apr 20, 2005 8:40 pm

Re: VMware Player on Mageia 4

Postby nelz » Thu Jun 19, 2014 11:56 am

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)
User avatar
nelz
Site admin
 
Posts: 8523
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Re: VMware Player on Mageia 4

Postby alansecker » Thu Jun 19, 2014 1:06 pm

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
alansecker
 
Posts: 21
Joined: Wed Apr 20, 2005 8:40 pm

Postby nelz » Thu Jun 19, 2014 3:24 pm

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)
User avatar
nelz
Site admin
 
Posts: 8523
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

VMware Player on Mageia 4

Postby alansecker » Thu Jun 19, 2014 9:33 pm

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]
alansecker
 
Posts: 21
Joined: Wed Apr 20, 2005 8:40 pm

Postby digri » Tue Jul 01, 2014 6:48 pm

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: Select all
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: Select all
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: Select all
č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.
digri
 
Posts: 1
Joined: Mon Jun 30, 2014 8:48 pm


Return to Help!

Who is online

Users browsing this forum: No registered users and 2 guests