Hi all.
I've just installed xen under lenny, and see that nvidia isn't supported
on xen.
I installed xen module and header corresponding to my kernel version.
I changed my xorg.conf in order to load nv instead of nvidia module.
But now, I don't have any drivers which permit me to have compiz or
anything else...
I tried to compile nvidia sources (nvidia-kernel-source) with
module-assistant but nothing.
I done it with this command : */m-a a-i nvidia-kernel-source/*.
An error occured during this installation :
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[2]: *** [module] Error 1
make[2]: left directory « /usr/src/modules/nvidia-kernel »
make[1]: *** [build-stamp] Error 2
make[1]: left directory « /usr/src/modules/nvidia-kernel »
make: *** [kdist_image] Error 2
BUILD FAILED!
See
/var/cache/modass/nvidia-kernel-source.buildlog.2.6.26-1-xen-686.1228066050
for details
I attached buildlog file.
Hoping that somebody have an issue for my problem.
Thanks
/usr/bin/make -f debian/rules clean
make[1]: entrant dans le répertoire « /usr/src/modules/nvidia-kernel »
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/Makefile || true
if [ 6 = 6 ]; then \
ln -s Makefile.kbuild Makefile ; \
fi
if [ 6 = 4 ]; then \
ln -s Makefile.nvidia Makefile ; \
fi
if [ -e patch-stamp ]; then \
dpatch deapply-all ; \
rm -rf patch-stamp debian/patched ; \
fi
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel/debian/control.template
/usr/src/modules/nvidia-kernel/debian/control; \
fi
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make clean SYSSRC=/lib/modules/2.6.26-1-xen-686/build -C
/usr/src/modules/nvidia-kernel/ -f Makefile
make[2]: entrant dans le répertoire « /usr/src/modules/nvidia-kernel »
make[2]: quittant le répertoire « /usr/src/modules/nvidia-kernel »
rm -f /usr/src/modules/nvidia-kernel//Makefile || true;
rm /usr/src/modules/nvidia-kernel//gcc-check
rm /usr/src/modules/nvidia-kernel//cc-sanity-check
dh_clean
rm /usr/src/modules/nvidia-kernel/debian/control
rm /usr/src/modules/nvidia-kernel/debian/dirs
rm /usr/src/modules/nvidia-kernel/debian/override
make[1]: quittant le répertoire « /usr/src/modules/nvidia-kernel »
echo "ROOT_CMD = "
ROOT_CMD =
/usr/bin/make -f debian/rules binary_modules
make[1]: entrant dans le répertoire « /usr/src/modules/nvidia-kernel »
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/Makefile || true
if [ 6 = 6 ]; then \
ln -s Makefile.kbuild Makefile ; \
fi
if [ 6 = 4 ]; then \
ln -s Makefile.nvidia Makefile ; \
fi
if ! gcc-4.1 -v 2> /dev/null ; then \
echo "Compiler gcc-4.1 does not exist on the system" ; \
exit 1; \
fi
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel/debian/control.template
/usr/src/modules/nvidia-kernel/debian/control; \
fi
if [ "i686" = "x86_64" ]; then \
cp /usr/src/modules/nvidia-kernel/nv-kernel.o.x86_64
/usr/src/modules/nvidia-kernel/nv-kernel.o ; \
fi
touch configure-stamp
dh_testdir
dh_testroot
PATCHLEVEL = 6
Kernel compiler version : 4.1.2
Detected compiler version : 4.1.2
Using compiler gcc-4.1 version 4.1.2
touch /usr/src/modules/nvidia-kernel//gcc-check
touch /usr/src/modules/nvidia-kernel//cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-4.1" /usr/bin/make -C
/usr/src/modules/nvidia-kernel/ -f Makefile
SYSSRC=/lib/modules/2.6.26-1-xen-686/build KBUILD_PARAMS="-C
/lib/modules/2.6.26-1-xen-686/build SUBDIRS=/usr/src/modules/nvidia-kernel"
module;
make[2]: entrant dans le répertoire « /usr/src/modules/nvidia-kernel »
NVIDIA: calling KBUILD...
make CC=gcc-4.1 -C /lib/modules/2.6.26-1-xen-686/build
SUBDIRS=/usr/src/modules/nvidia-kernel modules
make[3]: entrant dans le répertoire « /usr/src/linux-headers-2.6.26-1-xen-686
»
CC [M] /usr/src/modules/nvidia-kernel/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/nv-linux.h:19,
from /usr/src/modules/nvidia-kernel/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 /usr/src/modules/nvidia-kernel/nv-linux.h:34,
from /usr/src/modules/nvidia-kernel/nv.c:14:
/usr/src/modules/nvidia-kernel/conftest.h:1:2: error: #error remap_page_range()
conftest failed!
/usr/src/modules/nvidia-kernel/conftest.h:3:2: error: #error vmap() conftest
failed!
/usr/src/modules/nvidia-kernel/conftest.h:25:2: error: #error
kmem_cache_create() conftest failed!
In file included from include/asm/mach-xen/asm/../../dma-mapping.h:9,
from include/asm/mach-xen/asm/dma-mapping.h:3,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/mach-xen/asm/pci.h:98,
from include/linux/pci.h:962,
from /usr/src/modules/nvidia-kernel/nv-linux.h:86,
from /usr/src/modules/nvidia-kernel/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/nv-linux.h:109,
from /usr/src/modules/nvidia-kernel/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
In file included from /usr/src/modules/nvidia-kernel/nv.c:14:
/usr/src/modules/nvidia-kernel/nv-linux.h:574:2: error: #error
"NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
/usr/src/modules/nvidia-kernel/nv.c: In function ânvidia_init_moduleâ:
/usr/src/modules/nvidia-kernel/nv.c:1339: error: implicit declaration of
function âNV_KMEM_CACHE_CREATEâ
/usr/src/modules/nvidia-kernel/nv.c:1339: error: expected expression before
ânv_stack_tâ
/usr/src/modules/nvidia-kernel/nv.c:1349: error: implicit declaration of
function âNV_KMEM_CACHE_DESTROYâ
/usr/src/modules/nvidia-kernel/nv.c:1448: error: expected expression before
ânv_pte_tâ
/usr/src/modules/nvidia-kernel/nv.c: In function ânv_kern_openâ:
/usr/src/modules/nvidia-kernel/nv.c:2027: warning: passing argument 2 of
ârequest_irqâ from incompatible pointer type
make[4]: *** [/usr/src/modules/nvidia-kernel/nv.o] Erreur 1
make[3]: *** [_module_/usr/src/modules/nvidia-kernel] Erreur 2
make[3]: quittant le répertoire « /usr/src/linux-headers-2.6.26-1-xen-686 »
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[2]: *** [module] Erreur 1
make[2]: quittant le répertoire « /usr/src/modules/nvidia-kernel »
make[1]: *** [build-stamp] Erreur 2
make[1]: quittant le répertoire « /usr/src/modules/nvidia-kernel »
make: *** [kdist_image] Erreur 2