nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Installing nvidia-kernel-legacy (http://www.nvnews.net/vbulletin/showthread.php?t=162458)

UriyZenkov 05-12-11 12:15 PM

Installing nvidia-kernel-legacy
 
Hello !
I have GeForce4 MX 440 AGP 8x and kernel linux-2.6.33.9-rt31and kernel source
I installing driver and get error log:
Code:

/usr/bin/make  -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-96xx'
test -f debian/control || cp debian/control.template debian/control
dh_testdir
dh_testroot
/usr/bin/make LINUXDIR=/lib/modules/2.6.33.9-libre12.6.33.9-rt31/source  clean
make[2]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-96xx'
rm -rf *.o *.ko .depend .*.flags .*.d .*.cmd *.mod.c .tmp_versions
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-96xx'
dh_quilt_unpatch || quilt --quiltrc /dev/null pop -af
dh_clean debian/control debian/install
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-96xx'
sh debian/prep-modules /lib/modules/2.6.33.9-libre12.6.33.9-rt31/source
sed 's/#KVERS#/2.6.33.9-libre12.6.33.9-rt31/g' debian/install.template > debian/install
touch configure-stamp
dh_prep
dh_quilt_patch
Applying patch use-nv-kernel.o.ARCH.patch
patching file Makefile.kbuild

Applying patch conditionally-include-linux_version.h.patch
patching file nv-linux.h

Applying patch AUTOCONF_INCLUDED.patch
patching file nv-linux.h

Applying patch 2.6.36-ioctl.patch
patching file nv.c
Hunk #1 succeeded at 249 (offset -165 lines).

Now at patch 2.6.36-ioctl.patch
/usr/bin/make LINUXDIR=/lib/modules/2.6.33.9-libre12.6.33.9-rt31/source
make[1]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-96xx'
make -C /lib/modules/2.6.33.9-libre12.6.33.9-rt31/source  M=`/bin/pwd` modules
make[2]: Entering directory `/usr/src/linux-2.6.33.9-rt31'
  CC [M]  /usr/src/modules/nvidia-kernel-legacy-96xx/nv.o
In file included from include/linux/bitops.h:17,
                from include/linux/kernel.h:15,
                from include/linux/sched.h:54,
                from include/linux/utsname.h:35,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv-linux.h:29,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:13:
/usr/src/linux-2.6.33.9-rt31/arch/x86/include/asm/bitops.h: In function ‘set_bit’:
/usr/src/linux-2.6.33.9-rt31/arch/x86/include/asm/bitops.h:64: warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-2.6.33.9-rt31/arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
/usr/src/linux-2.6.33.9-rt31/arch/x86/include/asm/bitops.h:102: warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-2.6.33.9-rt31/arch/x86/include/asm/bitops.h: In function ‘change_bit’:
/usr/src/linux-2.6.33.9-rt31/arch/x86/include/asm/bitops.h:178: warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/list.h:6,
                from include/linux/preempt.h:11,
                from include/linux/spinlock.h:50,
                from include/linux/seqlock.h:33,
                from include/linux/time.h:8,
                from include/linux/timex.h:56,
                from include/linux/sched.h:56,
                from include/linux/utsname.h:35,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv-linux.h:29,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:13:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/preempt.h:11,
                from include/linux/spinlock.h:50,
                from include/linux/seqlock.h:33,
                from include/linux/time.h:8,
                from include/linux/timex.h:56,
                from include/linux/sched.h:56,
                from include/linux/utsname.h:35,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv-linux.h:29,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:13:
include/linux/list.h: In function ‘list_del’:
include/linux/list.h:106: warning: pointer of type ‘void *’ used in arithmetic
include/linux/list.h:107: warning: pointer of type ‘void *’ used in arithmetic
include/linux/list.h: In function ‘hlist_del’:
include/linux/list.h:582: warning: pointer of type ‘void *’ used in arithmetic
include/linux/list.h:583: warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/sched.h:82,
                from include/linux/utsname.h:35,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv-linux.h:29,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:13:
include/linux/rculist.h: In function ‘list_del_rcu’:
include/linux/rculist.h:97: warning: pointer of type ‘void *’ used in arithmetic
include/linux/rculist.h: In function ‘list_replace_rcu’:
include/linux/rculist.h:143: warning: pointer of type ‘void *’ used in arithmetic
include/linux/rculist.h: In function ‘hlist_del_rcu’:
include/linux/rculist.h:300: warning: pointer of type ‘void *’ used in arithmetic
include/linux/rculist.h: In function ‘hlist_replace_rcu’:
include/linux/rculist.h:320: warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv-linux.h:29,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:13:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2464: warning: pointer of type ‘void *’ used in arithmetic
In file included from /usr/src/linux-2.6.33.9-rt31/arch/x86/include/asm/uaccess.h:571,
                from include/linux/poll.h:13,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv-linux.h:81,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:13:
/usr/src/linux-2.6.33.9-rt31/arch/x86/include/asm/uaccess_32.h: In function ‘copy_from_user’:
/usr/src/linux-2.6.33.9-rt31/arch/x86/include/asm/uaccess_32.h:209: warning: comparison between signed and unsigned integer expressions
In file included from include/linux/io.h:22,
                from include/linux/pci.h:54,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv-linux.h:92,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:13:
/usr/src/linux-2.6.33.9-rt31/arch/x86/include/asm/io.h: In function ‘writeq’:
/usr/src/linux-2.6.33.9-rt31/arch/x86/include/asm/io.h:70: warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/dma-mapping.h:7,
                from include/asm-generic/pci-dma-compat.h:7,
                from /usr/src/linux-2.6.33.9-rt31/arch/x86/include/asm/pci.h:128,
                from include/linux/pci.h:1145,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv-linux.h:92,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:13:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used in arithmetic
In file included from /usr/src/linux-2.6.33.9-rt31/arch/x86/include/asm/dma-mapping.h:43,
                from include/linux/dma-mapping.h:103,
                from include/asm-generic/pci-dma-compat.h:7,
                from /usr/src/linux-2.6.33.9-rt31/arch/x86/include/asm/pci.h:128,
                from include/linux/pci.h:1145,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv-linux.h:92,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:13:
include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘void *’ used in arithmetic
In file included from /usr/src/modules/nvidia-kernel-legacy-96xx/nv-linux.h:123,
                from /usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:13:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:151: warning: pointer of type ‘void *’ used in arithmetic
include/linux/highmem.h:154: warning: pointer of type ‘void *’ used in arithmetic
In file included from /usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:13:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv-linux.h: At top level:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv-linux.h:180: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nv_spinlock_t’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv-linux.h:1122: error: expected specifier-qualifier-list before ‘nv_spinlock_t’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv-linux.h:1151: error: expected specifier-qualifier-list before ‘nv_spinlock_t’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c: In function ‘nvl_add_alloc’:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:740: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:743: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c: In function ‘nv_alloc_file_private’:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:1794: error: ‘nv_file_private_t’ has no member named ‘waitqueue’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:1795: error: implicit declaration of function ‘atomic_spin_lock_init’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:1795: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c: In function ‘nv_kern_open’:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:1856: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:1912: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c: In function ‘nv_kern_close’:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:1950: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:1961: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:1969: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:1975: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:1977: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2024: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c: In function ‘nv_kern_mmap’:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2216: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2228: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2236: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2242: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2268: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2274: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2293: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2301: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2309: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2315: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c: In function ‘nv_kern_poll’:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2371: error: ‘nv_file_private_t’ has no member named ‘waitqueue’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2374: error: implicit declaration of function ‘atomic_spin_lock_irqsave’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2374: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2385: error: implicit declaration of function ‘atomic_spin_unlock_irqrestore’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2385: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c: In function ‘nv_kern_ctl_open’:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2719: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2735: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c: In function ‘nv_kern_ctl_close’:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2754: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:2759: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c: In function ‘nv_alloc_kernel_mapping’:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3105: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3121: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3136: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3142: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3146: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c: In function ‘nv_free_pages’:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3432: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3447: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3452: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c: In function ‘nv_lock_init_locks’:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3489: error: ‘nv_linux_state_t’ has no member named ‘rm_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3491: error: implicit declaration of function ‘semaphore_init’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3491: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3492: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3496: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_cpu’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3497: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_count’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c: In function ‘nv_lock_rm’:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3510: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_cpu’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3512: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_count’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3518: error: implicit declaration of function ‘atomic_spin_unlock_wait’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3518: error: ‘nv_linux_state_t’ has no member named ‘rm_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3519: error: implicit declaration of function ‘atomic_spin_lock_irq’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3519: error: ‘nv_linux_state_t’ has no member named ‘rm_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3521: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_cpu’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3522: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_count’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c: In function ‘nv_unlock_rm’:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3532: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_count’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3535: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_cpu’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3536: error: implicit declaration of function ‘atomic_spin_unlock_irq’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3536: error: ‘nv_linux_state_t’ has no member named ‘rm_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c: In function ‘nv_post_event’:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3563: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3580: error: ‘nv_file_private_t’ has no member named ‘waitqueue’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3581: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c: In function ‘nv_get_event’:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3596: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3599: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
/usr/src/modules/nvidia-kernel-legacy-96xx/nv.c:3624: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
make[3]: *** [/usr/src/modules/nvidia-kernel-legacy-96xx/nv.o] Error 1
make[2]: *** [_module_/usr/src/modules/nvidia-kernel-legacy-96xx] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.33.9-rt31'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-96xx'
make: *** [build-stamp] Error 2

Please ,say, how pachs need be apply to resolve this error.


All times are GMT -5. The time now is 11:01 AM.

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