M-Bab / linux-kernel-amdgpu-binaries

Kernel binaries (amd64) of amd-staging with DAL and latest security patches
214 stars 29 forks source link

VMWare Workstation #67

Closed foureight84 closed 4 years ago

foureight84 commented 6 years ago

I just installed VMWare Workstation and it wouldn't start because the vmmnet wouldn't compile. I tried to manually compile it and I saw this error:

[AppLoader] GLib does not have GSettings support.
Stopping VMware services:
   VMware Authentication Daemon                                        done
   VM communication interface socket family                            done
   Virtual machine communication interface                             done
   Virtual machine monitor                                             done
   Blocking file system                                                done
make: Entering directory '/tmp/modconfig-gzS9zk/vmmon-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.18.5/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.18.5'
make[2]: *** No rule to make target '/tmp/modconfig-gzS9zk/vmmon-only/linux/driver.o', needed by '/tmp/modconfig-gzS9zk/vmmon-only/vmmon.o'.  Stop.
make[2]: *** Waiting for unfinished jobs....
Makefile:1529: recipe for target '_module_/tmp/modconfig-gzS9zk/vmmon-only' failed
make[1]: *** [_module_/tmp/modconfig-gzS9zk/vmmon-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.18.5'
Makefile:110: recipe for target 'vmmon.ko' failed
make: *** [vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-gzS9zk/vmmon-only'
make: Entering directory '/tmp/modconfig-gzS9zk/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.18.5/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.18.5'
make[2]: *** No rule to make target '/tmp/modconfig-gzS9zk/vmnet-only/driver.o', needed by '/tmp/modconfig-gzS9zk/vmnet-only/vmnet.o'.  Stop.
make[2]: *** Waiting for unfinished jobs....
Makefile:1529: recipe for target '_module_/tmp/modconfig-gzS9zk/vmnet-only' failed
make[1]: *** [_module_/tmp/modconfig-gzS9zk/vmnet-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.18.5'
Makefile:110: recipe for target 'vmnet.ko' failed
make: *** [vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-gzS9zk/vmnet-only'
Unable to install all modules.  See log for details.

I will try to get better error logs but seems that there's a missing dependency in the linux-headers

ariselseng commented 6 years ago

Same here. Also ZFS module did not build.

M-Bab commented 6 years ago

DKMS modules and custom kernels do not always play nicely together. Can you first exclude this is an issue of the relatively new kernel by cross checking with a mainline kernel?

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18.8/

M-Bab commented 6 years ago

Maybe also this comment helps that wrote you need the full source in https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/44

Simple fix sudo su cd /usr/src ; git clone https://github.com/M-Bab/linux-kernel-amdgpu.git # run the above script. done

M-Bab commented 5 years ago

Do the modules build now since the packages are build in a different way now?

cpfarher commented 5 years ago

@foureight84 Do you try compile with: https://github.com/mkubecek/vmware-host-modules ?

WinArch commented 2 years ago

Same here. Also ZFS module did not build.

and how i?