[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NVIDIA driver and modconf/.deb



On Wed, 08 Oct 2003 13:10:54 -0300
Frederico Rodrigues Abraham <devotion@terra.com.br> wrote:

>      Hi.
>      I currently have 2 kernels installed on my machine. 2.2.20-idepci
>      
> (default on debian cd) and a compiled 2.4.22 from www.kernel.org
>      I've tried to install the NVIDIA driver from www.nvidia.com from 
> http://www.nvidia.com/object/linux_display_ia32_1.0-4496.html and 
> installed it for my 2.4 kernel. I have some questions...
>      - Is there a way to build the driver as a .deb, that is only
>      loaded 
> on the kernel 2.4?

You can apt-get nvidia-source , which will give you a tar.gz in /usr/src
which when untarred will give you a /usr/src/modules/nvidia-kernel.
After that, its simple, just jump into your /usr/src/linux-2.4.x
directory, and run:

make-kpkg --added-modules nvidia-kernel modules_image

This will create a nvidia-kernel deb in /usr/src for that kernel. When
you install it, it will be installed only for the kernel you compiled it
for. Just make sure you used the make-kpkg method to compile the kernel,
and make sure you use the same rev tags, if you used any.

>      - Is there a way to build the driver for the 2.2 kernel too? It 
> requires modinfo.h from the kernel source, but the 
> kernel-source-2.2.20-woody does not have it, so i cant build the
> driver for this kernel...

I'm not sure this is possible, google it, I know you can build for 2.6
for certain though.

>      - I think i screwed up the GLx/GLcore (software rendering)
>      drivers 
> for my 2.2 kernel, so i cant run opengl apps at all... is there an
> easy way to fix this (like reinstalling a package from the cd)? If
> there is not, no problem, i can reinstall my system.

'reinatall my system' is something windows users do! You can
apt-get --purge your existing GL drivers (make sure you back it up if
you dont know what you're doing) and install nvidia-glx (i'm assuming
thats what you're looking for).
> 
>      Thanks
>      -- Fred
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 
> 

Naitik.



Reply to: