Hi 

I can confirm this bug exists when built against the latest 2.6.26
Debian kernel with some additional information. 

When compiling the module for both the 2.6.26-bigmem kernel as well as
the standard one, I got two different build logs. I've attached the
relevant information to this report. If the bug is the same for the two
kernels, then it seems to me that #495098 should be merged with this
one.

Thanks

Regards,

Orion
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-4.1"  /usr/bin/make -C 
/usr/src/modules/nvidia-kernel-legacy-71xx/nv -f Makefile 
SYSSRC=/lib/modules/2.6.26-1-686-bigmem/build   KBUILD_PARAMS="-C 
/lib/modules/2.6.26-1-686-bigmem/build 
SUBDIRS=/usr/src/modules/nvidia-kernel-legacy-71xx/nv" module;
make[2]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-71xx/nv'
The kernel you are installing for is a Xen kernel!

The NVIDIA driver does not currently work on Xen kernels. If 
you are using a stock distribution kernel, please install 
a variant of this kernel without Xen support; if this is a 
custom kernel, please install a standard Linux kernel.  Then 
try installing the NVIDIA kernel module again.

*** Failed Xen sanity check. Bailing out! ***

make[2]: *** [xen-sanity-check] Error 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-71xx/nv'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-71xx'
make: *** [kdist_image] Error 2
BUILD FAILED!
See 
/var/cache/modass/nvidia-kernel-legacy-71xx-source.buildlog.2.6.26-1-686-bigmem.1218908152
 for details.
Build failed. Press Return to continue...
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-4.1"  /usr/bin/make -C 
/usr/src/modules/nvidia-kernel-legacy-71xx/nv -f Makefile 
SYSSRC=/lib/modules/2.6.26-1-686/build   KBUILD_PARAMS="-C 
/lib/modules/2.6.26-1-686/build 
SUBDIRS=/usr/src/modules/nvidia-kernel-legacy-71xx/nv" module;
make[2]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-71xx/nv'
NVIDIA: calling KBUILD...
make CC=gcc-4.1 -C /lib/modules/2.6.26-1-686/build 
SUBDIRS=/usr/src/modules/nvidia-kernel-legacy-71xx/nv modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.26-1-686'
  CC [M]  /usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.o
In file included from include/linux/list.h:6,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:49,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:8,
                 from include/linux/timex.h:57,
                 from include/linux/sched.h:54,
                 from include/linux/utsname.h:35,
                 from 
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv-linux.h:19,
                 from /usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:14:
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/asm/dma-mapping.h:9,
                 from include/linux/dma-mapping.h:52,
                 from include/asm-generic/pci-dma-compat.h:7,
                 from include/asm/pci.h:92,
                 from include/linux/pci.h:948,
                 from 
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv-linux.h:79,
                 from /usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:14:
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/modules/nvidia-kernel-legacy-71xx/nv/nv-linux.h:101,
                 from /usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:14:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in 
arithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in 
arithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in 
arithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in 
arithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in 
arithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in 
arithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in 
arithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in 
arithmetic
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c: In function 
‘nvos_proc_create’:
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:564: error: 
‘proc_root_driver’ undeclared (first use in this function)
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:564: error: (Each undeclared 
identifier is reported only once
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:564: error: for each 
function it appears in.)
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c: In function 
‘__nv_setup_pat_entries’:
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:883: warning: comparison 
between signed and unsigned
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c: In function 
‘__nv_restore_pat_entries’:
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:909: warning: comparison 
between signed and unsigned
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c: In function 
‘nv_kern_cpu_callback’:
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:1220: warning: comparison 
between signed and unsigned
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:1227: warning: comparison 
between signed and unsigned
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c: In function 
‘nv_kern_vma_nopage’:
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:1740: error: 
‘NOPAGE_SIGBUS’ undeclared (first use in this function)
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c: At top level:
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:1747: error: unknown field 
‘nopage’ specified in initializer
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:1747: warning: 
initialization from incompatible pointer type
make[4]: *** [/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.o] Error 1
make[3]: *** [_module_/usr/src/modules/nvidia-kernel-legacy-71xx/nv] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[2]: *** [module] Error 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-71xx/nv'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-71xx'
make: *** [kdist_image] Error 2
BUILD FAILED!
See 
/var/cache/modass/nvidia-kernel-legacy-71xx-source.buildlog.2.6.26-1-686.1218908350
 for details.
Build failed. Press Return to continue...

Reply via email to