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
[7mBUILD FAILED!
[27mSee
/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
[7mBUILD FAILED!
[27mSee
/var/cache/modass/nvidia-kernel-legacy-71xx-source.buildlog.2.6.26-1-686.1218908350
for details.
Build failed. Press Return to continue...