Re: nvidia-kernel modules and 2.6.25?

2008-05-14 Thread Lennart Sorensen
On Wed, May 14, 2008 at 01:59:33PM +0200, Giacomo Mulas wrote:
 It looks like the exported kernel function global_flush_tlb disappeared
 going from 2.6.24 to 2.6.25, and the change_page_attr function has been
 throughout replaced with new functions. The nvidia module depends on them,
 so it doesn't build anymore on amd64. Is an experimental new
 nvidia-kernel-source version fixing this available somewhare? Or, as an
 alternative, does any kernel guru know how to replace the calls to these
 functions in the nvidia kernel module to use the new kernel API?

I am working on it.  173.08 builds fine with 2.6.25 so if nothing else I
can compare 169.12 with 173.08 and see what nvidia changed to get around
the change.

-- 
Len Sorensen


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



Re: nvidia-kernel modules and 2.6.25?

2008-05-14 Thread Jack Malmostoso
On Wed, 14 May 2008 15:50:15 +0200, Lennart Sorensen wrote:

 I am working on it.  173.08 builds fine with 2.6.25 so if nothing else I
 can compare 169.12 with 173.08 and see what nvidia changed to get around
 the change.

Lennart,

bug #476504, and in particular this comment:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476504#32

worked just fine for me. Maybe you should just include the patch from 
nvidia?

-- 
Best Regards, Jack
Linux User #264449
Powered by Debian GNU/Linux on AMD64


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



Re: nvidia-kernel modules and 2.6.25?

2008-05-14 Thread Lennart Sorensen
On Wed, May 14, 2008 at 04:33:07PM +, Jack Malmostoso wrote:
 On Wed, 14 May 2008 15:50:15 +0200, Lennart Sorensen wrote:
 
  I am working on it.  173.08 builds fine with 2.6.25 so if nothing else I
  can compare 169.12 with 173.08 and see what nvidia changed to get around
  the change.
 
 Lennart,
 
 bug #476504, and in particular this comment:
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476504#32
 
 worked just fine for me. Maybe you should just include the patch from 
 nvidia?

That patch does NOT compile for me with 2.6.25-2-amd64 which just
entered Debian unstable.  I made a patch based on 173.08's changes which
does compile.  It's a bit longer than the patch mentioned in that bug
report but apparently the extra changes are relevant to some things.  So
it might have been fine for 2.6.25-1 but isn't good enough for 2.6.25-2.

-- 
LeN Sorensen


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



Re: nvidia-kernel modules and 2.6.25?

2008-05-14 Thread Jack Malmostoso
On Wed, 14 May 2008 20:20:15 +0200, Lennart Sorensen wrote:

 That patch does NOT compile for me with 2.6.25-2-amd64 which just
 entered Debian unstable.  I made a patch based on 173.08's changes which
 does compile.  It's a bit longer than the patch mentioned in that bug
 report but apparently the extra changes are relevant to some things.  So
 it might have been fine for 2.6.25-1 but isn't good enough for 2.6.25-2.

That's funny. It still works just fine for me:

[EMAIL PROTECTED]:~$ COLUMNS=200 dpkg -l nvidia-kernel-2.6.25*
[cut]

ii  nvidia-kernel-2.6.25-1-amd64 169.12-1
+2.6.25-1NVIDIA binary kernel module for 
Linux 2.6.25-1-amd64

ii  nvidia-kernel-2.6.25-2-amd64 169.12-1
+2.6.25-2NVIDIA binary kernel module for 
Linux 2.6.25-2-amd64

I mean, it's not a big deal since you're working on the new driver 
version, but it would surely be interesting understanding why it works 
for me and not for others.

-- 
Best Regards, Jack
Linux User #264449
Powered by Debian GNU/Linux on AMD64


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



Re: nvidia-kernel modules and 2.6.25?

2008-05-14 Thread Jaime Ochoa Malagón
Someone have a prepacked debian way version with that patch and this
work with 2.6.25-2-amd64 too...

it's stable enough 173.08?

anyone have this debian way packed?

On 5/14/08, Lennart Sorensen [EMAIL PROTECTED] wrote:
 On Wed, May 14, 2008 at 04:33:07PM +, Jack Malmostoso wrote:
  On Wed, 14 May 2008 15:50:15 +0200, Lennart Sorensen wrote:
 
   I am working on it.  173.08 builds fine with 2.6.25 so if nothing else I
   can compare 169.12 with 173.08 and see what nvidia changed to get around
   the change.
 
  Lennart,
 
  bug #476504, and in particular this comment:
 
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476504#32
 
  worked just fine for me. Maybe you should just include the patch from
  nvidia?

 That patch does NOT compile for me with 2.6.25-2-amd64 which just
 entered Debian unstable.  I made a patch based on 173.08's changes which
 does compile.  It's a bit longer than the patch mentioned in that bug
 report but apparently the extra changes are relevant to some things.  So
 it might have been fine for 2.6.25-1 but isn't good enough for 2.6.25-2.

 --
 LeN Sorensen


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




-- 
Perhaps the depth of
love can be calibrated by the number of different selves that are
actively involved in a given relationship.

Carl Sagan (Contact)

Jaime Ochoa Malagón
Arquitecto de 
SolucionesCel: +52 (55) 
1021 0774


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



Re: nvidia-kernel modules and 2.6.25?

2008-05-14 Thread Lennart Sorensen
On Wed, May 14, 2008 at 06:58:01PM +, Jack Malmostoso wrote:
 That's funny. It still works just fine for me:

Yeah it does.  I screwed up when I tried it.  My mistake.

 [EMAIL PROTECTED]:~$ COLUMNS=200 dpkg -l nvidia-kernel-2.6.25*
 [cut]
 
 ii  nvidia-kernel-2.6.25-1-amd64 169.12-1
 +2.6.25-1NVIDIA binary kernel module for 
 Linux 2.6.25-1-amd64
 
 ii  nvidia-kernel-2.6.25-2-amd64 169.12-1
 +2.6.25-2NVIDIA binary kernel module for 
 Linux 2.6.25-2-amd64
 
 I mean, it's not a big deal since you're working on the new driver 
 version, but it would surely be interesting understanding why it works 
 for me and not for others.

Well nvidia still lists 169.12 as the current stable version.  I am not
quite sure what they think 173.08 is, other than a driver that also
happens to support 9xxx series cards and 2.6.25 kernel.

-- 
Len Sorensen


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



Re: nvidia-kernel modules and 2.6.25?

2008-05-14 Thread Lennart Sorensen
On Wed, May 14, 2008 at 03:13:24PM -0500, Jaime Ochoa Malagón wrote:
 Someone have a prepacked debian way version with that patch and this
 work with 2.6.25-2-amd64 too...
 
 it's stable enough 173.08?
 
 anyone have this debian way packed?

I do, running on my mtytv box for testing.  I was trying to see if it
helped the seg fault problem on my 8600GT, although I have found out
that problem is caused by using nvidia's libwfb rather than xorg's
libwfb so that will be fixed in the 169.12 package soon (I hope).  No
issues with the 173.08 driver in the first 30 hours though.

-- 
Len Sorensen


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