I have read of users complained that not compiled the vbox modules in the new kernel. I had the same problem installing ati catalyst for hashcat xD.
I do not know if it affects all bt r2 or just those who should upgraded from r1 to r2, I should not had time for more tests.
If you been having problems to build things that require headers, here is the solution, tested in a physical amd64 and a 32-bit vm
First we need the tools, not all are necessary, but if I personally recommend: (some tools are in bt defaults)
You have to make sure the kernel source is in /usr/src, but you should download it from the repositoryCode:apt-get install build-essential fakeroot dh-make libstdc++6 gcc-4.4-base dkms module-assistant linux-headers linux-headers-3.2.6 xserver-xorg xserver-xorg-core file-roller
Now do the symlinks and prepare to compile kernel-sourcesCode:ls /usr/src | grep linux-source-3.2.6.tar.bz2
64bits:
32bits:Code:rm /usr/src/linux ln -s /usr/src/linux-source-3.2.6 /usr/src/linux rm /usr/src/linux-headers-3.2.6/include/asm ln -s /usr/src/linux-source-3.2.6/arch/ia64/include/asm /usr/src/linux-headers-3.2.6/include/asm ln -s /usr/src/linux-headers-3.2.6 /lib/modules/3.2.6/build
Now we can compile things like wifi drivers, vbox, etc. This also would serve us for the guest additions in a bt vmCode:rm /usr/src/linux ln -s /usr/src/linux-source-3.2.6 /usr/src/linux rm /usr/src/linux-headers-3.2.6/include/asm ln -s /usr/src/linux-source-3.2.6/arch/x86/include/asm /usr/src/linux-headers-3.2.6/include/asm ln -s /usr/src/linux-headers-3.2.6 /lib/modules/3.2.6/build ln -s /usr/src/linux-source-3.2.6/arch/x86/Makefile_32.cpu /usr/src/linux-headers-3.2.6/arch/x86/Makefile_32.cpu
To virtualbox, you must ensure that the vbox symlink in /usr/src/, if it is not, Create symlink /var/lib/dkms/vboxhost/4.1XXX/source/ to usr/src/vboxhost-4.1XXXX, depending on your vbox version.
For the fglrx ( 8.961 ) I use the amdcatalyst, is downloaded from their website and just run with an error such as: a problem has occurred, find the solution as you can xDD) in the log you can see the problem, the headers!Code:/etc/init.d/vboxdrv setup
Code:repare-kernel-sources cd /usr/src/linux cp -rf include/generated/* include/linux/follow the steps or make in /usr/src/glrx-8.961/Code:chmod +x amd-driver-installer-12-4-x86.x86_64.run ./amd-driver-installer-12-4-x86.x86_64.run
The current version of catalyst has no problem, and previous to this it should work fine
You can check which video driver you are using with the command
If you have any issue with xserver since you have catalyst, you can do:Code:cat /var/log/Xorg.0.log
Enjoy and hashcat it!!!Code:mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old aticonfig --initial -f reboot



