Kernel 2.6.38 and VirtualBox 4.0

jcjglt at lagoon.nc jcjglt at lagoon.nc
Tue Feb 15 04:29:10 UTC 2011


I run a laptop with Ubuntu10.04-1LTS and have been using Windows XP SP3 
in a VirtualBox4.0 for months without any problem.
A few days ago I upgraded the kernel to the new Linux 2.6.38-1 generic 
lucid1 and got the following  error message at the end of upgrade about 
VirtualBox
namely :
"Package problem :
Sorry, failure of installation or upgrade of virtualbox-4.0 package.
You could help the developpers to solve the problem by providing them 
with data".
I tried to submit the informations and got the answer :
"Informations could not be submitted, package is not supported".

I started VirtualBox4.0 then Windows XP inside and got the following 
error boxes :
<The virtual machine "XP" has terminated unexpectedly during startup 
with exit code 1.
<Details :
<Error code :
<NS_ERROR_FAILURE (0x80004005)
<Component :
<Machine
<Interface :
<IMachine {662c175e-a69d-40b8-a77a-1d719d0ab062}

and a second error box appeared :
<VirtualBox-Error in suplibOsInit
<kernel driver not installed (rc=-1908)
<The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or 
there is a permission problem with /dev/vboxdrv. Please reinstall the 
kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS 
package first. This package keeps track of Linux kernel changes and 
recompiles the vboxdrv <kernel module if necessary.

I ran "sudo /etc/init.d/vboxdrv setup" as I have often to do - with 
success - after a kernel upgrade and today it failed with the following 
message error :
< jean-claude at jean-claude-laptop:~$ sudo /etc/init.d/vboxdrv setup
[sudo] password for jean-claude:
* Stopping VirtualBox kernel modules * done.
* Uninstalling old VirtualBox DKMS kernel modules * done.
* Trying to register the VirtualBox kernel modules using DKMS
Error! Bad return status for module build on kernel: 2.6.38-1-generic (i686)
Consult the make.log in the build directory
/var/lib/dkms/vboxhost/4.0.2/build/ for more information.

* Failed, trying without DKMS
* Recompiling VirtualBox kernel modules
* Look at /var/log/vbox-install.log to find out what went wrong
jean-claude at jean-claude-laptop:~$

Here is the content of /var/lib/dkms/vboxhost/4.0.2/build/ :
<DKMS make.log for vboxhost-4.0.2 for kernel 2.6.38-1-generic (i686)
Monday 7 February 2011, 18:23:12 (UTC+1100)
make: entering directory « /usr/src/linux-headers-2.6.38-1-generic »
LD /var/lib/dkms/vboxhost/4.0.2/build/built-in.o
LD /var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/built-in.o
CC [M] /var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/linux/SUPDrv-linux.o
In file included from 
/var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/include/VBox/types.h:30,
from 
/var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/linux/../SUPDrvInternal.h:35,
from /var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/linux/SUPDrv-linux.c:31:
/var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/include/iprt/types.h:105:31: 
error: linux/autoconf.h: Aucun fichier ou dossier de ce type
make[2]: *** 
[/var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/linux/SUPDrv-linux.o] Erreur 1
make[1]: *** [/var/lib/dkms/vboxhost/4.0.2/build/vboxdrv] Erreur 2
make: *** [_module_/var/lib/dkms/vboxhost/4.0.2/build] Erreur 2
make: leaving directory « /usr/src/linux-headers-2.6.38-1-generic »

Here is the content of /var/log/vbox-install.log :
<Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.0.2
------------------------------
Deleting module version: 4.0.2
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.0.2/source ->
/usr/src/vboxhost-4.0.2
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.38-1-generic -C 
/lib/modules/2.6.38-1-generic/build 
M=/var/lib/dkms/vboxhost/4.0.2/build....(bad exit status: 2)
0
0
Failed to install using DKMS, attempting to install without
Makefile:178: *** Error: /usr/src/linux (version 2.6.38-rc2) does not 
match the current kernel (version 2.6.38-1-generic). Halting.


Then, I rebooted my laptop with the former kernel 2.6.36-1 generic 
lucid1. I started VBox4.0.2 then Windows XP, which failed with the same 
messages. I ran "sudo /etc/init.d/vboxdrv setup" in a terminal and it 
worked OK as allways before and I could boot Windows XP.
I then rebooted to 2.6.38-1 and could not boot Windows XP in VBox. There 
seems to be a real problem with this new 2.6.38-1 kernel.

Since the first attempt to upgrade to 2.6.38-1 I also upgraded to -2 
then -3 from Synaptic and got the same error mesage during installation 
of linux-headers-generic and the same error messages during any attempt 
to start Windows XP from within VirtualBox 4.0.2 PUEL.


Any idea about this problem ? I'd like to get a solution since kernel 
2.6.38-3 is perfectly working on my laptop with Ubuntu 10.04-1LTS Lucid, 
except VirtualBox and for the first time for months I have with this 
kernel under development a perfectly working and steady WiFi connexion.




<http://forums.virtualbox.org/memberlist.php?mode=viewprofile&u=49812>
    **
    **
    **
    **






    **
    **
    **


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-bugsquad/attachments/20110215/5d44c057/attachment-0001.html>


More information about the Ubuntu-bugsquad mailing list