Detect missing kernel modules on startup

Bug #267097 reported by Wouter Stomp
10
Affects Status Importance Assigned to Milestone
virtualbox-ose (Ubuntu)
Fix Released
Wishlist
Mario Limonciello

Bug Description

Binary package hint: virtualbox-ose

Virtualbox should look for the kernel modules to be installed/loaded at startup and give a helpful error message rather than waiting until you try to start a virtual machine and then bailing out.

Daniel T Chen (crimsun)
Changed in virtualbox-ose:
importance: Undecided → Wishlist
Revision history for this message
Mario Limonciello (superm1) wrote :

This sort of thing can be resolved by switching the package over to use DKMS instead.

Changed in virtualbox-ose:
assignee: nobody → superm1
Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

That hopefully prevents this error from happening (the packages from the virtualbox website seem to have this implemented already, but in ubuntu it is still a no go....). But even then, if it happens, it should be detected directly.

Revision history for this message
Mario Limonciello (superm1) wrote :

Here's the particulars that enable DKMS support. They're also rolled up into the FFe bug for the new version (LP: #268795)

Revision history for this message
Mario Limonciello (superm1) wrote :
Revision history for this message
Mario Limonciello (superm1) wrote :

I'm not attaching the build log and install log to this bug, see bug 268795 for this information.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.2 KiB)

This bug was fixed in the package virtualbox-ose - 2.0.2-dfsg-0ubuntu1

---------------
virtualbox-ose (2.0.2-dfsg-0ubuntu1) intrepid; urgency=low

  * New upstream version (LP: #268795)
    - Introduces support for Intrepid Guests
    - Introduces support for kernel 2.6.27
  * Update patches for new upstream version:
    - 02-config-kmk
    - 09-initscript
  * Drop patches no longer necessary (or absorbed upstream):
    - 05-vboxadd-udev
    - 01-no-64bit-guest
  * New patches:
    - 01-64bit, for making sure we query the target arch properly.
  * debian/control:
    - Build depend on libqt4-dev for new upstream version.
    - Build depend on python2.5-dev for new upstream version.
    - Drop libqt3-mt-dev from build depends
    - Bump provides of guest-utils to xserver-xorg-input-2.1
    - Bump provides of guest-utils to xserver-xorg-video-2.9
    - Enable 64 bit guest utils support.
  * debian/rules:
    - Disable QT3 support as we are using the QT4 frontend by
      default.
    - Set VirtualBox binaries to suid root per new hardening
      requirements in this release.
    - Add amd64 to a valid arch in the X11 additions check.
  * debian/virtualbox-ose.install:
    - Update location that xpidl is installed from.
  * debian/virtualbox-ose.vboxdrv.init:
    - Start at runlevels 2,3,4,5 rather than just 3,5
  * Enable DKMS support on virtualbox host and guest modules. (LP: #267097)
    - Rebuilding is no longer necessary for new kernels (LP: #268367)
    - Drop:
      + virtualbox-ose-source.files/rules
      + virtualbox-ose-source.files/postinst.modules.in
      + virtualbox-ose-source.files/control.modules.in
      + virtualbox-ose-guest-source.files/rules
      + virtualbox-ose-guest-source.files/postinst.modules.in
      + virtualbox-ose-guest-source.files/control.modules.in
      + virtualbox-ose-source.links
    - Rename / Add version to .in files:
      + virtualbox-ose-guest-source.files/udev ->
        virtualbox-ose-guest-source.udev
      + virtualbox-ose-guest-source.install ->
        virtualbox-ose-guest-source.install.in
      + virtualbox-ose-source.dirs -> virtualbox-ose-source.dirs.in
      + virtualbox-ose-guest-source.dirs -> virtualbox-ose-guest-source.dirs.in
      + virtualbox-ose-guest-source.links ->
        virtualbox-ose-guest-source.links.in
    - New:
      + virtualbox-ose-source.files/dkms.conf.in
      + virtualbox-ose-source.postinst
      + virtualbox-ose-source.prerm
      + virtualbox-ose-guest-source.prerm
      + virtualbox-ose-guest-source.postinst
      + virtualbox-ose-guest-source.files/dkms.conf.in
      + virtualbox-ose-guest-source.files/Makefile
    - debian/rules:
      + Add support to update all ".in" files in install target
      + Add support to remove all sed produced ".in" files in clean target
      + Drop extra rules that were modifying the "debian" directory in -source.
      + Make sure to include postinst/prerm scripts for arch indep packages.
    - debian/control:
      + Recommends on the source package instead of modules packages
      + Depends on the source packages for dkms and libc6-dev
    - debian/virtualbox-ose.vboxdrv.init:
      + Search for module in proper location

 ...

Read more...

Changed in virtualbox-ose:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.