Build host vmware kernel modules: Difference between revisions
Jump to navigation
Jump to search
Build host vmware kernel modules (view source)
Revision as of 12:30, 12 October 2015
, 12 October 2015→Troubleshooting
(added tip from birdie on creating an alias for vmware-config.pl on newer VMware workstation setups) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 51: | Line 51: | ||
-rw-r--r-- 1 root root 79897 2008-12-07 01:07 vmnet.ko | -rw-r--r-- 1 root root 79897 2008-12-07 01:07 vmnet.ko | ||
-rw-r--r-- 1 root root 34834 2008-12-07 01:07 vsock.ko | -rw-r--r-- 1 root root 34834 2008-12-07 01:07 vsock.ko | ||
If you get error "Icon name must be set." then you can fix that by adding the parameter for that to vmware-modconfig: | |||
vmware-modconfig --icon="vmware-workstation" | |||
If you get error "Application name must be set" then you can fix that by adding the parameter to set that: | |||
vmware-modconfig --appname="VMware Workstation" | |||
If there are still problems then vmware-modconfig tells you where it writes out a log, it helps to read it for example: | |||
vmware-modconfig --icon="vmware-workstation" --appname="VMware Workstation" | |||
Logging to /root/tmp/vmware-root/modconfig-2221.log | |||
Check that file! | |||
In my case for example it says: | |||
failed to find /lib/modules/3.12.xx/build/include/linux/version.h | |||
That's because in later versions the version.h file has been moved (smart move!) to another location. | |||
So in order to get past that you have to add a symbolic link (replace) | |||
# ln -s /usr/src/`uname -r`/include/generated/uapi/linux/version.h /usr/src/`uname -r`/include/linux/version.h | |||
Note that your OS might just have the kernel-devel packages installed and in that case you might have to replace `uname -r` in the above with linux. | |||
Eg: | |||
# ln -s /usr/src/linux/include/generated/uapi/linux/version.h /usr/src/linux/include/linux/version.h | |||
====Alternative solution==== | ====Alternative solution==== |