Re: installing nvidia drivers - kernel-headers problem
Hello
Bram Mertens (<bram-mertens@linux.be>) wrote:
> [Installing nvidia driver and module-assistant]
> Installing module-assistant and nvidia-kernel-common went fine but I
> didn't perform the 'module-assistant auto-install nvidia' step yet.
>
> According to the HOWTO I will also need the package
> 'kernel-headers-$KVERS where $KVERS is the output from `uname -r`.
>
> On my laptop uname -r gives: 2.6.6-1-386 but there is no package
> 'kernel-headers-2.6.6-1-386'. So I looked at the output of apt-cache
> search kernel-headers and noticed a package 'kernel-headers-2.6-386'.
> Will this package suffice?
This will install the latest version. Install kernel-image-2.6-386 as
well, to upgrade to the latest 2.6 kernel. The one you use has probably
been removed, because it is old.
> According to /proc/cpuinfo the laptop has a "Mobile Intel(R)
> Pentium(R) 4 CPU 3.06GHz" does this mean I should opt for the package
> 'kernel-headers-2.6-686' in stead? Or does this mean I should also
> get the 686-kernel first?
You should get both packages for the same architecture, otherwise you
will have problems building or loading the module. Install
kernel-image-2.6-686 and kernel-headers-2.6-686. They should depend on
the latest version. m-a should be able to get the headers automatically
once you upgraded to a newer kernel.
best regards
Andreas Janssen
--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
Reply to: