LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1043|回复: 3

2.6.20内核安装nvidia驱动出错!

[复制链接]
发表于 2007-4-19 12:15:37 | 显示全部楼层 |阅读模式
用的是testing系统,安装了unstable的2.6.20内核和glibc-2.5。安装nvidia的驱动出现了错误。
  1. $ cat nvidia-installer.log
  2. nvidia-installer log file '/var/log/nvidia-installer.log'
  3. creation time: Thu Apr 19 09:32:50 2007

  4. option status:
  5.   license pre-accepted    : false
  6.   update                  : false
  7.   force update            : false
  8.   expert                  : false
  9.   uninstall               : false
  10.   driver info             : false
  11.   precompiled interfaces  : true
  12.   no ncurses color        : false
  13.   query latest version    : false
  14.   OpenGL header files     : true
  15.   no questions            : false
  16.   silent                  : false
  17.   no recursion            : false
  18.   no backup               : false
  19.   kernel module only      : false
  20.   sanity                  : false
  21.   add this kernel         : false
  22.   no runlevel check       : false
  23.   no network              : false
  24.   no ABI note             : false
  25.   no RPMs                 : false
  26.   no kernel module        : false
  27.   force SELinux           : default
  28.   no X server check       : false
  29.   force tls               : (not specified)
  30.   X install prefix        : (not specified)
  31.   X library install path  : (not specified)
  32.   X module install path   : (not specified)
  33.   OpenGL install prefix   : (not specified)
  34.   OpenGL install libdir   : (not specified)
  35.   utility install prefix  : (not specified)
  36.   utility install libdir  : (not specified)
  37.   doc install prefix      : (not specified)
  38.   kernel name             : (not specified)
  39.   kernel include path     : (not specified)
  40.   kernel source path      : (not specified)
  41.   kernel output path      : (not specified)
  42.   kernel install path     : (not specified)
  43.   proc mount point        : /proc
  44.   ui                      : (not specified)
  45.   tmpdir                  : /tmp
  46.   ftp mirror              : ftp://download.nvidia.com
  47.   RPM file list           : (not specified)

  48. Using: nvidia-installer ncurses user interface
  49. -> License accepted.
  50. -> There appears to already be a driver installed on your system (version: 1.0-
  51.    9755).  As part of installing this driver (version: 1.0-9755), the existing
  52.    driver will be uninstalled.  Are you sure you want to continue? ('no' will a
  53.    bort installation) (Answer: Yes)
  54. -> No precompiled kernel interface was found to match your kernel; would you li
  55.    ke the installer to attempt to download a kernel interface for your kernel f
  56.    rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
  57. -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
  58.    this means that the installer will need to compile a kernel interface for
  59.    your kernel.
  60. -> Performing CC sanity check with CC="cc".
  61. -> Performing CC version check with CC="cc".
  62. -> Kernel source path: '/lib/modules/2.6.20-1-686/build'
  63. -> Kernel output path: '/lib/modules/2.6.20-1-686/build'
  64. -> Performing rivafb check.
  65. -> Performing nvidiafb check.
  66. -> Performing Xen check.
  67. -> Cleaning kernel module build directory.
  68.    executing: 'cd ./usr/src/nv; make clean'...
  69.    rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nv.o nv
  70.    -vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvidia.mod.o
  71.    rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
  72.    rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
  73.    rm -f -f stprof stprof.o symtab.h Modules.symvers
  74.    rm -f -rf .tmp_versions
  75.    rm -f Makefile
  76. -> Building kernel module:
  77.    executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.20-1-686/bu
  78.    ild SYSOUT=/lib/modules/2.6.20-1-686/build'...
  79.    sh ./conftest.sh "cc" "cc" /lib/modules/2.6.20-1-686/build /lib/modules/2.6.
  80.    20-1-686/build cc_sanity_check full_output
  81.    sh ./conftest.sh "cc" "cc" /lib/modules/2.6.20-1-686/build /lib/modules/2.6.
  82.    20-1-686/build select_makefile full_output
  83.    make --no-print-directory -f Makefile module
  84.    
  85.    NVIDIA: calling KBUILD...
  86.    make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.20-1-686/build SUBDIRS=/tmp
  87.    /selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv modules
  88.    test -e include/linux/autoconf.h -a -e include/config/auto.conf || (                \
  89.            echo;                                                                \
  90.            echo "  ERROR: Kernel configuration is invalid.";                \
  91.            echo "         include/linux/autoconf.h or include/config/auto.conf are mis
  92.    sing.";        \
  93.            echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
  94.    .";        \
  95.            echo;                                                                \
  96.            /bin/false)
  97.    mkdir -p /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_vers
  98.    ions
  99.    rm -f /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_version
  100.    s/*
  101.    make -f scripts/Makefile.build obj=/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755
  102.    -pkg1/usr/src/nv
  103.    echo \#define NV_COMPILER "`cc -v 2>&1 | tail -n 1`" > /tmp/selfgz4812/NVI
  104.    DIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv_compiler.h
  105.      cc -Wp,-MD,/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.nv.o
  106.    .d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL_
  107.    _ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-protot
  108.    ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float
  109.    -mregparm=3 -mpreferred-stack-boundary=2  -march=i686 -ffreestanding -maccum
  110.    ulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclu
  111.    de/asm-i386/mach-default -fomit-frame-pointer  -fno-stack-protector -Wdeclar
  112.    ation-after-statement -Wno-pointer-sign -I/tmp/selfgz4812/NVIDIA-Linux-x86-1
  113.    .0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wc
  114.    har-subscripts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror  -O -f
  115.    no-common -msoft-float       -MD   -Wsign-compare -Wno-cast-qual -Wno-error
  116.    -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODU
  117.    LE  -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755  -
  118.    UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGAR
  119.    T_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_
  120.    PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESE
  121.    NT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHA
  122.    NGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT  -DMODULE -D"KBUILD_STR(s)=#s" -D"
  123.    KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o
  124.    /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_nv.o /tmp/sel
  125.    fgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c
  126.    In file included from include/linux/list.h:8,
  127.                     from include/linux/wait.h:22,
  128.                     from include/asm/semaphore.h:41,
  129.                     from include/linux/sched.h:59,
  130.                     from include/linux/utsname.h:35,
  131.                     from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
  132.    /nv/nv-linux.h:19,
  133.                     from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
  134.    /nv/nv.c:14:
  135.    include/linux/prefetch.h: In function ‘prefetch_range’:
  136.    include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
  137.    rithmetic
  138.    /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: At top level
  139.    :
  140.    /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:110: warning:
  141.    ‘kmem_cache_t’ is deprecated
  142.    /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function
  143.    ‘__nv_setup_pat_entries’:
  144.    /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:955: warning:
  145.    comparison between signed and unsigned
  146.    /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function
  147.    ‘__nv_restore_pat_entries’:
  148.    /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:981: warning:
  149.    comparison between signed and unsigned
  150.    /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function
  151.    ‘nv_kern_cpu_callback’:
  152.    /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:1287: warning
  153.    : comparison between signed and unsigned
  154.    /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:1294: warning
  155.    : comparison between signed and unsigned
  156.      cc -Wp,-MD,/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.nv-v
  157.    m.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERN
  158.    EL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pro
  159.    totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-flo
  160.    at -mregparm=3 -mpreferred-stack-boundary=2  -march=i686 -ffreestanding -mac
  161.    cumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iin
  162.    clude/asm-i386/mach-default -fomit-frame-pointer  -fno-stack-protector -Wdec
  163.    laration-after-statement -Wno-pointer-sign -I/tmp/selfgz4812/NVIDIA-Linux-x8
  164.    6-1.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
  165.    -Wchar-subscripts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror  -O
  166.    -fno-common -msoft-float       -MD   -Wsign-compare -Wno-cast-qual -Wno-erro
  167.    r -D_LOOSE_KERNEL_NAMES -D__
  168.    KERNEL__ -DMODULE  -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PAT
  169.    CHLEVEL=9755  -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPL
  170.    E_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUN
  171.    T_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_IN
  172.    SERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_P
  173.    RESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT  -DMODULE -D"KBUILD
  174.    _STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)"  -D"KBUILD_MODNAME=KBUILD_
  175.    STR(nvidia)" -c -o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv
  176.    /.tmp_nv-vm.o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv-v
  177.    m.c
  178.    In file included from include/linux/list.h:8,
  179.                     from include/linux/wait.h:22,
  180.                     from include/asm/semaphore.h:41,
  181.                     from include/linux/sched.h:59,
  182.                     from include/linux/utsname.h:35,
  183.                     from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
  184.    /nv/nv-linux.h:19,
  185.                     from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
  186.    /nv/nv-vm.c:14:
  187.    include/linux/prefetch.h: In function ‘prefetch_range’:
  188.    include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
  189.    rithmetic
  190.      cc -Wp,-MD,/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.os-a
  191.    gp.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KER
  192.    NEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pr
  193.    ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-fl
  194.    oat -mregparm=3 -mpreferred-stack-boundary=2  -march=i686 -ffreestanding -ma
  195.    ccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Ii
  196.    nclude/asm-i386/mach-default -fomit-frame-pointer  -fno-stack-protector -Wde
  197.    claration-after-statement -Wno-pointer-sign -I/tmp/selfgz4812/NVIDIA-Linux-x
  198.    86-1.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
  199.    -Wchar-subscripts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror  -O
  200.    -fno-common -msoft-float
  201.           -MD   -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES
  202.    -D__KERNEL__ -DMODULE  -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV
  203.    _PATCHLEVEL=9755  -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MUL
  204.    TIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_
  205.    COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_V
  206.    M_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RAN
  207.    GE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT  -DMODULE -D"KB
  208.    UILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)"  -D"KBUILD_MODNAME=KB
  209.    UILD_STR(nvidia)" -c -o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/s
  210.    rc/nv/.tmp_os-agp.o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/n
  211.    v/os-agp.c
  212.    In file included from include/linux/list.h:8,
  213.                     from include/linux/wait.h:22,
  214.                     from include/asm/semaphore.h:41,
  215.                     from include/linux/sched.h:59,
  216.                     from include/linux/utsname.h:35,
  217.                     from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
  218.    /nv/nv-linux.h:19,
  219.                     from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
  220.    /nv/os-agp.c:24:
  221.    include/linux/prefetch.h: In function ‘prefetch_range’:
  222.    include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
  223.    rithmetic
  224.      cc -Wp,-MD,/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.os-i
  225.    nterface.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -
  226.    D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstr
  227.    ict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -ms
  228.    oft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i686 -ffreestandi
  229.    ng -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME
  230.    =1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer  -fno-stack-protecto
  231.    r -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz4812/NVIDIA-L
  232.    inux-x86-1.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -W
  233.    format -Wchar-subs
  234.    cripts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror  -O -fno-commo
  235.    n -msoft-float       -MD   -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE
  236.    _KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_
  237.    VERSION=0 -DNV_PATCHLEVEL=9755  -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT
  238.    _RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_S
  239.    YSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_
  240.    PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV
  241.    _REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT  
  242.    -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)"  
  243.    -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz4812/NVIDIA-Linux-x86
  244.    -1.0-9755-pkg1/usr/src/nv/.tmp_os-interface.o /tmp/selfgz4812/NVIDIA-Linux-x
  245.    86-1.0-9755-pkg1/usr/src/nv/os-interface.c
  246.    In file included from include/linux/list.h:8,
  247.                     from include/linux/wait.h:22,
  248.                     from include/asm/semaphore.h:41,
  249.                     from include/linux/sched.h:59,
  250.                     from include/linux/utsname.h:35,
  251.                     from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
  252.    /nv/nv-linux.h:19,
  253.                     from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
  254.    /nv/os-interface.c:26:
  255.    include/linux/prefetch.h: In function ‘prefetch_range’:
  256.    include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
  257.    rithmetic
  258.      cc -Wp,-MD,/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.os-r
  259.    egistry.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D
  260.    __KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstri
  261.    ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -mso
  262.    ft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i686 -ffreestandin
  263.    g -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=
  264.    1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer  -fno-stack-protector
  265.    -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/
  266.    selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wretu
  267.    rn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith  -
  268.    Wno-multichar  -Werror  -O -fno-common -msoft-float       -MD   -Wsign-compa
  269.    re -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -D
  270.    NVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755  -UDEBUG
  271.    -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESE
  272.    NT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESS
  273.    AGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV
  274.    _OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAG
  275.    E_ATTR_PRESENT -DNV_VMAP_4_PRESENT  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_
  276.    BASENAME=KBUILD_STR(os_registry)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c
  277.    -o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_os-registr
  278.    y.o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/os-registry.c
  279.    In file included from include/linux/list.h:8,
  280.                     from include/linux/wait.h:22,
  281.                     from include/asm/semaphore.h:41,
  282.                     from include/linux/sched.h:59,
  283.                     from include/linux/utsname.h:35,
  284.                     from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
  285.    /nv/nv-linux.h:19,
  286.                     from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
  287.    /nv/os-registry.c:14:
  288.    include/linux/prefetch.h: In function ‘prefetch_range’:
  289.    include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
  290.    rithmetic
  291.      cc -Wp,-MD,/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.nv-i
  292.    2c.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KER
  293.    NEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pr
  294.    ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-fl
  295.    oat -mregparm=3 -mpreferred-stack-boundary=2  -march=i686 -ffreestanding -ma
  296.    ccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Ii
  297.    nclude/asm-i386/mach-de
  298.    fault -fomit-frame-pointer  -fno-stack-protector -Wdeclaration-after-stateme
  299.    nt -Wno-pointer-sign -I/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/sr
  300.    c/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpa
  301.    rentheses -Wpointer-arith  -Wno-multichar  -Werror  -O -fno-common -msoft-fl
  302.    oat       -MD   -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAM
  303.    ES -D__KERNEL__ -DMODULE  -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -
  304.    DNV_PATCHLEVEL=9755  -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_
  305.    MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_M
  306.    AP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DN
  307.    V_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_
  308.    RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT  -DMODULE -D
  309.    "KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)"  -D"KBUILD_MODNAME
  310.    =KBUILD_STR(nvidia)" -c -o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/us
  311.    r/src/nv/.tmp_nv-i2c.o /tmp/selfgz48
  312.    12/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv-i2c.c
  313.    In file included from include/linux/list.h:8,
  314.                     from include/linux/wait.h:22,
  315.                     from include/asm/semaphore.h:41,
  316.                     from include/linux/sched.h:59,
  317.                     from include/linux/utsname.h:35,
  318.                     from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
  319.    /nv/nv-linux.h:19,
  320.                     from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
  321.    /nv/nv-i2c.c:8:
  322.    include/linux/prefetch.h: In function ‘prefetch_range’:
  323.    include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
  324.    rithmetic
  325.      ld -m elf_i386 -m elf_i386  -r -o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-975
  326.    5-pkg1/usr/src/nv/nvidia.o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/us
  327.    r/src/nv/nv-kernel.o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/
  328.    nv/nv.o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv-vm.o /t
  329.    mp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/os-agp.o /tmp/selfgz
  330.    4812/NVIDIA-Linu
  331.    x-x86-1.0-9755-pkg1/usr/src/nv/os-interface.o /tmp/selfgz4812/NVIDIA-Linux-x
  332.    86-1.0-9755-pkg1/usr/src/nv/os-registry.o /tmp/selfgz4812/NVIDIA-Linux-x86-1
  333.    .0-9755-pkg1/usr/src/nv/nv-i2c.o
  334.      Building modules, stage 2.
  335.    make -f /usr/src/linux-headers-2.6.20-1-686/scripts/Makefile.modpost
  336.      scripts/mod/modpost -m  -i /usr/src/linux-headers-2.6.20-1-686/Module.symv
  337.    ers -I /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/Module.symv
  338.    ers -o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/Module.symv
  339.    ers -w  /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nvidia.o
  340.    FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'para
  341.    virt_ops'
  342.    make[3]: *** [__modpost] Error 1
  343.    make[2]: *** [modules] Error 2
  344.    NVIDIA: left KBUILD.
  345.    nvidia.ko failed to build!
  346.    make[1]: *** [module] Error 1
  347.    make: *** [module] Error 2
  348. -> Error.
  349. ERROR: Unable to build the NVIDIA kernel module.
复制代码
发表于 2007-4-19 13:51:50 | 显示全部楼层
我这边sid里的6.20同样编不了nvidia的modules,自己git下来的2.60.7的可以,复制了个到debian官方2.6.20内核里也能用

http://www.nvnews.net/vbulletin/showthread.php?t=85107
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-19 21:33:38 | 显示全部楼层
有论坛说,编译的时候会检查代码,发现有non-GPL代码的话,就会出现这个错误。可以关掉代码检查再编译。真是晕,不想折腾了,等内核更新再试试看吧。
回复 支持 反对

使用道具 举报

发表于 2007-4-19 22:11:40 | 显示全部楼层
用Gentoo打补丁的内核可以装N卡驱动。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表