Re: Kernel Source



Bob wrote:
> Hello list, I recently bought a GForce 6600GT AGP graphics card to
> replace an old GForce card. I needed this for running a particular
> application under Windows that required a card with 128Mb of memory.
>
> I was running Sarge and after the install XFree86 wouldn't work, which
> I sort of expected. I downloaded the latest NVidia Linux drivers, but
> they wouldn't install, something about no pre-comiled kernel headers
> and no source for my 2.4.x kernel.

You don't need pre-compiled headers or the kernel source. You need the headers.

> As I didn't have much on the machine I decided to blat it and do a
> netinstall of Etch (got to love that net install, much better than
> downloading all those CDs...). As far as I can tell I'm now running
> XOrg or something and I just get lots of flashing coloured bands on
> the screen when it starts up.
>
> So I tried to install the NVidia drivers again, but get he same problem,
> no pre-compiled headers for my kernel and no source. So I decided to
> install the kernel source, but I can't find a package for it? Am I
> missing something here, or can I not download the 2.6.x kernel source
> via apt...?

Again, you only need the headers.

# apt-get install linux-headers-$(uname -r) module-assistant
# m-a a-i nvidia
# apt-get install nvidia-glx nvidia-settings
# modprobe nvidia
# echo nvidia >> /etc/modules
# dpkg-reconfigure xserver-xorg

--
Chris Howie
http://www.chrishowie.com

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d-(--) s:- a--->? C++(+++)$> UL++++ P++++$ L+++>++++ E---
W++ N o++ K? w--$ O M- V- PS--(---) PE++ Y+ PGP++ t+ 5? X-
R(+)>- tv-(--) b- DI+> D++ G>+++ e>++ h(--)>--- !r>+++ y->+++
------END GEEK CODE BLOCK------

Attachment:signature.asc
Description: OpenPGP digital signature



Relevant Pages

  • Re: cant install nvidia drivers for kernel 2.6.5-7.111
    ... I try to install the nvidia ... >> it can't find my kernel source, that I don't have it installed. ... After that was completely finished I went back into online update ...
    (alt.os.linux.suse)
  • Re: Question about installing nvidia driver
    ... > because the kernel module was built using the wrong kernel source files. ... I just spent a couple of days messing with the Nvidia installer on a new ... I then ren the installer with options pointing to my headers and install path: ...
    (Debian-User)
  • Re: [SLE] nvidia handholding
    ... > download the nvidia driver. ... However if your running kernel source for 2.6.x then ... list that you can use - often times it's needed to use the install program to ... and the drivers and support from ATi in inferior, ...
    (SuSE)
  • Re: nvidia quadro fx 700 & suse 9.1 on amd64
    ... > 1.0-6629 obtained directly from nvidia website without any luck. ... Have you *very* carefully read and followed the README file from nVidia ... You will need to install the kernel source for this to work; ...
    (alt.os.linux.suse)
  • Re: [SLE] vmplayer 10.1
    ... I have the kernel sources installed, ... If the version numbers do not match, obtain the source files and headers from ... This section has the following instructions to make kernel source files usable ... Install kernel-source.$ARCH.rpm. ...
    (SuSE)