Find the answer to your Linux question:
Results 1 to 7 of 7
I'm using debian etch and I want to install ATi drivers for my VGA, but I can't install them without the kernel sources. And I have a problem with installing ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! tuxv's Avatar
    Join Date
    Jul 2006
    Location
    Colombo, Sri Lanka
    Posts
    92

    Kernel Sources


    I'm using debian etch and I want to install ATi drivers for my VGA, but I can't install them without the kernel sources. And I have a problem with installing the kernel source for my kernel version

    when I enter this command
    Code:
    vidanaarachchi@v-base:/usr/src$ uname -r
    2.6.18-3-686
    the kernel version seems to be 2.6.18-3-686.

    But I can't find the necessary sources for it
    Code:
    vidanaarachchi@v-base:/usr/src$ sudo apt-get install linux-headers-$(uname -r)
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package linux-headers-2.6.18-3-686
    Anyone know how to deal with this problem, please help me.

    NOTE:- I'm using a freshly installed debian etch

  2. #2
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    Try linux-headers-2.6-686 - that should be what you're looking for.
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  3. #3
    Just Joined! tuxv's Avatar
    Join Date
    Jul 2006
    Location
    Colombo, Sri Lanka
    Posts
    92
    Thanks bryansmith I'll try that, you replied pretty fast

    Thanks again

  4. #4
    Just Joined! tuxv's Avatar
    Join Date
    Jul 2006
    Location
    Colombo, Sri Lanka
    Posts
    92
    I installed the linux-headers-2.6-686 package without any troubles, But when I enter the command
    Code:
    sudo m-a a-i fglrx
    it gives me error messages
    Bad luck the kernel headers for the target kernel couldn't be found and you didn't specify other valid kernel to use
    If the running kernel has been shipped with the debian distribution, please install the package linux-kernel headers-2.6.18-3-686. If your kernel source tree (headers) is located in some non-usual location, please set the KERNELDIRS environment variable to the path of this directory, or (alternatively) specify the source directory we build for with the --kernel-dir option in module-assistant calls.
    Package fglrx-kernel-src was not built successfully, see /var/cache/modass/fglrx-kernel-src*buildlog* for details!
    I'll be very thankful if you can give me a solution for this problem

  5. #5
    Just Joined! tuxv's Avatar
    Join Date
    Jul 2006
    Location
    Colombo, Sri Lanka
    Posts
    92
    I found that there's some linux-headers installed in /usr/src

    they are called linux-headers-2.6.18-4 and linux-headers-2.6.18-4-686

    can I build that driver using the above headers

    Thanks in advance

  6. #6
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    Well, I don't have an ATI card so I can't help you with ATI errors. The best I can do is direct you here which is a link I found on the official Debian wiki about installing ATI drivers. Hope that helps!
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  7. #7
    Just Joined! tuxv's Avatar
    Join Date
    Jul 2006
    Location
    Colombo, Sri Lanka
    Posts
    92
    It's not an error with ATi drivers, it seems to me that it's because I don't have the needed kernel headers, do you know any way to get the sources for my kernel version.

    Or can you tell me how to point the module assistant to my current headers.

    cheers

Posting Permissions

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