virtualbox-ose-modules-2.6.24-12-generic couldn't find kernel-modules

Bug #210127 reported by Daniel
10
Affects Status Importance Assigned to Milestone
virtualbox-ose-modules (Ubuntu)
Invalid
Medium
Daniel Hahler

Bug Description

There is a wrong path in virtualbox-ose-modules-2.6.24-12-generic. Its search for "
/lib/modules/2.6.24-12-386" and not on "/lib/modules/2.6.24-12-generic"

sudo aptitude install virtualbox-ose virtualbox-ose-modules-2.6.24-12-generic
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Reading state information... Fertig
Lese erweiterte Statusinformationen
Initialisiere Paketstatus... Fertig
Erzeuge Tag-Datenbank... Fertig
Die folgenden NEUEN Pakete werden zusätzlich automatisch installiert:
  libxalan110 libxerces27
Die folgenden NEUEN Pakete werden zusätzlich installiert:
  libxalan110 libxerces27 virtualbox-ose virtualbox-ose-modules-2.6.24-12-generic
0 Pakete aktualisiert, 4 zusätzlich installiert, 0 werden entfernt und 0 nicht aktualisiert.
Muss 0B/9319kB an Archiven herunterladen. Nach dem Entpacken werden 30,7MB zusätzlich belegt sein.
Wollen Sie fortsetzen? [Y/n/?]
Schreibe erweiterte Statusinformationen... Fertig
Vorkonfiguration der Pakete ...
Wähle vormals abgewähltes Paket libxerces27.
(Lese Datenbank ... 177083 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke libxerces27 (aus .../libxerces27_2.7.0-5_i386.deb) ...
Wähle vormals abgewähltes Paket libxalan110.
Entpacke libxalan110 (aus .../libxalan110_1.10-3.1_i386.deb) ...
Wähle vormals abgewähltes Paket virtualbox-ose.
Entpacke virtualbox-ose (aus .../virtualbox-ose_1.5.6-dfsg-2ubuntu2_i386.deb) ...
Wähle vormals abgewähltes Paket virtualbox-ose-modules-2.6.24-12-generic.
Entpacke virtualbox-ose-modules-2.6.24-12-generic (aus .../virtualbox-ose-modules-2.6.24-12-generic_19_i386.deb) ...
Richte libxerces27 ein (2.7.0-5) ...

Richte libxalan110 ein (1.10-3.1) ...

Richte virtualbox-ose ein (1.5.6-dfsg-2ubuntu2) ...
Starting VirtualBox host networking ...done.
 * Starting VirtualBox kernel module vboxdrv
 * No suitable module for running kernel found.

Richte virtualbox-ose-modules-2.6.24-12-generic ein (19) ...
WARNING: Couldn't open directory /lib/modules/2.6.24-12-386: No such file or directory
FATAL: Could not open /lib/modules/2.6.24-12-386/modules.dep.temp for writing: No such file or directory
FATAL: Could not load /lib/modules/2.6.24-12-386/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.24-12-386/modules.dep: No such file or directory

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Reading state information... Fertig
Lese erweiterte Statusinformationen
Initialisiere Paketstatus... Fertig
Schreibe erweiterte Statusinformationen... Fertig
Erzeuge Tag-Datenbank... Fertig

Revision history for this message
Daniel Hahler (blueyed) wrote :

Please paste the output of "uname -a".

It looks like you have the -386 kernel installed, but no modules for it.

Changed in virtualbox-ose-modules:
assignee: nobody → blueyed
status: New → Incomplete
Revision history for this message
Daniel (kubuntu-gerstner-web) wrote :

dpkg -l|grep linux-image
ii linux-image-2.6.24-12-generic 2.6.24-12.22 Linux kernel image for version 2.6.24 on x86
ii linux-image-generic 2.6.24.12.13 Generic Linux kernel image
ii virtualbox-ose-modules-2.6.24-12-generic 19 virtualbox-ose module for linux-image-2.6.24

uname -a
Linux daniel-laptop 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686 GNU/Linux

It's not the -386-kernel.

Revision history for this message
Daniel Hahler (blueyed) wrote :

That's odd, because what the virtualbox-ose-modules package in the postinst script does, is (basically):
 sudo /sbin/depmod -q

Does running this manually also try to build the modules for -386?

Can you reproduce it by reinstalling the module package?

Revision history for this message
KJ4OHH (kj4ohh) wrote :

I have the same problem on 64-bit Ubuntu 8.04. I also notice that virtualbox-modules is "recommended" and therefore not installed, could that be it?

my uname -a:
Linux galactica 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008 x86_64 GNU/Linux

my apt-get install virtualbox-ose output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libxalan110 libxerces27
Suggested packages:
  xalan bridge-utils virtualbox-ose-source
Recommended packages:
  virtualbox-ose-modules
The following NEW packages will be installed:
  libxalan110 libxerces27 virtualbox-ose
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 9204kB of archives.
After this operation, 31.5MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://us.archive.ubuntu.com hardy/universe libxerces27 2.7.0-5 [1389kB]
Get:2 http://us.archive.ubuntu.com hardy/universe libxalan110 1.10-3.1 [1182kB]
Get:3 http://us.archive.ubuntu.com hardy/universe virtualbox-ose 1.5.6-dfsg-6ubuntu1 [6632kB]
Fetched 9204kB in 15s (611kB/s)
Preconfiguring packages ...
Selecting previously deselected package libxerces27.
(Reading database ... 113934 files and directories currently installed.)
Unpacking libxerces27 (from .../libxerces27_2.7.0-5_amd64.deb) ...
Selecting previously deselected package libxalan110.
Unpacking libxalan110 (from .../libxalan110_1.10-3.1_amd64.deb) ...
Selecting previously deselected package virtualbox-ose.
Unpacking virtualbox-ose (from .../virtualbox-ose_1.5.6-dfsg-6ubuntu1_amd64.deb) ...
Setting up libxerces27 (2.7.0-5) ...

Setting up libxalan110 (1.10-3.1) ...

Setting up virtualbox-ose (1.5.6-dfsg-6ubuntu1) ...
 * Starting VirtualBox host networking... [ OK ]
 * Starting VirtualBox kernel module vboxdrv
 * No suitable module for running kernel found.

Processing triggers for libc6 ...
ldconfig deferred processing now taking place

Revision history for this message
Daniel Hahler (blueyed) wrote :

r0dzilla, your paste only shows the install of virtualbox-ose, no problems. And yes, you need to install virtualbox-ose-modules manually, because it caused problems when virtualbox-ose depended on it.
So, I don't think you have the same bug.

Daniel Hahler (blueyed)
Changed in virtualbox-ose-modules:
importance: Undecided → Medium
Revision history for this message
Hans L (thehans) wrote :

I had this issue also, and tried installing the modules manually asn Daniel mentioned. It appears to get rid of the "No suitable module..." message.

Would it be possible to change the package management so that it would automatically know and install the correct modules package as a dependency?

Revision history for this message
Daniel Hahler (blueyed) wrote :

Daniel, any update from your side? (the bug gets hijacked already)

Peepsalot: no, it's currently not possible, see bug 152405.

Revision history for this message
Craig Maloney (craig-decafbad) wrote :

It appears nobody has packaged the 2.6.24-18-generic modules yet for Virtualbox. The latest on my system, and the latest in the repo is virtualbox-ose-modules-2.6.24-17-generic.

Revision history for this message
Daniel Hahler (blueyed) wrote :

Craig: are you using the hardy-security, but not the hardy-updates repo by any chance?
The modules are available through hardy-updates, see http://packages.ubuntu.com/search?keywords=virtualbox-ose-modules

Revision history for this message
Craig Maloney (craig-decafbad) wrote :

I have updates selected, but for whatever reason virtualbox-ose-modules wouldn't update until I manually downloaded it. I didn't even see it in the repo when I tried an update / upgrade from apt-get. Strange.

Revision history for this message
Daniel Hahler (blueyed) wrote :

Craig, do you have the meta package for your kernel flavor installed (e.g. virtualbox-ose-modules-generic)? This should take care of installing the current package for your kernel always.
If you've installed that one, it's maybe your Ubuntu archive mirror, which hasn't been synced for a while.

Anyway, I'm closing this bug as invalid, due to missing information and because it handles three different issues already.

Please report a new bug for anything that isn't fixed properly yet. Thank you.

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

Other bug subscribers

Remote bug watches

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