[pkg-nvidia-devel] Bug#510961: nvidia-kernel-legacy-96xx-source: does not build against kernel 2.6.28
Marc Haber
mh+debian-bugs at zugschlus.de
Tue Jan 6 09:05:45 UTC 2009
Package: nvidia-kernel-legacy-96xx-source
Version: 96.43.07-2
Severity: normal
Hi,
the package does not build against kernel 2.6.28:
$ make-kpkg --append-to-version=-zgws1 --revision=2.6.28.20090106.0 --added-modules=nvidia-kernel-legacy-96xx modules_image
exec debian/rules DEBIAN_REVISION=2.6.28.20090106.0 APPEND_TO_VERSION=-zgws1 KPKG_SELECTED_MODULES="nvidia-kernel-legacy-96xx" modules_image
for module in /usr/src/modules/nvidia-kernel-legacy-96xx ; do \
if test -d $module; then \
(cd $module; \
if ./debian/rules KVERS="2.6.28-zgws1" KSRC="/home/mh/linux/2.6.28/linux-2.6.28" \
KMAINT="Marc Haber" KEMAIL="mh+kernel-pkg at zugschlus.de" \
KPKG_DEST_DIR="/home/mh/linux/2.6.28/linux-2.6.28/.." \
KPKG_MAINTAINER="Marc Haber" \
KPKG_EXTRAV_ARG="EXTRAVERSION=-zgws1" \
ARCH="i386" \
KDREV="2.6.28.20090106.0" kdist_image; then \
echo "Module $module processed fine"; \
else \
echo "Module $module failed."; \
if [ "Xfakeroot" != "X" ]; then \
echo "Perhaps $module does not understand --rootcmd?"; \
echo "If you see messages that indicate that it is not"; \
echo "in fact being built as root, please file a bug "; \
echo "against $module."; \
fi; \
echo "Hit return to Continue"; \
read ans; \
fi; \
); \
else \
echo "Module $module does not exist"; \
echo "Hit return to Continue?"; \
fi; \
done
make[1]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-96xx'
echo "ROOT_CMD = fakeroot"
ROOT_CMD = fakeroot
fakeroot /usr/bin/make -w -f debian/rules binary_modules
make[2]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-96xx'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel-legacy-96xx/nv/Makefile || true
if [ 6 = 6 ]; then \
cd /usr/src/modules/nvidia-kernel-legacy-96xx/nv ; \
ln -s Makefile.kbuild Makefile ; \
cd .. ; \
if [ 0 = 1 ] ; then \
dpatch apply 04_minion ; \
fi ; \
if [ 0 = 1 ]; then \
dpatch apply 01_sysfs ; \
dpatch status 01_sysfs >patch-stamp ; \
dpatch apply 02_pcialias ; \
dpatch status 02_pcialias >>patch-stamp ; \
fi ; \
fi
if [ 6 = 4 ]; then \
cd /usr/src/modules/nvidia-kernel-legacy-96xx/nv ; \
ln -s Makefile.nvidia Makefile ; \
cd .. ; \
fi
if ! gcc-4.3 -v 2> /dev/null ; then \
echo "Compiler gcc-4.3 does not exist on the system" ; \
exit 1; \
fi
touch configure-stamp
if [ -f /usr/src/modules/nvidia-kernel-legacy-96xx/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel-legacy-96xx/debian/control.template /usr/src/modules/nvidia-kernel-legacy-96xx/debian/control; \
fi
dh_testdir
dh_testroot
PATCHLEVEL = 6
Kernel compiler version : 4.3.2
Detected compiler version : 4.3.2
Using compiler gcc-4.3 version 4.3.2
touch /usr/src/modules/nvidia-kernel-legacy-96xx/nv/gcc-check
touch /usr/src/modules/nvidia-kernel-legacy-96xx/nv/cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-4.3" /usr/bin/make -C /usr/src/modules/nvidia-kernel-legacy-96xx/nv -f Makefile SYSSRC=/home/mh/linux/2.6.28/linux-2.6.28 EXTRAVERSION=-zgws1 KBUILD_PARAMS="-C /home/mh/linux/2.6.28/linux-2.6.28 SUBDIRS=/usr/src/modules/nvidia-kernel-legacy-96xx/nv" module;
make[3]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-96xx/nv'
NVIDIA: calling KBUILD...
make CC=gcc-4.3 -C /home/mh/linux/2.6.28/linux-2.6.28 SUBDIRS=/usr/src/modules/nvidia-kernel-legacy-96xx/nv modules
make[4]: Entering directory `/home/mh/linux/2.6.28/linux-2.6.28'
CC [M] /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.o
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:19,
from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
/home/mh/linux/2.6.28/linux-2.6.28/arch/x86/include/asm/bitops.h: In function 'set_bit':
/home/mh/linux/2.6.28/linux-2.6.28/arch/x86/include/asm/bitops.h:60: warning: pointer of type 'void *' used in arithmetic
/home/mh/linux/2.6.28/linux-2.6.28/arch/x86/include/asm/bitops.h: In function 'clear_bit':
/home/mh/linux/2.6.28/linux-2.6.28/arch/x86/include/asm/bitops.h:97: 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: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-96xx/nv/nv-linux.h:19,
from /usr/src/modules/nvidia-kernel-legacy-96xx/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/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:19,
from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
include/linux/sched.h: In function 'object_is_on_stack':
include/linux/sched.h:2026: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:34,
from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/conftest.h:1:2: error: #error remap_page_range() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/conftest.h:3:2: error: #error vmap() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/conftest.h:5:2: error: #error agp_backend_acquire() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/conftest.h:22:2: error: #error kmem_cache_create() conftest failed!
In file included from /home/mh/linux/2.6.28/linux-2.6.28/arch/x86/include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:57,
from include/asm-generic/pci-dma-compat.h:7,
from /home/mh/linux/2.6.28/linux-2.6.28/arch/x86/include/asm/pci.h:94,
from include/linux/pci.h:1002,
from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:85,
from /usr/src/modules/nvidia-kernel-legacy-96xx/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 /home/mh/linux/2.6.28/linux-2.6.28/arch/x86/include/asm/hardirq_32.h:5,
from /home/mh/linux/2.6.28/linux-2.6.28/arch/x86/include/asm/hardirq.h:2,
from include/linux/hardirq.h:7,
from include/linux/interrupt.h:12,
from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:86,
from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
include/linux/irq.h: In function 'irq_to_desc':
include/linux/irq.h:189: warning: comparison between signed and unsigned
In file included from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:106:27: error: asm/semaphore.h: No such file or directory
In file included from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:108,
from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
include/linux/highmem.h: In function 'zero_user_segments':
include/linux/highmem.h:136: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:136: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:136: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:136: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:139: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:139: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:139: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:139: warning: pointer of type 'void *' used in arithmetic
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:556:2: error: #error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
In file included from /usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:14:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h: In function 'nv_execute_on_all_cpus':
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:627: error: too many arguments to function 'on_each_cpu'
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h: At top level:
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv-linux.h:782: error: conflicting types for 'pm_message_t'
include/linux/pm.h:41: error: previous declaration of 'pm_message_t' was here
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:228: warning: initialization from incompatible pointer type
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c: In function '__nv_setup_pat_entries':
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:836: warning: comparison between signed and unsigned
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c: In function '__nv_restore_pat_entries':
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:862: warning: comparison between signed and unsigned
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c: In function 'nv_kern_cpu_callback':
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:1188: warning: comparison between signed and unsigned
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:1191: error: too many arguments to function 'smp_call_function'
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:1195: warning: comparison between signed and unsigned
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:1198: error: too many arguments to function 'smp_call_function'
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c: In function 'nvidia_init_module':
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:1328: error: implicit declaration of function 'NV_KMEM_CACHE_CREATE'
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:1328: error: expected expression before 'nv_pte_t'
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:1468: error: implicit declaration of function 'NV_KMEM_CACHE_DESTROY'
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c: In function 'nv_kern_open':
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:1842: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:3731:6: warning: "NV_AGP_BACKEND_ACQUIRE_ARGUMENT_COUNT" is not defined
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c: In function 'nv_agp_init':
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:3748: error: too few arguments to function 'agp_backend_acquire'
/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.c:3750: error: too few arguments to function 'agp_backend_release'
make[5]: *** [/usr/src/modules/nvidia-kernel-legacy-96xx/nv/nv.o] Error 1
make[4]: *** [_module_/usr/src/modules/nvidia-kernel-legacy-96xx/nv] Error 2
make[4]: Leaving directory `/home/mh/linux/2.6.28/linux-2.6.28'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[3]: *** [module] Error 1
make[3]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-96xx/nv'
make[2]: *** [build-stamp] Error 2
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-96xx'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-96xx'
Module /usr/src/modules/nvidia-kernel-legacy-96xx failed.
Perhaps /usr/src/modules/nvidia-kernel-legacy-96xx does not understand --rootcmd?
If you see messages that indicate that it is not
in fact being built as root, please file a bug
against /usr/src/modules/nvidia-kernel-legacy-96xx.
Hit return to Continue
This makes it currently impossible to run an FX 5200 card with Debian
unstable and a recent kernel.
Greetings
Marc
More information about the Pkg-nvidia-devel
mailing list