VirtualBox not starting VMs anymore after apt-get dist-upgrade on Debian Squeeze (Segmentation Fault)

After a recent apt-get dist-upgrade from Debian Squeeze to Jessie, VirtualBox didn’t start my VMs anymore. I found this error in /var/log/syslog:

Jan 22 14:39:11 macke kernel: [1477940.229596] vboxdrv: ffffffffa0cb2020 VMMR0.r0
Jan 22 14:39:12 macke kernel: [1477940.316166] VBoxNetFlt: attached to 'vboxnet0' / 0a:00:27:00:00:00
Jan 22 14:39:12 macke kernel: [1477940.317887] device vboxnet0 entered promiscuous mode
Jan 22 14:39:12 macke kernel: [1477940.694845] vboxdrv: ffffffffa070b020 VBoxDDR0.r0
Jan 22 14:39:12 macke kernel: [1477940.707820] vboxdrv: ffffffffa0481020 VBoxDD2R0.r0
Jan 22 14:39:12 macke kernel: [1477940.882702] EMT-1[28493]: segfault at 18 ip 00007f9b0e573213 sp 00007f9b406a0c40 error 4 in VBoxDD.so[7f9b0e503000+27b000]
Jan 22 14:39:17 macke kernel: [1477945.930164] device vboxnet0 left promiscuous mode
Jan 22 14:39:17 macke kernel: [1477945.947568] vboxnetflt: 0 out of 0 packets were not sent (directed to host)

As it turned out, the problem was a VirtualBox extension pack that didn’t match the version of my VirtualBox package. To clean this mess up, I did the following:

# find all installed VirtualBox packages
dpkg -l | grep virtualbox 

# for each VirtualBox package -> remove it completely
# in my case: virtualbox virtualbox-5.0 virtualbox-guest-utils virtualbox-guest-x11 virtualbox-qt
apt-get purge PACKAGE

# download the latest binary distribution of VirtualBox directly from Oracle
wget http://download.virtualbox.org/virtualbox/5.0.14/virtualbox-5.0_5.0.14-105127~Debian~jessie_amd64.deb 

# install the package
dpkg -i virtualbox-5.0_5.0.14-105127~Debian~jessie_amd64.deb

# check the current version of VirtualBox
dpkg -l|grep virtualbox
# ii  virtualbox-5.0                 5.0.14-105127~Debian~jessie          amd64        Oracle VM VirtualBox
vboxmanage --version
# 5.0.14r105127

# download the correct extension pack for my installation
wget http://download.virtualbox.org/virtualbox/5.0.14/Oracle_VM_VirtualBox_Extension_Pack-5.0.14-105127.vbox-extpack

# install the extension pack
vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.0.14-105127.vbox-extpack

# just to be sure: clean up the extension packs
VBoxManage extpack cleanup

# check the version of the installed extension pack
VBoxManage list extpacks
# Extension Packs: 1
# Pack no. 0:   Oracle VM VirtualBox Extension Pack
# Version:      5.0.14
# Revision:     105127
# Edition:
# Description:  USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption.
# VRDE Module:  VBoxVRDP
# Usable:       true
# Why unusable:

Now my VMs work like a charm again! 🙂

Links

Ăśber uns Stefan

Polyglot Clean Code Developer

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax