[SOLVED] Re: Nvidia Lenny today not working.

2008-09-25 Thread Igor Támara
Hi, I grabbed nvidia-kernel-source[a] and nvidia-glx[b] from [1]

a.nvidia-kernel-source_173.14.09-5_amd64.deb
b.nvidia-glx_173.14.09-5_amd64.deb
1.http://http.us.debian.org/debian/pool/non-free/n/nvidia-graphics-drivers/

First installed kernel sources 173 then ran m-a as described before,
installed nvidia-glx and everything went fine.

The thing that has to be noticed is to get the kernel-sources that
are compatible with xorg.

Len, thank you for your suggestion.  The wiki helped a lot on this
issue too. Thanks to all.

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

-- 
Recomiendo Debian, la mejor distribución Linux
http://www.debian.org


signature.asc
Description: Digital signature


Re: Nvidia Lenny today not working.

2008-09-25 Thread Hans-J. Ullrich
Am Donnerstag, 25. September 2008 schrieb Igor Támara:
> 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)

Did you update to the latest version of Xorg ? This is often the most 
problem...

Good luck !

Hans


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Nvidia Lenny today not working.

2008-09-25 Thread Hans-J. Ullrich
Am Donnerstag, 25. September 2008 schrieb Hans-J. Ullrich:
> Am Donnerstag, 25. September 2008 schrieb Igor Támara:
> > 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)
>
> Did you update to the latest version of Xorg ? This is often the most
> problem...
>
> Good luck !
>
> Hans

Sorry, I read  wrong. You crashed during compilation ! You must install and 
compile nvidia-kernel, after this install the package nvidia-glx.

Then, in xorg.conf change the driver from "nv" to "nvidia". If X failes to 
start, you can comment the entry > Load "glx" < out, so glx will not be used, 
only the kernel-module (just for testing purposes). 

Make sure, you have the latest Kernel-headers, Xorg version and nvidia-* 
installed.

Good luck !

Hans
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Nvidia Lenny today not working.

2008-09-25 Thread Lennart Sorensen
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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Nvidia Lenny today not working.

2008-09-24 Thread Igor Támara
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)

-- 
Recomiendo Gimp para hacer retoque digital o banners de Internet
http://www.gimp.org


signature.asc
Description: Digital signature