Results 1 to 4 of 4

Thread: Fix headers 3.2.6 (vbox modules, ati catalyst, wifi drivers, etc)

Threaded View

  1. #1
    Just burned his ISO
    Join Date
    Mar 2010

    Default Fix headers 3.2.6 (vbox modules, ati catalyst, wifi drivers, etc)

    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)
    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
    You have to make sure the kernel source is in /usr/src, but you should download it from the repository
    ls /usr/src | grep linux-source-3.2.6.tar.bz2
    Now do the symlinks and prepare to compile kernel-sources

    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
    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
    Now we can compile things like wifi drivers, vbox, etc. This also would serve us for the guest additions in a bt vm
    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.
    /etc/init.d/vboxdrv setup
    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!

    cd /usr/src/linux
    cp -rf include/generated/* include/linux/
    chmod +x
    follow the steps or make in /usr/src/glrx-8.961/

    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

    cat /var/log/Xorg.0.log
    If you have any issue with xserver since you have catalyst, you can do:
    mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
    aticonfig --initial -f
    Enjoy and hashcat it!!!
    Last edited by Nineain; 05-03-2012 at 09:16 AM.

Similar Threads

  1. Replies: 1
    Last Post: 04-16-2011, 08:14 AM
  2. Messed up sound modules/drivers
    By iakovos in forum Beginners Forum
    Replies: 0
    Last Post: 12-10-2010, 12:43 AM
  3. Kernel Upgrade (to broke the ATi Catalyst drivers . . . no graphics
    By jalind in forum OLD BackTrack 4 Software Related Issues
    Replies: 1
    Last Post: 08-31-2009, 09:25 AM
  4. rt73 drivers / "/lib/modules/"
    By Danboy in forum OLD BT3final Support
    Replies: 7
    Last Post: 06-08-2009, 09:33 PM
  5. Wifi drivers
    By Kriss3d in forum OLD Newbie Area
    Replies: 3
    Last Post: 07-16-2008, 12:55 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts