After kernel update, Virtualbox no longer operates

Discussions related to using VirtualBox on Linux hosts.
Post Reply
jjcarles
Posts: 6
Joined: 11. Jul 2008, 10:41

After kernel update, Virtualbox no longer operates

Post by jjcarles »

Hi.

Recently I updated the kernel in my opensuse 11 to the version 2.6.25.9-0.2-default (x86_64) and now, VirtualBox does not work.

Code: Select all

#> rpm -qa | grep -i "virtualbox"
virtualbox-ose-guest-tools-1.5.6-33.1
virtualbox-ose-1.5.6-33.1
xorg-x11-driver-virtualbox-ose-1.5.6-33.1
virtualbox-ose-kmp-default-1.5.6_2.6.25.5_1.1-33.1

#> rpm -qa | grep -i "kernel"
kernel-source-2.6.25.9-0.2
linux-kernel-headers-2.6.25-8.1
kernel-default-2.6.25.9-0.2
kernel-syms-2.6.25.9-0.2

#> /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module                                     done
Recompiling VirtualBox kernel module, NOT. It has been packaged.      done
Starting VirtualBox kernel module                                     failed
(Kernel module not found)
VirtualBox is installed with YaST. Does any solution?

Thanks!
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

Some basics:
  • If you are running version X of the VBox package on your Host then you should also be running version X of the VBox GA on each client.
  • If you are running the PEUL installation on your Host then you should install the PEUL GA on each client. Ditto for the OSE installations.
  • Since VBox GA contains device drivers then you need to recompile these after kernel upgrade.
  • In order to recompile the GA you must have the current Linux Kernel Headers installed as well as the bundle of GCC, make, etc. that you need to build models. Most full workstation builds have these installed as standard. Few server builds do. Ubuntu identifies the collection of such packages as "build-essential", but I believe that on Open-SUSE you need to explicitly load the individual components.
So in your case:
  • you are running GA-ose 1.5.6; (2) you now have kernel-default-2.6.25.9-0.2 but linux-kernel-headers-2.6.25-8.1. You need to remove the version 2.6.25-8.1 headers and install the 2.6.25.9-0.2 ones.
  • So are you running Vbox-ose 1.56 on your Host. If not then you have a version mismatch.
The bust way to ensure that you have the correct UG GA is to follow the build instrctions in the UG.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
jjcarles
Posts: 6
Joined: 11. Jul 2008, 10:41

Post by jjcarles »

So I have got a problem because the latest version of the linux-kernel-headers package is the 2.6.25-8.1. The 2.6.25.9-0.2 does not exist yet and I do not know if will exist.

Thanks.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

Sorry but I would challenge your statement. None of the Linux vendors would issue a new kernel without issuing a corresponding new kernel-headers. Everyone needs this to rebuild their drivers and without these the kernel is useless. On a Debian / Ubuntu system I would suggest that you do an apt-get update because this is usually a symptom of your apt configuration being out of date. Doesn't SuSE work the same way?
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
jjcarles
Posts: 6
Joined: 11. Jul 2008, 10:41

Post by jjcarles »

OpenSuSE uses the openSUSE Updater what check if a new package update exist. A few days ago appeared an kernel update and I upgraded it with the result explained in the first message of this thread.

I have looked in the opensuse repository http://download.opensuse.org/distributi ... /suse/src/ and the linux-kernel-headers version is the 2.6.25-8.1.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

Sorry, but I think that you will need to try the openSUSE forums on this one. :-(
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
jjcarles
Posts: 6
Joined: 11. Jul 2008, 10:41

Post by jjcarles »

Ok. Thanks
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Main problem:

Code: Select all

Recompiling VirtualBox kernel module, NOT. It has been packaged.      done
Meaning, you need the kernel module for VB because you run the OSE version. Wait untill the OpenSuSE developers are done compiling that module and put it in your repo. This is a common problem when upgrading your kernel when working with the OSE version. If you don't want to wait every time a kernel update comes out for the OSE module to be ready, use the PUEL version found on the website.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
jjcarles
Posts: 6
Joined: 11. Jul 2008, 10:41

Post by jjcarles »

Hi.

The PUEL version for OpenSUSE 11 (AMD64) not exist yet.

Thanks.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Use the OpenSuSE 10.1 version, works too.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
jjcarles
Posts: 6
Joined: 11. Jul 2008, 10:41

Post by jjcarles »

Thanks. Everything works correctly.
Post Reply