Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: BT4 Kernel headers

  1. #1
    Junior Member
    Join Date
    Sep 2008
    Posts
    25

    Default BT4 Kernel headers

    I'm not sure how serious an issue this is. I had it happen a while ago for something I was trying to compile for myself, but i have reproduced it in envy-ng while trying to install video drivers for ATI or nvidia.

    Ubuntu forums refer to uname -r for getting your kernel version, BT4 replies "2.6.28.1", and the most recent kernel headers in aptitude appear to be for 2.6.27-11.

    Has anyone else had a conflict with this? If not I'm curius why I'm getting this error.

    I've done a harddrive install as per SuspectZero's script found in the HowTo's forum. It was a move-over from a persistant USB boot. But I've tested it from the livecd directly also and got the same issue with envy ( I unfortunately cannot recall what gave me the error first ).

  2. #2
    Member imported_blackfoot's Avatar
    Join Date
    Jun 2007
    Posts
    386

    Default lag

    There is a lag between distributions depending on the upload approvals for (especially for) kernel upgrades or software upgrades.

    Minor revision changes are often cosmetic and would normally not affect mainstream applications to any marked degree.
    Lux sit

  3. #3
    Junior Member
    Join Date
    Sep 2008
    Posts
    25

    Default

    Quote Originally Posted by blackfoot View Post
    There is a lag between distributions depending on the upload approvals for (especially for) kernel upgrades or software upgrades.

    Minor revision changes are often cosmetic and would normally not affect mainstream applications to any marked degree.
    I have no problem with this.. But aren't drivers mainstream? Shouldn't BT have come with the headers which are up to date?

    The error is basically "[Application] has detected that the headers for your kernel are missing and cannot be installed".

    If your comment was giving aptitude a reason to not have the most up-to-date headers, then fine.. They don't need to have them, but if I'm not the only one with this issue then why didn't BT include the headers for the kernel its using?

    I'm still not sure if this is just an isolated incident, so I guess that's my first step to check if anyone else is having this problem. If not I'll do what I can to fix it for myself, if so then maybe someone more able in linux can come up with a solution.

  4. #4
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    Its because backtracks kernel is custom built. The kernel sources are in the offsec repo. Although Im not clear what your issue is. The sources and headers for the kernel should be in the ,iso. I havent had any issue at all with nvidia drivers.

  5. #5
    Junior Member
    Join Date
    Sep 2008
    Posts
    25

    Default

    Quote Originally Posted by pureh@te View Post
    Its because backtracks kernel is custom built. The kernel sources are in the offsec repo. Although Im not clear what your issue is. The sources and headers for the kernel should be in the ,iso. I havent had any issue at all with nvidia drivers.
    So I'd need to add a third party repo for it? And that way I can get the headers?

    Or does that mean due to the custom-ness, there aren't headers available for the public?

    Edit: The repo seems to be there. I see the kernel image:

    dave@Guardian:/pentest/password/pyrit# apt-cache search $(uname -r)
    linux-image-2.6.28.1 - Linux kernel binary image for version 2.6.28.1

    Are the headers available within the image? If so I'll look up a way to get them out and implement them.

    The main issue I was having was with compiling something specific which I can't recall right now. I just know that when I use envyng (which is an automatic video driver installation suite for ubuntu) it gives this error when I attempt to install through it.

    I needed to use it to try and get the latest ATI drivers while I was seeing if I could get pyrit working with stream on my desktop.

  6. #6
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    The problem may be that the packages in the main repo are built on an older kernel than we have in backtrack. Its my understanding that the 2.6.28.1 sources and headers are in the .iso but when muts comes online later I will get a definite answer for you.

  7. #7
    Junior Member
    Join Date
    Sep 2008
    Posts
    25

    Default

    Quote Originally Posted by pureh@te View Post
    The problem may be that the packages in the main repo are built on an older kernel than we have in backtrack. Its my understanding that the 2.6.28.1 sources and headers are in the .iso but when muts comes online later I will get a definite answer for you.
    Thanks, that would be good.

    It didn't really come up as an issue till I tried getting the ati drivers installed. Envyng is really useful for installing video drivers so when it brought up the issue again I realised it wasn't an isolated incident for my single install and also carried over to my desktop running the livecd.

  8. #8
    Junior Member
    Join Date
    Sep 2008
    Posts
    25

    Default

    Just checking up on the status of this, I'm still having the issue.

  9. #9
    Just burned his ISO
    Join Date
    Apr 2009
    Posts
    10

    Default

    me too
    can't use envy to install drivers for nvidia.

  10. #10
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    Well I talked to muts and he says that all the headers and the kernel source is included. We have also tried to recreate you issue and have not been able to.
    The only thing I can suggest is to rm -rf the linux symlink in /usr/src and then re link the kernel image ln -s linux-2.6.28.2 linux
    Hopefully something you did just fouled up the symlink.

Page 1 of 2 12 LastLast

Posting Permissions

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