Re: Nvidia Lenny today not working.
On Wed, Sep 24, 2008 at 07:23:30PM -0500, Igor T?mara wrote:
> Hi, I'm on Lenny 2.6.26-1-amd64, xorg 1:7.3+16, when I try
> building the nvidia module with
>
> m-a -t -f clean,build,install nvidia
>
> I get
>
> /usr/src/modules/nvidia-kernel/nv/nv.c: In function
> 'nv_kern_vma_nopage':
> /usr/src/modules/nvidia-kernel/nv/nv.c:1832: error: 'NOPAGE_SIGBUS'
> undeclared (first use in this function)
> /usr/src/modules/nvidia-kernel/nv/nv.c: At top level:
> /usr/src/modules/nvidia-kernel/nv/nv.c:1839: error: unknown field
> 'nopage' specified in initializer
> /usr/src/modules/nvidia-kernel/nv/nv.c:1839: warning: initialization
> from incompatible pointer type
> make[4]: *** [/usr/src/modules/nvidia-kernel/nv/nv.o] Error 1
> make[3]: *** [_module_/usr/src/modules/nvidia-kernel/nv] Error 2
> make[3]: Leaving directory `/usr/src/linux-headers-2.6.26-1-amd64'
> NVIDIA: left KBUILD.
> nvidia.ko failed to build!
> make[2]: *** [module] Error 1
> make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
> make[1]: *** [build-stamp] Error 2
> make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
> make: *** [kdist_image] Error 2
>
> For Lenny users there will be no nvidia propietary support? or there
> is another Debian way to install it?
>
> My card worked previously with the nvidia driver, now I'm running
> with nv, but I would like to have dri support.
>
> 07:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce
> 7300 SE] (rev a1)
When you have /usr/src/modules/nvidia-kernel/nv, it means your modules
dir contains old garbage. The current driver doesn't have that
directory anymore.
m-a clean might help, or do:
rm -rf /usr/src/modules/nvidia
Then do the build again. I really wish module assistant would do a
better job cleaning up before extracting new source code on top of old
code. Very dumb design.
Given you said you did clean, then I guess m-a's clean really doesn't do
what it claims to do.
Also make sure you actually have the right version of
nvidia-kernel-source installed. Should be 173.x.
--
Len Sorensen
Reply to: