@M.Linux, pluvo, Pluribootent
Code: Alles auswählen
# grep -r CONFIG_XEN *
2.6.24-4/config-2.6.24-1-686-bigmem:# CONFIG_XEN is not set
2.6.24-4/config-2.6.24-1-686:# CONFIG_XEN is not set
2.6.24-5/config-2.6.24-1-686-bigmem:# CONFIG_XEN is not set
2.6.24-5/config-2.6.24-1-686:# CONFIG_XEN is not set
2.6.24-6/config-2.6.24-1-686-bigmem:# CONFIG_XEN is not set
2.6.24-6/config-2.6.24-1-686:# CONFIG_XEN is not set
2.6.24-7/config-2.6.24-1-686-bigmem:# CONFIG_XEN is not set
2.6.24-7/config-2.6.24-1-686:# CONFIG_XEN is not set
2.6.25-6/config-2.6.25-2-686:CONFIG_XEN=y
2.6.25-6/config-2.6.25-2-686:CONFIG_XEN_BLKDEV_FRONTEND=m
2.6.25-6/config-2.6.25-2-686:CONFIG_XEN_NETDEV_FRONTEND=m
2.6.25-6/config-2.6.25-2-686-bigmem:CONFIG_XEN=y
2.6.25-6/config-2.6.25-2-686-bigmem:CONFIG_XEN_BLKDEV_FRONTEND=m
2.6.25-6/config-2.6.25-2-686-bigmem:CONFIG_XEN_NETDEV_FRONTEND=m
2.6.25-7/config-2.6.25-2-686:CONFIG_XEN=y
2.6.25-7/config-2.6.25-2-686:CONFIG_XEN_BLKDEV_FRONTEND=m
2.6.25-7/config-2.6.25-2-686:CONFIG_XEN_NETDEV_FRONTEND=m
2.6.25-7/config-2.6.25-2-686-bigmem:CONFIG_XEN=y
2.6.25-7/config-2.6.25-2-686-bigmem:CONFIG_XEN_BLKDEV_FRONTEND=m
2.6.25-7/config-2.6.25-2-686-bigmem:CONFIG_XEN_NETDEV_FRONTEND=m
(2.6.22: gar nix)
Ab dem debian 2.6.25 gibt es XEN im Standardkernel.
In conftest.sh gibt es das hier:
Code: Alles auswählen
xen_sanity_check)
#
# Check if the target kernel is a Xen kernel. If so, then exit, since
# the driver doesn't currently work with Xen.
#
RET=1
VERBOSE=$6
FILE="linux/autoconf.h"
if [ -n "$IGNORE_XEN_PRESENCE" ]; then
exit 0
fi
if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then
#
# We are looking at a configured source tree; verify
# that it's not a Xen kernel.
#
echo "#include <linux/autoconf.h>
#ifdef CONFIG_XEN
#error CONFIG_XEN defined!!
#endif
" > conftest$$.c
$CC $CFLAGS -c conftest$$.c > /dev/null 2>&1
rm -f conftest$$.c
if [ -f conftest$$.o ]; then
rm -f conftest$$.o
RET=0
fi
else
CONFIG=$HEADERS/../.config
if [ -f $CONFIG ]; then
if [ -z "$(grep "^CONFIG_XEN=y" $CONFIG)" ]; then
RET=0
fi
fi
fi
if [ "$RET" != "0" ]; then
echo "The kernel you are installing for is a Xen kernel!";
echo "";
echo "The NVIDIA driver does not currently work on Xen kernels. If ";
echo "you are using a stock distribution kernel, please install ";
echo "a variant of this kernel without Xen support; if this is a ";
echo "custom kernel, please install a standard Linux kernel. Then ";
echo "try installing the NVIDIA kernel module again.";
echo "";
if [ "$VERBOSE" = "full_output" ]; then
echo "*** Failed Xen sanity check. Bailing out! ***";
echo "";
fi
exit 1
else
exit 0
fi
;;
Also: Findet der nvidia-installer "CONFIG_XEN" in autoconf.h oder .config, wie neuerdings beim debian-2.6.25, dann bricht er ab.
Mit IGNORE_XEN_PRESENCE wird der xen_sanity_check uebersprungen.
Jedoch wird die Option noch an anderen Stellen abgefragt, bzw sie wird mit verarbeitet, daher mein Hinweis auf zusätzlich auto.conf und die Tilgung der Option aus den header-Dateien für die nvidia-Installation.