Paul:

My guess is that it's the 3.8 kernel issue that requires patching.  I've been building 310 and 313 for Fedora 18 without issue.  I pull the SRPMs from the Rawhide repository and build from there.  You may need to look over https://bugzilla.rpmfusion.org/show_bug.cgi?id=2617 where the 3.8 kernel patches that you might need are discussed.  However, it's possible they have already been added to the Rawhide SRPMs -- they may have, so try building them first, and if it fails, look to the bug report.  I don't know if the patches will work for the 304 driver.

Good luck,

George


On Sat, Mar 23, 2013 at 2:54 AM, Paul <mylists@wilsononline.id.au> wrote:
I had to fall back two kernel releases to get a functioning MythTV system the most recent kernel for FC17 failed to build my NVIDIA module.

file:  304.64-6-for-3.8.3-103.fc17.i686.failed.log

is it useful to post the above log? or is it a known issue?

But here are some lines which may be useful.. not sure..


3 Mar 13:23:58 akmodsbuild: In file included from /tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv-linux.h:112:0,
23 Mar 13:23:58 akmodsbuild: from /tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv.c:13:
23 Mar 13:23:58 akmodsbuild: include/linux/interrupt.h:130:1: note: expected 'irq_handler_t' but argument is of type 'enum irqreturn_t (*)(int,  void *, struct pt_regs *)'
23 Mar 13:23:58 akmodsbuild: /tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv.c:1539:17: error: implicit declaration of function 'NV_TASKQUEUE_INIT' [-Werror=implicit-function-declaration]
23 Mar 13:23:58 akmodsbuild: /tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv.c:1551:25: warning: passing argument 2 of 'request_irq' from incompatible pointer type [enabled by default]
23 Mar 13:23:58 akmodsbuild: In file included from /tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv-linux.h:112:0,
23 Mar 13:23:58 akmodsbuild: from /tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv.c:13:
23 Mar 13:23:58 akmodsbuild: include/linux/interrupt.h:130:1: note: expected 'irq_handler_t' but argument is of type 'enum irqreturn_t (*)(int,  void *, struct pt_regs *)'
23 Mar 13:23:58 akmodsbuild: /tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv.c: In function 'nv_agp_init':
23 Mar 13:23:58 akmodsbuild: /tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv.c:2911:6: warning: "NV_AGP_BACKEND_ACQUIRE_ARGUMENT_COUNT" is not defined [-Wundef]cc1: some warnings being treated as errors
23 Mar 13:23:58 akmodsbuild:
23 Mar 13:23:58 akmodsbuild: /tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv.c:2928:9: error: too few arguments to function 'agp_backend_acquire'
23 Mar 13:23:58 akmodsbuild: In file included from /tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv-linux.h:249:0,
23 Mar 13:23:58 akmodsbuild: from /tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv.c:13:
23 Mar 13:23:58 akmodsbuild: include/linux/agp_backend.h:106:32: note: declared here
23 Mar 13:23:58 akmodsbuild: /tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv.c:2930:13: error: too few arguments to function 'agp_backend_release'
23 Mar 13:23:58 akmodsbuild: In file included from /tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv-linux.h:249:0,
23 Mar 13:23:58 akmodsbuild: from /tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv.c:13:
23 Mar 13:23:58 akmodsbuild: include/linux/agp_backend.h:107:13: note: declared here
23 Mar 13:23:58 akmodsbuild: make[3]: *** [/tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv-acpi.o] Error 1
23 Mar 13:23:58 akmodsbuild: make[3]: *** Waiting for unfinished jobs....
23 Mar 13:23:58 akmodsbuild: cc1: some warnings being treated as errors
23 Mar 13:23:58 akmodsbuild: make[3]: *** [/tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel/nv.o] Error 1
23 Mar 13:23:58 akmodsbuild: make[2]: *** [_module_/tmp/akmodsbuild.V0Y0FurS/BUILD/nvidia-kmod-304.64/_kmod_build_3.8.3-103.fc17.i686/kernel] Error 2
23 Mar 13:23:58 akmodsbuild: NVIDIA: left KBUILD.