[pkg-nvidia-devel] Work towards 2.6.29 support.
Lennart Sorensen
lsorense at csclub.uwaterloo.ca
Tue Apr 7 20:20:15 UTC 2009
On Tue, Mar 31, 2009 at 04:50:51PM -0400, Lennart Sorensen wrote:
> This stuff by the way is the result of 5 hours of grepping through git
> logs and all 2.4.x and 2.6.x kernel patch files to locate when each
> change nvidia cares about happend, which really is something nvidia
> should be doing instead of their stupid conftest.sh script.
>
> Do you have any contacts at nvidia that might be interested in taking
> over this file to make the nvidia driver fully kbuild compatible?
>
> The only thing it doesn't cover is the CONFIG_XEN detection stuff as
> far as I can tell. I couldn't make sense of what their test was trying
> to do for that.
OK here is a complete patch against the current 180.29 package in sid.
This works with i386 and amd64.
It works with module-assistant.
It works with linux-modules-nonfree-2.6.
It works with 2.6.26 and 2.6.29 (-2 which has the Makefile_32.cpu fix).
It does not involve moving everything to an nv directory.
What do you think?
So far I have built these packages using it:
linux-modules-nonfree-2.6 with nvidia-kernel added to the defines and the control files regenerated:
-rw-r--r-- 1 root root 2575130 Apr 7 16:00 nvidia-kernel-modules-2.6.26-2-486_2.6.26+180.29-2+lenny1_i386.deb
-rw-r--r-- 1 root root 5708 Apr 7 16:00 nvidia-kernel-modules-2.6-486_2.6.26-2+lenny1_i386.deb
-rw-r--r-- 1 root root 2576210 Apr 7 16:00 nvidia-kernel-modules-2.6.26-2-686_2.6.26+180.29-2+lenny1_i386.deb
-rw-r--r-- 1 root root 5734 Apr 7 16:00 nvidia-kernel-modules-2.6-686_2.6.26-2+lenny1_i386.deb
-rw-r--r-- 1 root root 2576724 Apr 7 16:00 nvidia-kernel-modules-2.6.26-2-686-bigmem_2.6.26+180.29-2+lenny1_i386.deb
-rw-r--r-- 1 root root 5764 Apr 7 16:00 nvidia-kernel-modules-2.6-686-bigmem_2.6.26-2+lenny1_i386.deb
-rw-r--r-- 1 root root 2673570 Apr 7 16:00 nvidia-kernel-modules-2.6.26-2-amd64_2.6.26+180.29-2+lenny1_i386.deb
-rw-r--r-- 1 root root 5732 Apr 7 16:00 nvidia-kernel-modules-2.6-amd64_2.6.26-2+lenny1_i386.deb
-rw-r--r-- 1 root root 2576714 Apr 7 16:01 nvidia-kernel-modules-2.6.26-2-openvz-686_2.6.26+180.29-2+lenny1_i386.deb
-rw-r--r-- 1 root root 5742 Apr 7 16:01 nvidia-kernel-modules-2.6-openvz-686_2.6.26-2+lenny1_i386.deb
-rw-r--r-- 1 root root 2576250 Apr 7 16:01 nvidia-kernel-modules-2.6.26-2-vserver-686_2.6.26+180.29-2+lenny1_i386.deb
-rw-r--r-- 1 root root 5740 Apr 7 16:01 nvidia-kernel-modules-2.6-vserver-686_2.6.26-2+lenny1_i386.deb
-rw-r--r-- 1 root root 2576744 Apr 7 16:01 nvidia-kernel-modules-2.6.26-2-vserver-686-bigmem_2.6.26+180.29-2+lenny1_i386.deb
-rw-r--r-- 1 root root 5766 Apr 7 16:01 nvidia-kernel-modules-2.6-vserver-686-bigmem_2.6.26-2+lenny1_i386.deb
-rw-r--r-- 1 root root 2575088 Apr 7 16:01 nvidia-kernel-modules-2.6.26-2-xen-686_2.6.26+180.29-2+lenny1_i386.deb
-rw-r--r-- 1 root root 5718 Apr 7 16:01 nvidia-kernel-modules-2.6-xen-686_2.6.26-2+lenny1_i386.deb
With m-a -t build nvidia-kernel -l 2.6.29-1-686,2.6.29-1-686-bigmem,2.6.29-1-486,2.6.29-1-amd64:
-rw-r--r-- 1 root src 2682222 Apr 7 12:53 /usr/src/nvidia-kernel-2.6.29-1-amd64_180.29-1+2.6.29-2_i386.deb
-rw-r--r-- 1 root src 2584148 Apr 7 12:56 /usr/src/nvidia-kernel-2.6.29-1-486_180.29-1+2.6.29-2_i386.deb
-rw-r--r-- 1 root src 2586040 Apr 7 12:56 /usr/src/nvidia-kernel-2.6.29-1-686-bigmem_180.29-1+2.6.29-2_i386.deb
-rw-r--r-- 1 root src 2585350 Apr 7 15:58 /usr/src/nvidia-kernel-2.6.29-1-686_180.29-1+2.6.29-2_i386.deb
They seem to work for me.
--
Len Sorensen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nvidia-180.29-2.6.29.patch
Type: text/x-diff
Size: 30526 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20090407/35a85996/attachment-0001.patch>
More information about the Pkg-nvidia-devel
mailing list