Find the answer to your Linux question:
Results 1 to 5 of 5
Hey guys, I compiled my kernel and booted into it (w00t), but as expected, my Nvidia drivers didn't work, so I need to get the kernel headers. Also as expected, ...
  1. #1
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942

    Getting kernel headers for a 2.6.13.2 kernel

    Hey guys, I compiled my kernel and booted into it (w00t), but as expected, my Nvidia drivers didn't work, so I need to get the kernel headers. Also as expected, apt can't get it for me, so does anyone have an idea where I can get the headers?

    Thanks again!

  2. #2
    Linux User
    Join Date
    Aug 2005
    Location
    Italy
    Posts
    401
    Have you installed kernel-package? If not, do it...

    Code:
    cd /usr/src/kernel-source-2.6.13-2
    make-kpkg --revision=host.1.0  kernel_headers
    cd ..
    dpkg -i kernel-headers-2.6.13-2_host.1.0.deb
    ...
    Of course you should have installed kernel sources of that version... I use the vanilla kernel from kernel.org.
    When using Windows, have you ever told "Ehi... do your business?"
    Linux user #396597 (http://counter.li.org)

  3. #3
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942
    It's angry at me ='(

    Code:
    root@Rob:/usr/src/kernel-source-2.6.13.2# make-kpkg --revision=host.1.0 kernel_headers
    I note that you are using the --revision flag with the value
       host.1.0.
    However, the ./debian/changelog file exists, and has a different value
       10.00.Custom.
    I am confused by this discrepancy, and am halting.

  4. #4
    Linux User
    Join Date
    Aug 2005
    Location
    Italy
    Posts
    401

    Simple

    You have already used kernel-package... right?

    However, the ./debian/changelog file exists, and has a different value
    10.00.Custom.
    Edit your <kernel-tree>/debian/changelog... See the very first lines? You'll find a 10.00.Custom. You must modify it in the string you specifify in --revision flag... or delete the <kernel-tree>/debian/changelog...
    ... and everything will go all right!
    When using Windows, have you ever told "Ehi... do your business?"
    Linux user #396597 (http://counter.li.org)

  5. #5
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942
    Nevermind, fixed it. Thanks for your help!

Posting Permissions

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