Не запускается VMware Workstation на Ubuntu 12.04

Вышла новая Ubuntu 12.04, знаю что рано на неё переходить, но...очень уж хочется. Перешёл, начал ставить vmware Workstation и сразу грабли.

Установка прошла вроде как обычно и без проблем, но как дошло дело до запуска возникли трудности. В начале вывалилось окно с обновлением

Согласился. Надо так надо

В итоге получил ошибку

Смотрим логи

2012-04-28T12:34:41.534+07:00| vthread-3| I120: Log for VMware Workstation pid=6377 version=8.0.1 build=build-528992 option=Release
2012-04-28T12:34:41.534+07:00| vthread-3| I120: The process is 32-bit.
2012-04-28T12:34:41.534+07:00| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8
2012-04-28T12:34:41.534+07:00| vthread-3| I120: Host is Linux 3.2.0-23-generic-pae Ubuntu 12.04 LTS
2012-04-28T12:34:41.534+07:00| vthread-3| I120: Msg_Reset:
2012-04-28T12:34:41.534+07:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": Нет такого файла или каталога.
2012-04-28T12:34:41.534+07:00| vthread-3| I120: ----------------------------------------
2012-04-28T12:34:41.534+07:00| vthread-3| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2012-04-28T12:34:41.534+07:00| vthread-3| I120: Msg_Reset:
2012-04-28T12:34:41.534+07:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": Нет такого файла или каталога.
2012-04-28T12:34:41.534+07:00| vthread-3| I120: ----------------------------------------
2012-04-28T12:34:41.534+07:00| vthread-3| I120: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2012-04-28T12:34:41.534+07:00| vthread-3| I120: Msg_Reset:
2012-04-28T12:34:41.534+07:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/preferences": Нет такого файла или каталога.
2012-04-28T12:34:41.534+07:00| vthread-3| I120: ----------------------------------------
2012-04-28T12:34:41.534+07:00| vthread-3| I120: PREF Failed to load user preferences.
2012-04-28T12:34:41.534+07:00| vthread-3| W110: Logging to /tmp/vmware-root/modconfig-6377.log
2012-04-28T12:34:41.637+07:00| vthread-3| I120: modconf query interface initialized
2012-04-28T12:34:41.638+07:00| vthread-3| I120: modconf library initialized
2012-04-28T12:34:41.691+07:00| vthread-3| I120: Your GCC version: 4.6
2012-04-28T12:34:41.696+07:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.0-23-generic-pae
2012-04-28T12:34:41.696+07:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-04-28T12:34:41.696+07:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-04-28T12:34:41.696+07:00| vthread-3| I120: Validating path /lib/modules/3.2.0-23-generic-pae/build/include for kernel release 3.2.0-23-generic-pae
2012-04-28T12:34:41.700+07:00| vthread-3| I120: Your GCC version: 4.6
2012-04-28T12:34:41.718+07:00| vthread-3| I120: Your GCC version: 4.6
2012-04-28T12:34:41.751+07:00| vthread-3| I120: Header path /lib/modules/3.2.0-23-generic-pae/build/include for kernel release 3.2.0-23-generic-pae is valid.
2012-04-28T12:34:41.752+07:00| vthread-3| I120: Validating path /lib/modules/3.2.0-23-generic-pae/build/include for kernel release 3.2.0-23-generic-pae
2012-04-28T12:34:41.757+07:00| vthread-3| I120: Your GCC version: 4.6
2012-04-28T12:34:41.772+07:00| vthread-3| I120: Your GCC version: 4.6
2012-04-28T12:34:41.799+07:00| vthread-3| I120: Header path /lib/modules/3.2.0-23-generic-pae/build/include for kernel release 3.2.0-23-generic-pae is valid.
2012-04-28T12:34:41.838+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:41.844+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:41.849+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:41.854+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:41.856+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:41.884+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:41.890+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:41.896+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:41.901+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:41.903+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:41.905+07:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.0-23-generic-pae
2012-04-28T12:34:41.905+07:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-04-28T12:34:41.905+07:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-04-28T12:34:41.905+07:00| vthread-3| I120: Validating path /lib/modules/3.2.0-23-generic-pae/build/include for kernel release 3.2.0-23-generic-pae
2012-04-28T12:34:41.910+07:00| vthread-3| I120: Your GCC version: 4.6
2012-04-28T12:34:41.928+07:00| vthread-3| I120: Your GCC version: 4.6
2012-04-28T12:34:41.963+07:00| vthread-3| I120: Header path /lib/modules/3.2.0-23-generic-pae/build/include for kernel release 3.2.0-23-generic-pae is valid.
2012-04-28T12:34:42.007+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:42.013+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:42.019+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:42.024+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:42.027+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:42.029+07:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.0-23-generic-pae
2012-04-28T12:34:42.029+07:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-04-28T12:34:42.029+07:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-04-28T12:34:42.029+07:00| vthread-3| I120: Validating path /lib/modules/3.2.0-23-generic-pae/build/include for kernel release 3.2.0-23-generic-pae
2012-04-28T12:34:42.033+07:00| vthread-3| I120: Your GCC version: 4.6
2012-04-28T12:34:42.051+07:00| vthread-3| I120: Your GCC version: 4.6
2012-04-28T12:34:42.084+07:00| vthread-3| I120: Header path /lib/modules/3.2.0-23-generic-pae/build/include for kernel release 3.2.0-23-generic-pae is valid.
2012-04-28T12:34:42.142+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:42.146+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:42.152+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:42.154+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:42.156+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:42.539+07:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.0-23-generic-pae.
2012-04-28T12:34:42.539+07:00| vthread-3| I120: Validating path /lib/modules/3.2.0-23-generic-pae/build/include for kernel release 3.2.0-23-generic-pae
2012-04-28T12:34:42.543+07:00| vthread-3| I120: Your GCC version: 4.6
2012-04-28T12:34:42.561+07:00| vthread-3| I120: Your GCC version: 4.6
2012-04-28T12:34:42.589+07:00| vthread-3| I120: Header path /lib/modules/3.2.0-23-generic-pae/build/include for kernel release 3.2.0-23-generic-pae is valid.
2012-04-28T12:34:42.590+07:00| vthread-3| I120: Building module vmmon.
2012-04-28T12:34:42.590+07:00| vthread-3| I120: Extracting the sources of the vmmon module.
2012-04-28T12:34:42.609+07: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-23-generic-pae/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
2012-04-28T12:34:44.476+07:00| vthread-3| I120: Failed to compile module vmmon!

Попробуем запустить через консоль

vmware
Logging to /tmp/vmware-toor/modconfig-3533.log
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
Logging to /tmp/vmware-root/modconfig-3649.log
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
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
Using 2.6.x kernel build system.
make: Вход в каталог `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/3.2.0-23-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= modules
make[1]: Вход в каталог `/usr/src/linux-headers-3.2.0-23-generic-pae'
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/apic.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/comport.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/hashFunc.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/task.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/vmcore/moduleloop.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: В функции «IOMMU_AdjustMappings»:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:180:4: ошибка: неявная декларация функции «iommu_found» [-Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: В функции «IOMMU_RegisterDevice»:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:415:7: ошибка: слишком мало аргументов в вызове функции «iommu_domain_alloc»
include/linux/iommu.h:68:29: замечание: declared here
cc1: some warnings being treated as errors
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] Ошибка 1
make[2]: *** Ожидание завершения заданий...
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-3.2.0-23-generic-pae'
make: *** [vmmon.ko] Ошибка 2
make: Выход из каталога `/tmp/vmware-root/modules/vmmon-only'

НУ... теперь становится понятно, что это очередной косяк vmware и с выходом нового ядра надо накатывать патч.

Сразу выложу список с чем придется иметь дело:

Версия ubuntu

cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"

Ядро системы

uname -r
3.2.0-23-generic-pae

Версия Vmware Workstation

toor@toor-ls:~$ vmware-installer -l
Product Name         Product Version
==================== ====================
vmware-workstation   8.0.2.591240
toor@toor-ls:~$

Установка патча

wget http://xaxatyxa.ru/download/vmware802fixlinux320.tar.gz
tar xpvf vmware802fixlinux320.tar.gz
sudo ./patch-modules_3.2.0.sh

В конце должны увидеть

Пробуем запустить. Соглашаемся с лицензией

Радуемся и пользуемся

Скачать: vmware802fixlinux320.tar.gz (размер: 1.99 kB)
Остались или есть ещё вопросы? Задавайте!
(не забудьте указать ссылку на этот пост)




7 комментариев

  1. Виталий Russian Federation Google Chrome Ubuntu Linux :

    не работает, к сожалению.

    строка 42: patch: команда не найдена

    3.2.0-24-generic

     vmware player 4.0.2.591240

     

    Thumb up 0 Thumb down 0

  2. Niko Russian Federation Google Chrome Ubuntu Linux :

    у меня так же не работает, такая же ошибка, только ядро 0.24

    Thumb up 0 Thumb down 0

  3. Niko Russian Federation Google Chrome Ubuntu Linux :

    ответ был очень прост, sudo apt-get install patch. и после этого запускаем наш патч!))

    Thumb up 0 Thumb down 0

  4. exside Russian Federation Google Chrome Ubuntu Linux :

    Все заработало! Спасибо автору большое!! )

    Thumb up 0 Thumb down 0

  5. Не запускается VMware Workstation 8.0.3 на Ubuntu 12.04
    Источник: http://xaxatyxa.ru/_ubuntu/zapuskaetsya-vmware-workstation-ubuntu-12-04.htm

    ДЛЯ НОВОЙ ВЕРСИИ VmWare

    Thumb up 0 Thumb down 0

  6. roach1967 Kazakhstan Opera Linux :

    Попробовал данный патч, не отработал.

    Решение нашел здесь: askubuntu.com/questions/1...e-workstation-v8

    или в кратце:

    открываем patch-modules_3.2.0.sh в gedit.

    идём до строки 27, и закоментируем строки 27, 28, 29 (вставляем в начало #).

    запускаем скрипт — всё отрабатывает!!!

    Thumb up 0 Thumb down 0

Оставить комментарий

Установка, настройка, мониторинг и администрирование linux, unix, windows систем