Як виправити "Неможливо запустити послуги" в VMware Player 4.0.3. на Ubuntu 12.04 32 біт


10

Я щойно оновив до Ubuntu 12.04 і встановив найсвіжіший VMware (4.0.3). Коли він запускається, він показує "Перед тим, як запустити VMware, кілька модулів повинні бути скомпільовані та завантажені в запущене ядро".

Після компіляції відображається "Неможливо запустити послуги. Детальну інформацію див. У файлі журналу /tmp/vmware-root/modconfig-17200.log". Журнал:

2012-05-07T12:43:24.786-03:00| vthread-3| I120: Log for VMware Workstation pid=17200 version=8.0.3 build=build-703057 option=Release
2012-05-07T12:43:24.786-03:00| vthread-3| I120: The process is 32-bit.
2012-05-07T12:43:24.786-03:00| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8
2012-05-07T12:43:24.786-03:00| vthread-3| I120: Host is Linux 3.2.0-24-generic-pae Ubuntu 12.04 LTS
2012-05-07T12:43:24.785-03:00| vthread-3| I120: Msg_Reset:
2012-05-07T12:43:24.785-03:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2012-05-07T12:43:24.785-03:00| vthread-3| I120: ----------------------------------------
2012-05-07T12:43:24.785-03:00| vthread-3| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2012-05-07T12:43:24.786-03:00| vthread-3| I120: Msg_Reset:
2012-05-07T12:43:24.786-03:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory.
2012-05-07T12:43:24.786-03:00| vthread-3| I120: ----------------------------------------
2012-05-07T12:43:24.786-03:00| vthread-3| I120: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2012-05-07T12:43:24.786-03:00| vthread-3| W110: Logging to /tmp/vmware-root/modconfig-17200.log
2012-05-07T12:43:24.901-03:00| vthread-3| I120: modconf query interface initialized
2012-05-07T12:43:24.922-03:00| vthread-3| I120: modconf library initialized
2012-05-07T12:43:24.948-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:24.952-03:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:24.952-03:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-05-07T12:43:24.952-03:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-05-07T12:43:24.952-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:24.954-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:24.962-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:24.988-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:24.988-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:24.990-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:24.997-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:25.024-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:25.043-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.046-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.049-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.052-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.056-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.070-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.072-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.075-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.077-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.079-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.081-03:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:25.081-03:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-05-07T12:43:25.081-03:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-05-07T12:43:25.081-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:25.083-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:25.090-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:25.111-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:25.128-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.130-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.133-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.135-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.138-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.140-03:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:25.140-03:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-05-07T12:43:25.140-03:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-05-07T12:43:25.140-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:25.142-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:25.150-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:25.175-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:25.207-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.211-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.213-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.216-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.218-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.449-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:25.450-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:25.452-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:25.462-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:25.491-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:25.491-03:00| vthread-3| I120: Building module vmmon.
2012-05-07T12:43:25.491-03:00| vthread-3| I120: Extracting the sources of the vmmon module.
2012-05-07T12:43:25.501-03:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.0-24-generic-pae/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
2012-05-07T12:43:29.241-03:00| vthread-3| I120: Installing module vmmon from /tmp/vmware-root/modules/vmmon.o to /lib/modules/3.2.0-24-generic-pae/misc.
2012-05-07T12:43:29.242-03:00| vthread-3| I120: Registering file: /usr/lib/vmware-installer/2.0/vmware-installer --register-file vmware-vmx regular /lib/modules/3.2.0-24-generic-pae/misc/vmmon.ko
2012-05-07T12:43:30.300-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:30.300-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:30.302-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:30.309-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:30.333-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:30.333-03:00| vthread-3| I120: Building module vmnet.
2012-05-07T12:43:30.333-03:00| vthread-3| I120: Extracting the sources of the vmnet module.
2012-05-07T12:43:30.340-03:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmnet-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.0-24-generic-pae/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
2012-05-07T12:43:32.352-03:00| vthread-3| I120: Failed to compile module vmnet!
2012-05-07T12:43:32.357-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:32.357-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:32.359-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:32.367-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:32.393-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:32.393-03:00| vthread-3| I120: Building module vmblock.
2012-05-07T12:43:32.393-03:00| vthread-3| I120: Extracting the sources of the vmblock module.
2012-05-07T12:43:32.402-03:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmblock-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.0-24-generic-pae/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
2012-05-07T12:43:39.651-03:00| vthread-3| I120: Installing module vmblock from /tmp/vmware-root/modules/vmblock.o to /lib/modules/3.2.0-24-generic-pae/misc.
2012-05-07T12:43:39.651-03:00| vthread-3| I120: Registering file: /usr/lib/vmware-installer/2.0/vmware-installer --register-file vmware-vmx regular /lib/modules/3.2.0-24-generic-pae/misc/vmblock.ko
2012-05-07T12:43:40.798-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:40.798-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:40.801-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:40.821-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:40.847-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:40.848-03:00| vthread-3| I120: Building module vmci.
2012-05-07T12:43:40.848-03:00| vthread-3| I120: Extracting the sources of the vmci module.
2012-05-07T12:43:40.857-03:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmci-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.0-24-generic-pae/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
2012-05-07T12:43:43.301-03:00| vthread-3| I120: Installing module vmci from /tmp/vmware-root/modules/vmci.o to /lib/modules/3.2.0-24-generic-pae/misc.
2012-05-07T12:43:43.301-03:00| vthread-3| I120: Registering file: /usr/lib/vmware-installer/2.0/vmware-installer --register-file vmware-vmx regular /lib/modules/3.2.0-24-generic-pae/misc/vmci.ko
2012-05-07T12:43:44.466-03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-24-generic-pae.
2012-05-07T12:43:44.466-03:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae
2012-05-07T12:43:44.468-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:44.476-03:00| vthread-3| I120: Your GCC version: 4.6
2012-05-07T12:43:44.503-03:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic-pae/build/include for kernel release 3.2.0-24-generic-pae is valid.
2012-05-07T12:43:44.503-03:00| vthread-3| I120: Building module vmci.
2012-05-07T12:43:44.503-03:00| vthread-3| I120: Extracting the sources of the vmci module.
2012-05-07T12:43:44.514-03:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmci-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.0-24-generic-pae/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
2012-05-07T12:43:45.089-03:00| vthread-3| I120: Building module vsock.
2012-05-07T12:43:45.089-03:00| vthread-3| I120: Extracting the sources of the vsock module.
2012-05-07T12:43:45.098-03:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vsock-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.0-24-generic-pae/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
2012-05-07T12:43:48.932-03:00| vthread-3| I120: Installing module vsock from /tmp/vmware-root/modules/vsock.o to /lib/modules/3.2.0-24-generic-pae/misc.
2012-05-07T12:43:48.933-03:00| vthread-3| I120: Registering file: /usr/lib/vmware-installer/2.0/vmware-installer --register-file vmware-vmx regular /lib/modules/3.2.0-24-generic-pae/misc/vsock.ko

Чи є виправлення на це?

Питання, пов’язані з цим (для 64 біт, для мене не працювало - сценарій працює успішно, але нічого не змінюється): Як встановити програвач VMware Player?


Маючи таку ж проблему, що і 12.04, 11.10 бездоганно працює з VMWare Player. Я хотів би побачити резолюцію з цього приводу, оскільки я її ніколи не міг знайти. +1
SQLSavant

Відповіді:


9

Завантажте цей виправлення

Відредагуйте сценарій для версії 4.0.3

gedit patch-modules_3.2.0.sh

У рядку 8 змініть номер версії на версію VMware Player, яку ви використовуєте.

з

plreqver=4.0.2

до

plreqver=4.0.3

або

plreqver=[x.x.x]

Запустіть сценарій.

sudo ./patch-modules_3.2.0.sh

Я, але у мене з’явилася така помилка patch-modules_3.2.0.sh: 27: [: player4.0.3: несподіваний оператор patch-modules_3.2.0.sh: 28: [: player4.0.3: несподіваний оператор Вибачте, цей сценарій лише для VMWare WorkStation 8.0.2 або VMWare Player 4.0.2. Вихід

Це відповідь на пов'язане з цим питання. Сценарій працює, але нічого не змінюється.
Том Бріто

@TomBrito Чи є якісь помилки під час запуску patch-modules_3.2.0.shсценарію? Я насправді так sudo -і з кореневої оболонки побіг ./patch-modules_3.2.0.sh. Трохи інша, ніж моя відповідь, але, можливо, важлива.
Річард Айотт

@TomBrito Переконайтеся, що НЕ запускаєте сценарій з sh patch-modules_3.2.0.sh, але ви це робите за допомогою sudo ./patch-modules_3.2.0.sh Також використовуйте команду vmware-installer -l, щоб перевірити, яку версію VMware Player ви відповідно встановили та змінили plreqvar у patch-modules_3.2.0.sh (тобто у вас може бути 4.0.2 або 4.0.3)

3
Станом на липень 2012 року остання версія VMplayer (4.0.4) все ще вимагала для мене цей патч у ядрі 3.2. Таким чином, plreqver=4.0.3слід змінити на plreqver=4.0.4.
Шенет
Використовуючи наш веб-сайт, ви визнаєте, що прочитали та зрозуміли наші Політику щодо файлів cookie та Політику конфіденційності.
Licensed under cc by-sa 3.0 with attribution required.