Linux OS
# uname -a
Linux localhost 4.7.0-1-ARCH #1 SMP PREEMPT Mon Aug 8 22:05:58 CEST 2016 x86_64 GNU/Linux
Pre-settings:
pacman -S linux-headers
pacman -S gcc
pacman -S make
Download VMware 12pro
Execute and install vmware
# sudo bash VMware-Workstation-Full-12.1.1-3770994.x86_64.bundle
After install vmware start to execute "vmware" or "sudo vmware-modconfig --console --install-all".
("sudo vmware-modconfig --console --install-all" compile vmware kernel module)
There are some file which under " /usr/lib/vmware/modules/source" need to be fixed.
The file of VMware kernel module Source under /usr/lib/vmware/modules/source
vmblock.tar vmci.tar vmmon.tar vmnet.tar vsock.tar
vmnet.tar :
userif.c:
Decompress vmnet.tar and edit userif.c and find following string.
“get_user_pages” to “get_user_pages_remote”
netif.c:
Edit following file
/tmp/test/vmnet-only/netif.c:468:7: error: ‘struct net_device’ has no member named ‘trans_start’; did you mean ‘mem_start’?
dev->trans_start = jiffies; –> dev->mem_start = jiffies;
vmmon.tar :
hostif.c:
edit hostif.c and find following string.
“get_user_pages” to “get_user_pages_remote”
/tmp/test/vmmon-only/linux/hostif.c:1165:13: error: too many arguments to function ‘get_user_pages’
Reference:
Debug :
Q1:
How to debug
A:
There are many log under /tmp/vmware-root
Q2:
Directory must be non-empty
System service scripts directory (commonly /etc/init.d)
A:
sudo mkdir /etc/init.d
Note :
YF590-4WX8M-H81QZ-2YX59-XVAF6
Reference:
沒有留言:
張貼留言