Page 1 of 1

Can't install on Debian Etch (kernel module compilatio fail)

Posted: 24. Sep 2008, 08:12
by gaby_stallo
Hi, i want to install virtualbox 2.0.2 on my debian etch, i downloaded the .deb from http://www.virtualbox.org/wiki/Linux_Downloads ... but when i try to install it, i get the message "Unable to find a precompiled module for the current kernel!" then it try to compile the module but "Compilation of the kernel module FAILED!" ... if i install de ose version i can compile it from its source with "module-assistant auto-install virtualbox-ose" ... but i need usb support so i need the non-free version :( ! any ideas ?

pd.: i recompiled my linux kernel only because it comes with only 1 gb of memory support by default and i got 2 ...

Re: Can't install on Debian Etch (kernel module compilatio f

Posted: 24. Sep 2008, 11:06
by fixedwheel
i always compile the kernel of my debian boxes, and the PUEL version has had no problem compiling its module (by install or by calling /etc/init.d/vboxdrv setup) when the contents of /usr/src/linux-source-`uname -r` is from my running kernel.
i have done this on debian lenny with every vbox from 1.3.8 to 2.0.2, and etch up to 1.5.6 so i can not give warranty for etch and 2.02...
pd.: i recompiled my linux kernel only because it comes with only 1 gb of memory support by default and i got 2 ...
there are many good reasons, i want CONFIG_PREEMPT_BKL and CONFIG_HZ=300 (its a desktop machine), and i compile the ide and ext3 into the kernel to run without initrd, throw away all unneeded stuff ...

but there should be a distribution kernel supporting highmen?

Posted: 24. Sep 2008, 17:43
by gaby_stallo
almost every dist has highmem support ... i installed this debian from a netinst and the kernel came without it ...

i'm going to try downloading a new kernel, compile it, install it, and with the source still there install vbox ...

thanks for the help !!

Posted: 24. Sep 2008, 19:02
by fixedwheel
almost every dist has highmem support ... i installed this debian from a netinst and the kernel came without it ...
yes i remember, it must be the -486 flavor... i replaced that after installation with the -686, and this one has CONFIG_HIGHMEM=y (just had a look into my etch box, i always keep one distibution kernel)