Posts: 98
loukingjr
Joined: 06 Nov 2009
#1
I just installed antix 12 test as a guest in VirtualBox and I'm having a problem getting the guest additions to build. Here is the error message...

Code: Select all

Uninstalling modules from DKMS
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxguest/4.1.8/source ->
                 /usr/src/vboxguest-4.1.8

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.2.9-antix.1-486-smp -C /lib/modules/3.2.9-antix.1-486-smp/build M=/var/lib/dkms/vboxguest/4.1.8/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.2.9-antix.1-486-smp (i686)
Consult /var/lib/dkms/vboxguest/4.1.8/build/make.log for more information.
Failed to install using DKMS, attempting to install without
make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/3.2.9-antix.1-486-smp/build SUBDIRS=/var/tmp/vbox.0 SRCROOT=/var/tmp/vbox.0 modules
/usr/src/linux-headers-3.2.9-antix.1-486-smp/arch/x86/Makefile:39: /usr/src/linux-headers-3.2.9-antix.1-486-smp/arch/x86/Makefile_32.cpu: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-headers-3.2.9-antix.1-486-smp/arch/x86/Makefile_32.cpu'.  Stop.
make: *** [vboxguest] Error 2
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
I ran into the same problem with another Debian spin and they had to change the headers to correct the problem. something to do with Makefile_32.cpu.

any thoughts?
thanks.
Last edited by loukingjr on 07 Mar 2012, 03:43, edited 1 time in total.
Posts: 75
tradetaxfree
Joined: 18 Jan 2012
#2
When the 3.2 liquorix kernels came out I had to remove Virtualbox from the host system & reinstall it before DKMS would build the kernel modules correctly. Perhaps this is related ? Does your host have a 3.1 kernel or older ?
Posts: 98
loukingjr
Joined: 06 Nov 2009
#3
tradetaxfree wrote:When the 3.2 liquorix kernels came out I had to remove Virtualbox from the host system & reinstall it before DKMS would build the kernel modules correctly. Perhaps this is related ? Does your host have a 3.1 kernel or older ?
No, my host is a Mac running OSX 10.7.3. Plus the guest builds the kernel, not the host or VirtualBox.

edit: I forgot to mention I installed the 3.2.0 kernel and headers and the guest additions built and run just fine. I think there's something missing in the 3.2.9 headers which is what happened with the other distro.
Posts: 67
dpeirce
Joined: 17 Feb 2009
#4
I also am trying to install the VB Guest Additions (VB 4.1.16, Antix 12 final). I get exactly the same error messages as in the beginning of this thread. # uname -r says my kernel is 3.5.0-antix.2-486-smp. I've installed every header with the 3.5 number but Antix still can't find the header. I also made sure than gcc, make/automake, dkms, the image, and build-essentials were installed.

I see from my search that this problem has been around for a while. Any hope for a fix?

In faith, Dave
Viva Texas
Posts: 75
tradetaxfree
Joined: 18 Jan 2012
#5
If the Antix Kernels have KVM support built in & your CPU supports VT-x / AMD-V you can look at my guide
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://crunchbanglinux.org/forums/topic/21311/kvm-with-winxp-guest-virtio-drivers-working-with-grsecurity/"
linktext was:"here"
====================================
for running a WinXP Guest.

I've found the performance to be much better than Virtualbox which I no longer use. The other temporary solution is to run the Liquorix Kernel so the Virtualbox Kernel Modules build.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#6
Run the svmi script as root (in X is ok) and install the non-free wheezy version of Virtualbox (and after the guest option.)

The ose version doesn't seem to build, not sure why (wild guess that is uses gcc/cpp 4.6 rather than 4.7)
Posts: 67
dpeirce
Joined: 17 Feb 2009
#7
Thank you for the suggestions.

In faith, Dave
Viva Texas