升级到9.04,再安装内核2.6.30.rc1,有点问题,求助!

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
sanzhiyangoo
帖子: 94
注册时间: 2006-12-04 9:37

升级到9.04,再安装内核2.6.30.rc1,有点问题,求助!

#1

帖子 sanzhiyangoo » 2009-04-13 23:15

无聊升级到9.04,在posting.php?mode=post&f=49看到最新内核,便下载安装成功,但n卡受限驱动装不了,不能开启特效。不爽。
以下是安装日志,有点乱码。望各位达人,看看错误在哪里。小草不胜感激
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Apr 13 22:58:39 2009
installer version: 1.0.7

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
no kernel module : false
force SELinux : default
no X server check : false
no cc version check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 96.43.09.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> The CC version check failed:

The compiler used to compile the kernel (gcc 4.2) does not exactly match the
current compiler (gcc 4.3). The Linux 2.6 kernel module loader rejects kern
el modules built with a version of gcc that does not exactly match that of t
he compiler used to build the running kernel.

If you know what you are doing and want to ignore the gcc version check, sel
ect "No" to continue installation. Otherwise, select "Yes" to abort install
ation, set the CC environment variable to the name of the compiler used to c
ompile your kernel, and restart installation. Abort now? (Answer: No)
-> Kernel source path: '/lib/modules/2.6.30-020630rc1-generic/build'
-> Kernel output path: '/lib/modules/2.6.30-020630rc1-generic/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.30-020630rc
1-generic/build SYSOUT=/lib/modules/2.6.30-020630rc1-generic/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.30-020630rc1-generic/build
SUBDIRS=/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are mis
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/.tmp_vers
ions ; rm -f /tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/.tmp_
versions/*
make -f scripts/Makefile.build obj=/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09
-pkg1/usr/src/nv
cc -Wp,-MD,/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.3/include -Iinclude
-I/usr/src/linux-headers-2.6.30-020630rc1-generic/arch/x86/include -include
include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno
-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declar
ation -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stac
k-boundary=2 -march=i586 -mtune=generic -Wa,-mtune=generic32 -ffreestanding
-pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -m
no-sse2 -mno-3dnow -fno-stack-protector -fno-omit-frame-pointer -fno-optimiz
e-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -I/t
mp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv -Wall -Wimplicit -Wr
eturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith
-Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE
_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.43.09\"
-UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=
KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz496
3/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/.tmp_nv.o /tmp/
selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/nv.c
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 /tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src
/nv/nv.c:14:
/usr/src/linux-headers-2.6.30-020630rc1-generic/arch/x86/include/asm/bitops.
h: 圚凜数‘set_bit’侭:
/usr/src/linux-headers-2.6.30-020630rc1-generic/arch/x86/include/asm/bitops.
h:64: 譊告 ‘void *’型指针甚圚了算术衚蟟匏䞭
/usr/src/linux-headers-2.6.30-020630rc1-generic/arch/x86/include/asm/bitops.
h: 圚凜数‘clear_bit’侭:
/usr/src/linux-headers-2.6.30-020630rc1-generic/arch/x86/include/asm/bitops.
h:102: 譊告 ‘void *’型指针甚圚了算术衚蟟匏䞭
/usr/src/linux-headers-2.6.30-020630rc1-generic/arch/x86/include/asm/bitops.
h: 圚凜数‘change_bit’侭:
/usr/src/linux-headers-2.6.30-020630rc1-generic/arch/x86/include/asm/bitops.
h:178: 譊告 ‘void *’型指针甚圚了算术衚蟟匏䞭
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:56,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: 圚凜数‘prefetch_range’侭:
include/linux/prefetch.h:57: 譊告 ‘void *’型指针甚圚了算术è
¡šèŸŸåŒäž­
In file included from include/linux/utsname.h:35,
from /tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src
/nv/nv.c:14:
include/linux/sched.h: 圚凜数‘object_is_on_stack’侭:
include/linux/sched.h:2119: 譊告 ‘void *’型指针甚圚了算术è¡
šèŸŸåŒäž­
In file included from include/linux/io.h:22,
from include/linux/pci.h:54,
from /tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src
/nv/nv-linux.h:85,
from /tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src
/nv/nv.c:14:
/usr/src/linux-headers-2.6.30-020630rc1-generic/arch/x86/include/asm/io.h: å
œšå‡œæ•°â€˜writeq’侭:
/usr/src/linux-headers-2.6.30-020630rc1-generic/arch/x86/include/asm/io.h:70
: 譊告 ‘void *’型指针甚圚了算术衚蟟匏䞭
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.30-020630rc1-generic/arch/x
86/include/asm/pci.h:129,
from include/linux/pci.h:1098,
from /tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src
/nv/nv-linux.h:85,
from /tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src
/nv/nv.c:14:
include/linux/scatterlist.h: 圚凜数‘sg_virt’侭:
include/linux/scatterlist.h:199: 譊告 ‘void *’型指针甚圚了算
术衚蟟匏䞭
In file included from /tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src
/nv/nv-linux.h:112,
from /tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src
/nv/nv.c:14:
include/linux/highmem.h: 圚凜数‘zero_user_segments’侭:
include/linux/highmem.h:147: 譊告 ‘void *’型指针甚圚了算术è
¡šèŸŸåŒäž­
include/linux/highmem.h:147: 譊告 ‘void *’型指针甚圚了算术è
¡šèŸŸåŒäž­
include/linux/highmem.h:147: 譊告 ‘void *’型指针甚圚了算术è
¡šèŸŸåŒäž­
include/linux/highmem.h:147: 譊告 ‘void *’型指针甚圚了算术è
¡šèŸŸåŒäž­
include/linux/highmem.h:150: 譊告 ‘void *’型指针甚圚了算术è
¡šèŸŸåŒäž­
include/linux/highmem.h:150: 譊告 ‘void *’型指针甚圚了算术è
¡šèŸŸåŒäž­
include/linux/highmem.h:150: 譊告 ‘void *’型指针甚圚了算术è
¡šèŸŸåŒäž­
include/linux/highmem.h:150: 譊告 ‘void *’型指针甚圚了算术è
¡šèŸŸåŒäž­
/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/nv.c: 圚凜数‘
nvos_proc_create’侭:
/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/nv.c:514: 错误ïŒ
š ‘struct proc_dir_entry’没有名䞺‘owner’的成员
/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/nv.c:515: 错误ïŒ
š ‘struct proc_dir_entry’没有名䞺‘owner’的成员
/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/nv.c:516: 错误ïŒ
š ‘struct proc_dir_entry’没有名䞺‘owner’的成员
/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/nv.c:536: 错误ïŒ
š ‘struct proc_dir_entry’没有名䞺‘owner’的成员
/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/nv.c:549: 错误ïŒ
š ‘struct proc_dir_entry’没有名䞺‘owner’的成员
/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/nv.c:560: 错误ïŒ
š ‘struct proc_dir_entry’没有名䞺‘owner’的成员
/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/nv.c:570: 错误ïŒ
š ‘struct proc_dir_entry’没有名䞺‘owner’的成员
/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/nv.c:580: 错误ïŒ
š ‘struct proc_dir_entry’没有名䞺‘owner’的成员
/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/nv.c:591: 错误ïŒ
š ‘struct proc_dir_entry’没有名䞺‘owner’的成员
/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/nv.c:598: 错误ïŒ
š ‘struct proc_dir_entry’没有名䞺‘owner’的成员
/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/nv.c: 圚凜数‘
nvos_proc_add_warning_file’侭:
/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/nv.c:633: 错误ïŒ
š ‘struct proc_dir_entry’没有名䞺‘owner’的成员
make[3]: *** [/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src/nv/nv.o
] 错误 1
make[2]: *** [_module_/tmp/selfgz4963/NVIDIA-Linux-x86-96.43.09-pkg1/usr/src
/nv] 错误 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] 错误 1
make: *** [module] 错误 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
chenjiang8345
帖子: 41
注册时间: 2007-12-30 15:59

Re: 升级到9.04,再安装内核2.6.30.rc1,有点问题,求助!

#2

帖子 chenjiang8345 » 2009-04-14 0:15

我今晚也差点升级到30的了,后来想一想,目前的29也用得挺好的,所以才没。

我想如果我升级的话,肯定也会出现如此多问题。

卸载掉30,安装回29看看问题能否解决!
sanzhiyangoo
帖子: 94
注册时间: 2006-12-04 9:37

Re: 升级到9.04,再安装内核2.6.30.rc1,有点问题,求助!

#3

帖子 sanzhiyangoo » 2009-04-14 8:29

好的,谢谢指导。
我会试试看看的。

我试试了,2.6.29成功
哈哈
回复