[pkg-nvidia-devel] Work towards 2.6.29 support.

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Sat Mar 28 16:02:42 UTC 2009

On Fri, Mar 27, 2009 at 04:47:41PM -0700, Randall Donald wrote:
> Oh Good. I was thinking of maybe upgrading to 180.41 as well but as you
> have it compiling with 180.29 we can leave that til another day.

Well I checked if nvidia had a newer release yet, but I could only find
180.29, so I didn't persue that.

> > Here are my changes so far.  i386 is hardcoded and needs to be replaced
> > with something that detects the right architecture instead.
> > 
> That isn't too hard to do.

No, I just didn't have time to work that part out and I wanted to get
the build itself to work so I hardcoded it.  It has to do it based on
whatever variable the linux-modules-non-free passes though so that it
can build both i386 and x86_64 modules on i386 (since there is an amd64
kernel on i386).  I had that working back with 2.6.24 using the old
kbuild system, but then 2.6.25 broke it all.  Maybe this will finally
work with it again.

> So move it back to nv now?

Well since we have to call the kbuild system with a SUBDIRS= argument,
having a subdir seems simplest.  I don't think passing SUBDIRS=. would
work, although I didn't try that yet.

> Looks good. I will try it tomorrow.

I suspect it will.  I just spent about an hour on it yesterday because
it didn't work with 2.6.29 and I wanted it to.  I still have to actually
try and see if I can boot the 2.6.29 kernel with the nvidia module
I compiled.

Len Sorensen

More information about the Pkg-nvidia-devel mailing list