已更新至 15.10,现在 VMware Workstation 11 无法启动

已更新至 15.10,现在 VMware Workstation 11 无法启动

升级到 ubuntu 15.10 后我遇到了这个问题。当我启动 vmware 时,它​​会弹出提示说需要将几个模块编译到正在运行的内核中。

它失败并显示一条错误消息,提示无法启动服务。

从终端启动后,我得到了更多信息。我正在运行完全更新的 ubuntu 15.10,并使用 VMware Workstation 11.1.2 build-2780323

In file included from include/linux/pci.h:35:0,
                 from /tmp/modconfig-6ABO6Y/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-6ABO6Y/vmnet-only/bridge.c:51:
include/linux/pci_ids.h:2252:0: note: this is the location of the previous definition
 #define PCI_VENDOR_ID_VMWARE  0x15ad
 ^
In file included from /tmp/modconfig-6ABO6Y/vmnet-only/bridge.c:50:0:
/tmp/modconfig-6ABO6Y/vmnet-only/bridge.c: In function ‘VNetBridgeUp’:
/tmp/modconfig-6ABO6Y/vmnet-only/vmnetInt.h:81:40: error: too few arguments to function ‘sk_alloc’
 #   define compat_sk_alloc(_bri, _pri) sk_alloc(&init_net, \
                                        ^
/tmp/modconfig-6ABO6Y/vmnet-only/bridge.c:952:17: note: in expansion of macro ‘compat_sk_alloc’
    bridge->sk = compat_sk_alloc(bridge, GFP_ATOMIC);
                 ^
In file included from /tmp/modconfig-6ABO6Y/vmnet-only/compat_sock.h:23:0,
                 from /tmp/modconfig-6ABO6Y/vmnet-only/bridge.c:35:
include/net/sock.h:1515:14: note: declared here
 struct sock *sk_alloc(struct net *net, int family, gfp_t priority,
              ^
scripts/Makefile.build:258: recipe for target '/tmp/modconfig-6ABO6Y/vmnet-only/bridge.o' failed
make[2]: *** [/tmp/modconfig-6ABO6Y/vmnet-only/bridge.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1398: recipe for target '_module_/tmp/modconfig-6ABO6Y/vmnet-only' failed
make[1]: *** [_module_/tmp/modconfig-6ABO6Y/vmnet-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-16-generic'
Makefile:120: recipe for target 'vmnet.ko' failed
make: *** [vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-6ABO6Y/vmnet-only'
Starting VMware services:
   Virtual machine monitor                                             done
   Virtual machine communication interface                             done
   VM communication interface socket family                            done
   Blocking file system                                                done
   Virtual ethernet                                                   failed
   VMware Authentication Daemon                                        done

uname -a

Linux testpc-cue 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

相关内容