Can't install VB, seems like it needs kernel headers?
Posted: 6. Apr 2009, 15:35
Don't have much idea what I'm doing.
Got the source code for kernel.2.6.29.1 and compiled it using the .config file from Debian Lenny 5, AMD64. It seems to work allright. Installed nVidia's drivers, mention this because the installer made the kernel module alright.
Tried to install virtualbox from a *.deb file, but it wouldn't work:
Here is vbox-install.log:Since the thing suggests that it is probably failing because the linux-headers package is not installed, I made a fake linux headers package file in /usr/src that symbolically linked to the headers in /lib/include or whereever. Above is the output after I had done that.
Tried putting the drivers from kernel.2.6.26 into the 29's modules and they would not load into the kernel - modconf said they were the wrong format or something.
How do I fix this? Is there a headers package for the latest stable kernel,29? Why does it need the headers package it should be able to use the configured source shouldn't it?
Got the source code for kernel.2.6.29.1 and compiled it using the .config file from Debian Lenny 5, AMD64. It seems to work allright. Installed nVidia's drivers, mention this because the installer made the kernel module alright.
Tried to install virtualbox from a *.deb file, but it wouldn't work:
Code: Select all
fido:~/Packages/VirtualBox# /usr/share/mc/extfs/deb run /root/Packages/VirtualBox/virtualbox-2.1_2.1.0-41146_Debian_lenny_amd64.deb INSTALL
Installing /root/Packages/VirtualBox/virtualbox-2.1_2.1.0-41146_Debian_lenny_amd64.deb
(Reading database ... 207386 files and directories currently installed.)
Preparing to replace virtualbox-2.1 2.1.0-41146_Debian_lenny (using .../virtualbox-2.1_2.1.0-41146_Debian_lenny_amd64.deb) ...
Stopping VirtualBox kernel module:done..
Unpacking replacement virtualbox-2.1 ...
Setting up virtualbox-2.1 (2.1.0-41146_Debian_lenny) ...
addgroup: The group `vboxusers' already exists and is not a system group. Exiting.
Messages emitted during module compilation will be logged to /var/log/vbox-install.log.
Starting VirtualBox kernel module:
No suitable module for running kernel found failed!Code: Select all
** Compiling vboxdrv
make KBUILD_VERBOSE= -C /lib/modules/2.6.29.1/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
CC [M] /tmp/vbox.0/linux/SUPDrv-linux.o
/tmp/vbox.0/linux/SUPDrv-linux.c: In function <E2><80><98>VBoxDrvLinuxCreate<E2><80><99>:
/tmp/vbox.0/linux/SUPDrv-linux.c:706: error: <E2><80><98>struct task_struct<E2><80><99> has no member named <E2><80><98>euid<E2><80><99>
/tmp/vbox.0/linux/SUPDrv-linux.c:719: error: <E2><80><98>struct task_struct<E2><80><99> has no member named <E2><80><98>uid<E2><80><99>
/tmp/vbox.0/linux/SUPDrv-linux.c:720: error: <E2><80><98>struct task_struct<E2><80><99> has no member named <E2><80><98>gid<E2><80><99>
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2Tried putting the drivers from kernel.2.6.26 into the 29's modules and they would not load into the kernel - modconf said they were the wrong format or something.
How do I fix this? Is there a headers package for the latest stable kernel,29? Why does it need the headers package it should be able to use the configured source shouldn't it?