LinuxSir.cn,穿越时空的Linuxsir!

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

求助-11.0更新内核后装不上nv驱动...

[复制链接]
发表于 2009-11-6 01:04:04 | 显示全部楼层 |阅读模式

openSUSE-11.0-DVD-i386,,之前没有装过驱动
更新内核: linux-2.6.31.5,,然后装nv180.22驱动...(不更新内核的话这个可以正常安装的)
重建内核到60%的时候出错...没有驱动很痛苦...用不了1440x900的分辨率...
大哥们帮我看下咋样才能装上阿...俄是菜鸟...啥都看不懂...-___-!!

/var/log/nvidia-installer.log

  1. nvidia-installer log file '/var/log/nvidia-installer.log'
  2. creation time: Fri Nov  6 00:35:00 2009
  3. installer version: 1.0.7

  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.   no cc version check     : false
  30.   force tls               : (not specified)
  31.   X install prefix        : (not specified)
  32.   X library install path  : (not specified)
  33.   X module install path   : (not specified)
  34.   OpenGL install prefix   : (not specified)
  35.   OpenGL install libdir   : (not specified)
  36.   utility install prefix  : (not specified)
  37.   utility install libdir  : (not specified)
  38.   doc install prefix      : (not specified)
  39.   kernel name             : (not specified)
  40.   kernel include path     : (not specified)
  41.   kernel source path      : (not specified)
  42.   kernel output path      : (not specified)
  43.   kernel install path     : (not specified)
  44.   proc mount point        : /proc
  45.   ui                      : (not specified)
  46.   tmpdir                  : /tmp
  47.   ftp mirror              : ftp://download.nvidia.com
  48.   RPM file list           : (not specified)

  49. Using: nvidia-installer ncurses user interface
  50. -> License accepted.
  51. -> Installing NVIDIA driver version 180.22.
  52. -> No precompiled kernel interface was found to match your kernel; would you li
  53.    ke the installer to attempt to download a kernel interface for your kernel f
  54.    rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
  55. -> No precompiled kernel interface was found to match your kernel; this means
  56.    that the installer will need to compile a new kernel interface.
  57. -> Performing CC sanity check with CC="cc".
  58. -> Performing CC version check with CC="cc".
  59. -> Kernel source path: '/lib/modules/2.6.31.5-pae/source'
  60. -> Kernel output path: '/lib/modules/2.6.31.5-pae/build'
  61. -> Performing rivafb check.
  62. -> Performing nvidiafb check.
  63. -> Performing Xen check.
  64. -> Cleaning kernel module build directory.
  65.    executing: 'cd ./usr/src/nv; make clean'...
  66. -> Building kernel module:
  67.    executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.31.5-pae/so
  68.    urce SYSOUT=/lib/modules/2.6.31.5-pae/build'...
  69.    NVIDIA: calling KBUILD...
  70.    make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.31.5-pae/build KBUILD_VERBOSE=1 -C
  71.    /lib/modules/2.6.31.5-pae/source SUBDIRS=/tmp/selfgz4363/NVIDIA-Linux-x86-18
  72.    0.22-pkg1/usr/src/nv modules
  73.    make -C /lib/modules/2.6.31.5-pae/build \
  74.            KBUILD_SRC=/usr/src/linux-2.6.31.5 \
  75.            KBUILD_EXTMOD="/tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv" -f
  76.    /usr/src/linux-2.6.31.5/Makefile \
  77.            modules
  78.    test -e include/linux/autoconf.h -a -e include/config/auto.conf || (                \
  79.            echo;                                                                \
  80.            echo "  ERROR: Kernel configuration is invalid.";                \
  81.            echo "         include/linux/autoconf.h or include/config/auto.conf are mis
  82.    sing.";        \
  83.            echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
  84.    .";        \
  85.            echo;                                                                \
  86.            /bin/false)
  87.    mkdir -p /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/.tmp_versio
  88.    ns ; rm -f /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/.tmp_vers
  89.    ions/*
  90.    make -f /usr/src/linux-2.6.31.5/scripts/Makefile.build obj=/tmp/selfgz4363/N
  91.    VIDIA-Linux-x86-180.22-pkg1/usr/src/nv
  92.      cc -Wp,-MD,/tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/.nv.o.d
  93.     -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.3/include -Iinclude -Iinc
  94.    lude2 -I/usr/src/linux-2.6.31.5/include -I/usr/src/linux-2.6.31.5/arch/x86/i
  95.    nclude -include include/linux/autoconf.h   -I/tmp/selfgz4363/NVIDIA-Linux-x8
  96.    6-180.22-pkg1/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno
  97.    -trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declar
  98.    ation -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-f
  99.    loat -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i58
  100.    6 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCON
  101.    FIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-t
  102.    ables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-stack-protector -fno-omit-
  103.    frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -
  104.    Wno-pointer-sign -fno-strict-overflow   -I/tmp/selfgz4363/NVIDIA-Linux-x86-1
  105.    80.22-pkg1/usr/src/nv -Wall -Wimplici
  106.    t -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-
  107.    arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D
  108.    __KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="180.22" -UDEBUG -U_DEBUG -
  109.    DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -
  110.    D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz4363/NVIDIA-Linux-x86
  111.    -180.22-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pk
  112.    g1/usr/src/nv/nv.c
  113.    In file included from include/linux/bitops.h:17,
  114.                     from include/linux/kernel.h:15,
  115.                     from include/linux/sched.h:52,
  116.                     from include/linux/utsname.h:35,
  117.                     from /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/n
  118.    v/nv-linux.h:19,
  119.                     from /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/n
  120.    v/nv.c:14:
  121.    /usr/src/linux-2.6.31.5/arch/x86/include/asm/bitops.h: In function ‘set_bi
  122.    t’:
  123.    /usr/src/linux-2.6.31.5/arch/x86/include/asm/bitops.h:64: warning: pointer o
  124.    f type ‘void *’ used in arithmetic
  125.    /usr/src/linux-2.6.31.5/arch/x86/include/asm/bitops.h: In function ‘clear_
  126.    bit’:
  127.    /usr/src/linux-2.6.31.5/arch/x86/include/asm/bitops.h:102: warning: pointer
  128.    of type ‘void *’ used in arithmetic
  129.    /usr/src/linux-2.6.31.5/arch/x86/include/asm/bitops.h: In function ‘change
  130.    _bit’:
  131.    /usr/src/linux-2.6.31.5/arch/x86/include/asm/bitops.h:178: warning: pointer
  132.    of type ‘void *’ used in arithmetic
  133.    In file included from include/linux/list.h:6,
  134.                     from include/linux/preempt.h:11,
  135.                     from include/linux/spinlock.h:50,
  136.                     from include/linux/seqlock.h:29,
  137.                     from include/linux/time.h:8,
  138.                     from include/linux/timex.h:56,
  139.                     from include/linux/sched.h:54,
  140.                     from include/linux/utsname.h:35,
  141.                     from /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/n
  142.    v/nv-linux.h:19,
  143.                     from /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/n
  144.    v/nv.c:14:
  145.    include/linux/prefetch.h: In function ‘prefetch_range’:
  146.    include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
  147.    rithmetic
  148.    In file included from include/linux/utsname.h:35,
  149.                     from /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/n
  150.    v/nv-linux.h:19,
  151.                     from /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/n
  152.    v/nv.c:14:
  153.    include/linux/sched.h: In function ‘object_is_on_stack’:
  154.    include/linux/sched.h:2182: warning: pointer of type ‘void *’ used in ar
  155.    ithmetic
  156.    In file included from include/linux/io.h:22,
  157.                     from include/linux/pci.h:54,
  158.                     from /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/n
  159.    v/nv-linux.h:86,
  160.                     from /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/n
  161.    v/nv.c:14:
  162.    /usr/src/linux-2.6.31.5/arch/x86/include/asm/io.h: In function ‘writeq’:
  163.    /usr/src/linux-2.6.31.5/arch/x86/include/asm/io.h:70: warning: pointer of ty
  164.    pe ‘void *’ used in arithmetic
  165.    In file included from include/linux/dma-mapping.h:7,
  166.                     from include/asm-generic/pci-dma-compat.h:7,
  167.                     from /usr/src/linux-2.6.31.5/arch/x86/include/asm/pci.h:129
  168.    ,
  169.                     from include/linux/pci.h:1112,
  170.                     from /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/n
  171.    v/nv-linux.h:86,
  172.                     from /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/n
  173.    v/nv.c:14:
  174.    include/linux/scatterlist.h: In function ‘sg_virt’:
  175.    include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
  176.    in arithmetic
  177.    In file included from /usr/src/linux-2.6.31.5/arch/x86/include/asm/dma-mappi
  178.    ng.h:36,
  179.                     from include/linux/dma-mapping.h:107,
  180.                     from include/asm-generic/pci-dma-compat.h:7,
  181.                     from /usr/src/linux-2.6.31.5/arch/x86/include/asm/pci.h:129
  182.    ,
  183.                     from include/linux/pci.h:1112,
  184.                     from /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/n
  185.    v/nv-linux.h:86,
  186.                     from /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/n
  187.    v/nv.c:14:
  188.    include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
  189.    include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
  190.    d *’ used in arithmetic
  191.    In file included from /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/n
  192.    v/nv-linux.h:113,
  193.                     from /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/n
  194.    v/nv.c:14:
  195.    include/linux/highmem.h: In function ‘zero_user_segments’:
  196.    include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
  197.    rithmetic
  198.    include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
  199.    rithmetic
  200.    include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
  201.    rithmetic
  202.    include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
  203.    rithmetic
  204.    include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
  205.    rithmetic
  206.    include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
  207.    rithmetic
  208.    include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
  209.    rithmetic
  210.    include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
  211.    rithmetic
  212.    /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/nv.c: In function ��
  213.    �nvos_proc_create’:
  214.    /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/nv.c:596: error: ‘
  215.    struct proc_dir_entry’ has no member named ‘owner’
  216.    /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/nv.c:597: error: ‘
  217.    struct proc_dir_entry’ has no member named ‘owner’
  218.    /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/nv.c:598: error: ‘
  219.    struct proc_dir_entry’ has no member named ‘owner’
  220.    /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/nv.c:618: error: ‘
  221.    struct proc_dir_entry’ has no member named ‘owner’
  222.    /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/nv.c:632: error: ‘
  223.    struct proc_dir_entry’ has no member named ‘owner’
  224.    /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/nv.c:643: error: ‘
  225.    struct proc_dir_entry’ has no member named ‘owner’
  226.    /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/nv.c:653: error: ‘
  227.    struct proc_dir_entry’ has no member named ‘owner’
  228.    /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/nv.c:663: error: ‘
  229.    struct proc_dir_entry’ has no member named ‘owner’
  230.    /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/nv.c:674: error: ‘
  231.    struct proc_dir_entry’ has no member named ‘owner’
  232.    /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/nv.c:681: error: ‘
  233.    struct proc_dir_entry’ has no member named ‘owner’
  234.    /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/nv.c: In function ��
  235.    �nvos_proc_add_warning_file’:
  236.    /tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/nv.c:708: error: ‘
  237.    struct proc_dir_entry’ has no member named ‘owner’
  238.    make[4]: *** [/tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/nv/nv.o]
  239.    错误 1
  240.    make[3]: *** [_module_/tmp/selfgz4363/NVIDIA-Linux-x86-180.22-pkg1/usr/src/n
  241.    v] 错误 2
  242.    make[2]: *** [sub-make] 错误 2
  243.    NVIDIA: left KBUILD.
  244.    nvidia.ko failed to build!
  245.    make[1]: *** [module] 错误 1
  246.    make: *** [module] 错误 2
  247. -> Error.
  248. ERROR: Unable to build the NVIDIA kernel module.
  249. ERROR: Installation has failed.  Please see the file
  250.        '/var/log/nvidia-installer.log' for details.  You may find suggestions
  251.        on fixing installation problems in the README available on the Linux
  252.        driver download page at www.nvidia.com.
复制代码
 楼主| 发表于 2009-11-6 01:05:59 | 显示全部楼层
还装错了分区...以前的系统都覆盖了...俄俄俄...悲惨阿...
回复 支持 反对

使用道具 举报

发表于 2009-11-6 04:53:16 | 显示全部楼层
晕 你不懂英语?
license pre-accepted    : false
你连人家安装条款都不同意,怎么装?
回复 支持 反对

使用道具 举报

发表于 2009-11-6 09:34:58 | 显示全部楼层
装190.42的驱动。老驱动不能在新内核下用。
回复 支持 反对

使用道具 举报

用户名用户名 该用户已被删除
发表于 2009-11-6 11:54:42 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

发表于 2009-11-6 15:53:20 | 显示全部楼层
Post by 用户名用户名;2043040
条款还真没注意,都是直接回车过去的,以前就这么装的阿,
谢谢二位,我回去再下个新驱动仔细装一下,

还有个问题,我装了NV官方驱动后再想升级更高版本的KERNEL的话要先卸载当前驱动再编译新KERNEL么,上次装完驱动又升级内核之后进不去X了,


2次安装,nvidia脚本会提示你的,确认就行了。
更换内核后,需要重装驱动。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-6 18:22:12 | 显示全部楼层
180.22还是装不上...换了190.42后问题解决...
果然如socket9999所说...新内核要用新驱动...终于能用1440*900分辨率了阿...好爽...谢谢9哥阿...!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-6 18:30:13 | 显示全部楼层
抓图纪念...俄很久没成功过了...-___-!!
回复 支持 反对

使用道具 举报

发表于 2009-11-6 19:21:24 | 显示全部楼层
Post by 殺;2043198
180.22还是装不上...换了190.42后问题解决...
果然如socket9999所说...新内核要用新驱动...终于能用1440*900分辨率了阿...好爽...谢谢9哥阿...!!


这是常识。。。。。
回复 支持 反对

使用道具 举报

发表于 2009-11-7 11:21:39 | 显示全部楼层
Post by 殺;2043198
180.22还是装不上...换了190.42后问题解决...
果然如socket9999所说...新内核要用新驱动...终于能用1440*900分辨率了阿...好爽...谢谢9哥阿...!!

___________________
呵呵
回复 支持 反对

使用道具 举报

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

本版积分规则

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