Results 1 to 4 of 4

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

  1. #1
    Just burned his ISO
    Join Date
    Mar 2010
    Location
    Zaragoza
    Posts
    4

    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)
    Code:
    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
    Code:
    ls /usr/src | grep linux-source-3.2.6.tar.bz2
    Now do the symlinks and prepare to compile kernel-sources

    64bits:
    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
    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/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.
    Code:
    /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!

    Code:
    repare-kernel-sources
    cd /usr/src/linux
    cp -rf include/generated/* include/linux/
    Code:
    chmod +x amd-driver-installer-12-4-x86.x86_64.run
    ./amd-driver-installer-12-4-x86.x86_64.run
    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

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

  2. #2
    Good friend of the forums Eatme's Avatar
    Join Date
    Aug 2009
    Location
    Socks5
    Posts
    308

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

    whats the difference from your amd vs ati-driver-installer-11-12-x86.x86_64.run
    Wiffy-Auto-Cracker - was the best thing that ever happen to me. :) Wo0oT :)
    AWUSO36H_500mW_5dBi Antenna

  3. #3
    Just burned his ISO
    Join Date
    Mar 2010
    Location
    Zaragoza
    Posts
    4

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

    Quote Originally Posted by Eatme View Post
    whats the difference from your amd vs ati-driver-installer-11-12-x86.x86_64.run
    ati its no longer called ati, now called amd graphics, your version is 11-12, its old.

  4. #4
    Just burned his ISO
    Join Date
    Jan 2008
    Posts
    1

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

    Thank you very much...

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 2.6.30.5) 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/2.6.21.5/build"
    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
  •