VirtualBox - ошибка DKMS в OpenSuSE 11.4
После обновления OpenSuSE до версии 11.4, выпала следующая ошибка в VirtualBox 3.2.12 (на версию 4.0.2 переходить не стали, так как в ней не работает загрузка по сети с другой виртуальной машины и даже с другого сервера):
Result Code: NS_ERROR_FAILURE (0x80004005) Component: Machine Interface: IMachine {662c175e-a69d-40b8-a77a-1d719d0ab062
Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing '/etc/init.d/vboxdrv setup' as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
Пробуем добавить vboxdrv в ядро:
su root's password: /etc/init.d/vboxdrv setup Stopping VirtualBox kernel modules done Uninstalling old VirtualBox DKMS kernel modules Nothing found within the DKMS tree for this status command. If your modules were not installed with DKMS, they will not show up here. Nothing found within the DKMS tree for this status command. If your modules were not installed with DKMS, they will not show up here. Nothing found within the DKMS tree for this status command. If your modules were not installed with DKMS, they will not show up here. Nothing found within the DKMS tree for this status command. If your modules were not installed with DKMS, they will not show up here. Nothing found within the DKMS tree for this status command. If your modules were not installed with DKMS, they will not show up here. done Trying to register the VirtualBox kernel modules using DKMSdkms.conf: Error! No 'MAKE' directive specified. dkms.conf: Error! No 'LOCATION' directive specified. dkms.conf: Error! Directive 'LOCATION' does not begin with '/kernel'. dkms.conf: Warning. No 'CLEAN' directive specified. Assuming: make clean Error! Bad conf file. File: /usr/src/vboxhost-3.2.12/dkms.conf does not represent a valid dkms.conf file failed (Failed, trying without DKMS) Recompiling VirtualBox kernel modules failed (Look at /var/log/vbox-install.log to find out what went wrong)
От сюда видно, что ему требуется DKMS (Dynamic Kernel Module Support).
Ну так установим, то что ему надо:
zypper update zypper install gcc make automake autoconf kernel-source kernel-syms
После установки пакетов, установим еще раз сам vboxdrv в ядро:
/etc/init.d/vboxdrv setup
Вывод:
/etc/init.d/vboxdrv setup Stopping VirtualBox kernel modules done Uninstalling old VirtualBox DKMS kernel modules done Removing old VirtualBox netadp kernel module done Removing old VirtualBox netflt kernel module done Removing old VirtualBox kernel module done Trying to register the VirtualBox kernel modules using DKMS done Starting VirtualBox kernel modules done
Все, наш VirtualBox опять в работе...
Если есть вопросы, то просим Вас посетить наш форум, на котором Вы сможете попросить бесплатно описание...
»
- Show paged
- Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии
- Страница для печати
[root@localhost 12]#
[root@localhost 12]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 3.6.3-1.fc17.i686.PAE cannot be found at
/lib/modules/3.6.3-1.fc17.i686.PAE/build or /lib/modules/3.6.3-1.fc17.i686.PAE/source.
[СБОЙ ]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [СБОЙ ]
(Look at /var/log/vbox-install.log to find out what went wrong)
как исправить?
Установить пакет DKMS,
Установить пакет DKMS, который от Вас и просит программа.
VirtualBox - ошибка DKMS в OpenSuSE 11.4
Сделал все, что было описано в теме.
В итоге ничего не помогло.
openSUSE 11.4
Virtualbox 4.1.2 r73507
При нажатии Старт в Virtualbox для запуска установки Windows XP сначала выдает окно где написано: "Не удалось открыть сессию для виртуальной машины Windows XP.
The virtual machine 'Windows XP' has terminated unexpectedly during startup with exit code 1."
А через несколько секунд появляется окно, где написано следующее: "Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary."
Я загружал и DKMS, все равно не помогло.
Помогите с virtualbox очень нужны некоторые программы, которые идут только на windows.
Попробуйте сделать
Попробуйте сделать следующее(все под супер пользователем root):
zypper update
zypper upgrade
reboot
/etc/init.d/vboxdrv setup
/etc/init.d/vboxdrv restart