nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   1.0-6629 x86/x86-64 and Linux 2.6.10 (http://www.nvnews.net/vbulletin/showthread.php?t=42964)

zander 12-25-04 06:56 AM

1.0-6629 x86/x86-64 and Linux 2.6.10
 
2 Attachment(s)
It'd be great if one of the moderators could make this post sticky.

The 1.0-6629 NVIDIA Linux driver release for Linux/x86 and Linux/x86-64 may not work correctly with Linux 2.6.10 out-of-the box, depending on your configuration. If you do not wish to wait for an updated NVIDIA driver release to address this problem, you can solve it by downloading the attached patch files and following the steps below:

# sh NVIDIA-Linux-x86_64-1.0-6629-pkg0.run --extract-only
# cd NVIDIA-Linux-x86_64-1.0-6629-pkg0
# patch -p0 < /path/to/NVIDIA_kernel-1.0-6629-1165235.diff.txt
# patch -p0 < /path/to/NVIDIA_kernel-1.0-6629-1171869.diff.txt
# ./nvidia-installer

Note that if you're using 1.0-6629 for Linux/x86, either one of the -pkg0 and -pkg1 packages can be used. If you use 1.0-6629 for Linux/x86-64, you will likely want to substitute -pkg2 in the instructions (-pkg2 includes the Linux/x86 32-bit compatibility libraries).

large_satchell 12-25-04 10:34 AM

Re: 1.0-6629 x86/x86-64 and Linux 2.6.10
 
Sweeeeeeeeeeeeeeet. This patch does in fact fix the kernel oops/black screen issue I had with 2.6.10 and 6629. Thanx!

logan 12-25-04 11:40 AM

Re: 1.0-6629 x86/x86-64 and Linux 2.6.10
 
Thanks, works good :)

kip 12-26-04 07:20 AM

Re: 1.0-6629 x86/x86-64 and Linux 2.6.10
 
Driver runs fine with 2.6.10, unless I still have these graphic errors ... somehow I hoped that this (new kernel, patched driver) may fix my problem with 6629 as well ... when can i expect a fix for this? I'm running windows atm (*shame*) ...

DrFishstik 12-26-04 03:30 PM

Re: 1.0-6629 x86/x86-64 and Linux 2.6.10
 
The nforce drivers also seem to not compile under 2.6.10...

galiza_ceive 12-26-04 04:45 PM

Re: 1.0-6629 x86/x86-64 and Linux 2.6.10
 
works great!

thanX

cheers

bersl2 12-26-04 06:45 PM

Re: 1.0-6629 x86/x86-64 and Linux 2.6.10
 
Applying both of these patches causes nvidia-installer to segfault for me.

Program received signal SIGSEGV, Segmentation fault.
0xb7f13709 in free () from /lib/libc.so.6


is reported by gdb. /var/log/nvidia-installer.log reports

-> Kernel module compilation complete.
-> Installing classic TLS OpenGL libraries.


as its last two entries.

The build was successful before the installer segfaulted. Installation was possible through the makefile. (I haven't tested it yet BTW, because I'm hundreds of miles away from the computer.)

Now, tell me again, why is nvidia-installer a binary and not a shell script?

etr 12-26-04 10:59 PM

Re: 1.0-6629 x86/x86-64 and Linux 2.6.10
 
My apologies--wrong thread for the original post.

zander 12-27-04 05:04 AM

Re: 1.0-6629 x86/x86-64 and Linux 2.6.10
 
@bersl2: the crash doesn't look related to the patches; are you using Slackware 10, by any chance? As to nvidia-installer, if it is it's closed source nature that you object to, then please note that it's licensed under the GPL and downloadable from ftp://download.nvidia.com/XFree86/nvidia-installer.

Luzbelillo 12-27-04 12:26 PM

Re: 1.0-6629 x86/x86-64 and Linux 2.6.10
 
For me, who have a TNT2 M64, it doesn't fix the black screen with 2.6.10.

I'd like to add how to procede with 6111 since I haven't seen it yet over there.

In nv.c:

Add: #define __VMALLOC_RESERVE (128 << 20) , under the #include's.
Reemplaze: "pci_find_class" for "pci_get_class" (w/o quotations marks)

In nv-linux.h

Reemplaze: "pci_find_class" for "pci_get_class" (w/o qm)

And that's all. I hope it will be usefull.

See you!

Luzbel: cthulhufhtagn@spymac.com

_tf_ 12-27-04 12:29 PM

Re: 1.0-6629 x86/x86-64 and Linux 2.6.10
 
thanks *a LOT*!
and a happy new year!! (snowcool)

cheers
lars

zander 12-27-04 12:35 PM

Re: 1.0-6629 x86/x86-64 and Linux 2.6.10
 
@Luzbelillo: correct, your problem is specific to 1.0-6629, rather than to Linux 2.6.10. The patches I posted in this thread address problems with very recent Linux 2.6 kernels, only.


All times are GMT -5. The time now is 05:23 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.