* 2.6.33, debian lenny, nvidia and vbox
Posted on February 25th, 2010 by Alex. Filed under Linux.
Today kernel 2.6.33 became stable. This post describes, how to get 2.6.33 running on a Debian box running on Lenny (the stable version).
- If you use make-kpkg (like me) to compile the kernel, you have to get a newer version of the the package “kernel-package”. In Lenny the current version is 11.015. The compilation works with the version that is shipped with testing (currently 12.032). So download the package from a server of your choice and install it with
dpkg -i <packageName>. All dependencies are already met. - Obviously the nvidia-kernel-source will create problems as usual:
/usr/src/modules/nvidia-kernel/nvacpi.c: In function ‘nv_acpi_methods_init’:
/usr/src/modules/nvidia-kernel/nvacpi.c:511: error: too few arguments to function ‘acpi_walk_namespace’
make[5]: *** [/usr/src/modules/nvidia-kernel/nvacpi.o] Error 1
make[4]: *** [_module_/usr/src/modules/nvidia-kernel] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.33′
make[3]: *** [modules] Error 2
make[3]: Leaving directory `/usr/src/modules/nvidia-kernel’
make[2]: *** [binary-modules] Error 2
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel’
make[1]: *** [kdist_build] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel’
Module /usr/src/modules/nvidia-kernel failed.The patch from this thread in the nVidia forum helped and it works without any problems (apart from all the warning during compilation).
- The kernel module for VirtualBox is quite aged and currently at version 1.6.6. The compilation process complains about missing files:
In file included from /usr/src/modules/virtualbox-ose/include/VBox/types.h:34,
from /usr/src/modules/virtualbox-ose/SUPDRV.h:39,
from /usr/src/modules/virtualbox-ose/linux/SUPDrv-linux.c:35:
/usr/src/modules/virtualbox-ose/include/iprt/types.h:87:30: error: linux/autoconf.h: No such file or directory
/usr/src/modules/virtualbox-ose/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxCreate’:
/usr/src/modules/virtualbox-ose/linux/SUPDrv-linux.c:734: error: ‘struct task_struct’ has no member named ‘euid’
/usr/src/modules/virtualbox-ose/linux/SUPDrv-linux.c:735: error: ‘struct task_struct’ has no member named ‘egid’
kmk[2]: *** [/usr/src/modules/virtualbox-ose/linux/SUPDrv-linux.o] Error 1
kmk[2]: Leaving directory `/usr/src/linux-2.6.33′
kmk[1]: *** [_module_/usr/src/modules/virtualbox-ose] Error 2
kmk[1]: Leaving directory `/usr/src/linux-2.6.33′
kmk: *** [binary-modules] Error 2
kmk: Leaving directory `/usr/src/modules/virtualbox-ose’
make[1]: *** [kdist_build] Error 2
make[1]: Leaving directory `/usr/src/modules/virtualbox-ose’
Module /usr/src/modules/virtualbox-ose failed.Fortunately it is easy and fast to be fixed either by applying virtualbox-ose-2.6.33.patch.zip or by replacing
#include <linux/autoconf.h>by
#include <generated/autoconf.h>in the files
SUPDRV.h,r0drv/linux/the-linux-kernel.h andinclude/iprt/types.h.
March 18th, 2010 at 6:45 pm
Thanks for the info. Very useful.
[REPLY]