Virtualbox ошибка 1912

Когда пытаюсь запустить любую машину выдает ошибку:

RTR3Init failed with rc=-1912 (rc=-1912)- The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing
‘/sbin/cvbox configure’
may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.

sudo /sbin/vboxconfig
vboxdrv.sh: Starting VirtualBox services.

uname -r
3.16.0-4-amd64

OC:Debian 8

dpkg -l |grep virtualbox*
rc  virtualbox                             4.3.36-dfsg-1+deb8u1                 amd64        x86 virtualization solution - base binaries
ii  virtualbox-5.1                         5.1.0-108711~Debian~jessie           amd64        Oracle VM VirtualBox
rc  virtualbox-qt                          4.3.36-dfsg-1+deb8u1                 amd64        x86 virtualization solution - Qt based user interface
ii  virtualbox-source                      4.3.36-dfsg-1+deb8u1                 all          x86 virtualization solution - kernel module source

задан 21 июл 2016 в 15:07

Максим Горбунов's user avatar

1

Да, я тоже наткнулся на такие грабли c virtualbox-5.1.6.
Не помогло:

sudo apt-get autoremove 'virtualbox*'

это то же:

sudo dpkg-reconfigure virtualbox-dkms
sudo dpkg-reconfigure virtualbox

Никакие чистки стандартные запуски и прочее. Только ручками к сожалению.
У меня:

Debian Jessie-backports
4.6.0-0.bpo.1-amd64 #1 SMP Debian 4.6.4-1~bpo8+1 (2016-08-11) x86_64 GNU/Linux

Необходимо в каталоге

 /lib/modules/4.6.0-0.bpo.1-amd64/updates/dkms

Удалить все файлы модулей от предыдущей установки (по дате будет понятно)

vboxdrv.ko  vboxnetadp.ko  vboxnetflt.ko  vboxpci.ko   

После этого переустановить virtualbox. (Не знаю нужно или нет, но dkms уже стоял)

ответ дан 14 сен 2016 в 12:16

Андрей Климов's user avatar

Тоже была такая проблема, что только не делал, на новой версии virtualbox 5.1, ни в какую не запускались виртуальные машины, тоже выскакивала такая ошибка. Приведенная в постах выше инфа тоже не спасла.

Помогла команда:

sudo apt purge virtualbox  

Полностью удалилась версия 5.0.4, а версия 5.1 осталась и заработала. Хотя до этого удалял старую версию командой sudo apt remove virtualbox, потом ставил новую версию. Но видать старая не до конца удалилась.

Версия ОС Linux Mint 18.1 Serena.

Михаил Ребров's user avatar

Михаил Ребров

5,8548 золотых знаков26 серебряных знаков39 бронзовых знаков

ответ дан 27 июл 2017 в 19:54

LightProger's user avatar

Проверьте, что virtualbox-dkms установлен:

dpkg -l | grep virtualbox-dkms

Если установлен — удалите его и установите dkms

sudo apt-get purge virtualbox-dkms && \
sudo apt-get install dkms

Пересоберите VirtualBox kernel modules

sudo /sbin/vboxconfig 

ЮрийСПб's user avatar

ЮрийСПб

69.8k9 золотых знаков66 серебряных знаков122 бронзовых знака

ответ дан 25 янв 2021 в 10:49

Du  Dundich's user avatar

0

sudo rmmod vboxpci

sudo rmmod vboxnetadp

sudo rmmod vboxnetflt

sudo rmmod vboxdrv

sudo vboxconfig

"vboxdrv.sh: Building VirtualBox kernel modules."
"vboxdrv.sh: Starting VirtualBox services."

sudo VirtualBox

Crantisz's user avatar

Crantisz

9,7202 золотых знака16 серебряных знаков49 бронзовых знаков

ответ дан 5 фев 2017 в 11:01

Azip's user avatar

1

Read This first!

Please note that this answer is intended to specifically solve the original poster’s problem when typical solutions like running sudo /sbin/vboxconfig or removing virtualbox-dkms and installing dkms does not work.

Please first try these simple workarounds, these might help you right away.


It seems that your installation version of virtualbox is for 32-bit architecture while you are running 64-bit operation system which can be the cause of this problem.

My workaround would be to remove the installed version from PPA, and installing virtualbox from official repositories.

To remove virtualbox, run:

sudo apt autoremove --purge virtualbox*

After that make sure there is no other version installed on your system by:

dpkg -l 'virtualbox*' | grep ^i

You shouldn’t get any output, also you can try to run virtualbox to make sure it’s not installed.

Then remove all related PPAs from your sources.list and sources.list.d directory. ex:

mkdir ~/apt-tmp
sudo mv /etc/apt/sources.list.d/* ~/apt-tmp

Make sure there is nothing except official repositories sources in /etc/apt/sources.list.

And update your sources:

sudo apt update

Now we can search to see which versions are available to install:

apt-cache madison virtualbox | grep -iv sources

Which produces an output like this:

virtualbox | 5.0.32-dfsg-0ubuntu1.16.04.2 | http://mirrors.kernel.org/ubuntu xenial-updates/multiverse amd64 Packages
virtualbox | 5.0.18-dfsg-2build1 | http://mirrors.kernel.org/ubuntu xenial/multiverse amd64 Packages

Then I would install the last version mentioned in xenial-updates:

sudo apt install virtualbox=5.0.32-dfsg-0ubuntu1.16.04.2

Also sudo apt install virtualbox, would be fine, but I would go with the above command to make sure my desired version is going to be installed.

And after all, check that the correct version is installed.

From command line:

dpkg -l virtualbox* | grep ^i

ii  virtualbox                     5.0.32-dfsg-0ubuntu1.16.04.2 amd64        x86 virtualization solution - base binaries
ii  virtualbox-dkms                5.0.32-dfsg-0ubuntu1.16.04.2 all          x86 virtualization solution - kernel module sources for dkms
ii  virtualbox-qt                  5.0.32-dfsg-0ubuntu1.16.04.2 amd64        x86 virtualization solution - Qt based user interface

From GUI: to make sure correct version is running.

Help menu -> about virtualbox

Pay attention to green highlight

vbox

Max322

Posts: 10
Joined: 21. Jul 2016, 18:33

VirtualBox error rc=-1912

When i try start :
RTR3Init failed with rc=-1912 (rc=-1912)- The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing ‘/sbin/cvbox configure’ may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.

Code: Select all

sudo /sbin/vboxconfig
vboxdrv.sh: Starting VirtualBox services.

Code: Select all

uname -r
3.16.0-4-amd64
OC:Debian 8

Code: Select all

dpkg -l |grep virtualbox*
rc  virtualbox                             4.3.36-dfsg-1+deb8u1                 amd64        x86 virtualization solution - base binaries
ii  virtualbox-5.1                         5.1.0-108711~Debian~jessie           amd64        Oracle VM VirtualBox
rc  virtualbox-qt                          4.3.36-dfsg-1+deb8u1                 amd64        x86 virtualization solution - Qt based user interface
ii  virtualbox-source                      4.3.36-dfsg-1+deb8u1                 all          x86 virtualization solution - kernel module source
virtualbox

Perryg

Site Moderator
Posts: 34370
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VirtualBox error rc=-1912

Post

by Perryg »

So what is the question?
You might want to post the /var/log/vbox-install.log to speed this along as well as dmesg ( as a file, do not simply paste large amounts of text ).

Perryg

Site Moderator
Posts: 34370
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VirtualBox error rc=-1912

Post

by Perryg »

It looks like you had a previous version (OSE) and have tried to upgrade to the PUEL ( official ) version. This will cause issues like you are seeing. I would purge VirtualBox from this host and reboot, then check to make sure it is gone before you try to install again. Your guests will not be touched and should work one the install is fixed.

Max322

Posts: 10
Joined: 21. Jul 2016, 18:33

Re: VirtualBox error rc=-1912

Post

by Max322 »

Perryg wrote:It looks like you had a previous version (OSE) and have tried to upgrade to the PUEL ( official ) version. This will cause issues like you are seeing. I would purge VirtualBox from this host and reboot, then check to make sure it is gone before you try to install again. Your guests will not be touched and should work one the install is fixed.

All exactly as you said.I have previous version(But not not sure that OSE).I deleted the previous version ( not sure if I did it correctly may remain files ). I try purge: sudo apt-get purge virtualbox-\* . Then try install again, but the error is still there

Perryg

Site Moderator
Posts: 34370
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VirtualBox error rc=-1912

Post

by Perryg »

Actually you must have missed the part about verifying that all traces were gone. Do it again and verify before you install.

Max322

Posts: 10
Joined: 21. Jul 2016, 18:33

Re: VirtualBox error rc=-1912

Post

by Max322 »

Perryg wrote:Actually you must have missed the part about verifying that all traces were gone. Do it again and verify before you install.

I’m sorry, but I do not know how to do it

Perryg

Site Moderator
Posts: 34370
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VirtualBox error rc=-1912

Post

by Perryg »

If you are getting the exact same error then the original kernel modules were not removed.

Perryg

Site Moderator
Posts: 34370
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VirtualBox error rc=-1912

Post

by Perryg »

By searching for different variations like Virtual or VB. and seeing if any refer to VirtualBox, Which by the way is yet another way to search.

Установил заново  Альт Образование 9.1 (x86_64)
При запуске virtualbox выходит:
RTR3InitEx failed with rc=-1912 (rc=-1912)
The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing
‘/sbin/vboxconfig’
may correct this. Make sure that you are not mixing builds of VirtualBox from different sources.
where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) — The installed support driver doesn’t match the version of the user.


Записан


Модули ядра не соответствуют версии virtualbox.
Посмотрите в чем разница.

$ rpm -qa | grep virtualbox-
Версия программы virtualbox должна быть равно версии модуля kernel-modules-virtualbox
Если это не так обновите программу или модули. Вообще наверное будет правильнее полностью обновится потому что новый virtualbox может притянуть новую qt.

# apt-get dist-upgrade ; update-kernel
Kernel manager специально делаю чтобы обслуживание подобного рода было более дружелюбно к пользователю.

« Последнее редактирование: 02.02.2021 15:34:20 от Koi »


Записан


Таже проблема после обновления Simply Linux 9.0.91 обновление ядра и Virtualbox не помогла

[root@comp-core-i7-2670qm-adfc02 ~]# apt-get dist-upgrade ; update-kernel
Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
Подсчет обновлений... Завершено
0 будет обновлено, 0 новых установлено, 0 пакетов будет удалено и 0 не будет обновлено.
Running kernel version: kernel-image-std-def-1:5.4.28-alt1
Checking for available std-def kernel packages...
Latest kernel std-def-2:5.4.101-alt1:p9+267209.100.4.1@1614965814 is already installed on your system.
No upgrade is needed. Use -f for force.
[root@comp-core-i7-2670qm-adfc02 ~]#
куда копать?!((

[root@comp-core-i7-2670qm-adfc02 ~]# rpm -qa | grep virtualbox-
virtualbox-guest-additions-6.1.18-alt1.x86_64
virtualbox-common-6.1.18-alt1.x86_64
virtualbox-guest-utils-6.1.18-alt1.x86_64
virtualbox-6.1.18-alt1.x86_64
kernel-modules-virtualbox-std-def-6.1.4-alt2.328732.1.x86_64
virtualbox-guest-common-6.1.18-alt1.x86_64
kernel-modules-virtualbox-std-def-6.1.18-alt1.328805.1.x86_64
[root@comp-core-i7-2670qm-adfc02 ~]#
может нужно удалить kernel-modules-virtualbox-std-def-6.1.4-alt2.328732.1.x86_64 ?

« Последнее редактирование: 09.03.2021 08:32:48 от artemBm »


Записан


Перегружались с новым ядром?


Записан

Андрей Черепанов (cas@)


Перегружались с новым ядром?

Нет, комп сильно удаленный, не хотелось бы, прошлая перезагрузка virtualbox привела к текущей неработоспособности, без нее никак?!

P.S. Перезагрузка помогла!

« Последнее редактирование: 09.03.2021 17:08:28 от artemBm »


Записан


Вышло очередное обновление VirtualBox и я его установил. После чего попытался заново запустить виртуальную машину, но получил ошибку:

Полный лог ошибки такой:

RTR3lnitEx failed with rc=-1912 (rc=-1912)

The VirtualBox kernel modules do not match this version of VirtualBox. The
installation of VirtualBox was apparently not successful. Please try completely
uninstalling and reinstalling VirtualBox.

where: supR3HardenedMainlnitRuntime what: 4
VERR_VM_DRIVER_VERSION_MISMATCH (-1912) — The installed support driver
doesn’t match the version of the user.

После нажатия на кнопку ОК получаем окошко с детальной информацией:

Failed to open a session for the virtual machine Linux Mint 18 Cinnamon.

The virtual machine ‘Linux Mint 18 Cinnamon’ has terminated unexpectedly during startup with exit code 1 (0x1).
More details may be available in ‘D:\VirtualBox\Linux Mint 18 Cinnamon\Logs\VBoxHardening.log’.

Result Code: E_FAIL (0x80004005)
Component: MachineWrap
Interface: IMachine


Скорее всего данная ошибка возникла из-за того, что после обновления VirtualBox не были выгружены и удалены старые версии ее драйверов.
Я полностью удалил VirtualBox, перезагрузил компьютер, потом заново ее установил. После перезагрузки компьютера и запуска виртуальной машины, ошибка пропала.

  • Об авторе
  • Недавние публикации

DenTNT

Понравилась статья? Поделить с друзьями:
  • Virtualbox ошибка 0xc000000e
  • Virtualbox ошибка 0x80bb000c
  • Virtualbox ошибка 0x80bb0004
  • Virtualbox ошибка 0x80070005
  • Virtualbox ошибка 0x80004005 consolewrap