红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

已解决:8.10显卡驱动说这没有匹配的kernel module

发布时间:2008-11-02 10:35:31来源:红联作者:huyish
硬件驱动那没有任何驱动。手动去下了驱动,显卡geforce mx 4000。下了NVIDIA-Linux-x86-96.43.07-pkg1.run.用sudo sh安装提示找不到匹配的kernel module,下面的是安装日志nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Nov 2 10:20:43 2008
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.07.
-> 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".
-> Kernel source path: '/lib/modules/2.6.27-7-generic/build'
-> Kernel output path: '/lib/modules/2.6.27-7-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.27-7-generi
c/build SYSOUT=/lib/modules/2.6.27-7-generic/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.27-7-generic/build SUBDIRS=
/tmp/selfgz6518/NVIDIA-Linux-x86-96.43.07-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/selfgz6518/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/.tmp_vers
ions ; rm -f /tmp/selfgz6518/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/.tmp_
versions/*
make -f scripts/Makefile.build obj=/tmp/selfgz6518/NVIDIA-Linux-x86-96.43.07
-pkg1/usr/src/nv
cc -Wp,-MD,/tmp/selfgz6518/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.2/include -D__KERNEL_
_ -Iinclude -I/usr/src/linux-headers-2.6.27-7-generic/arch/x86/include -in
clude include/linux/autoconf.h -
Iubuntu/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stric
t-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m32 -msoft
-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i
586 -mtune=generic -ffreestanding -pipe -Wno-sign-compare -fno-asynchronous-
unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-
default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-c
alls -pg -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz6518/N
VIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wsw
itch -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.07\" -UDEBUG -U_DEBU
G -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"
-D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6518/NVIDIA-Linux-x86
-96.43.07-pkg1/usr/src/nv/.tmp_nv.
o /tmp/selfgz6518/NVIDIA-Linux-x86-96.43.07-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/selfgz6518/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz6518/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
/nv/nv.c:14:
include/asm/bitops.h: 在函数‘set_bit’中:
include/asm/bitops.h:60: 警告: ‘void *’型指针用在了算术表
文章评论

共有 8 条评论

  1. huyish 于 2008-11-02 14:49:42发表:

    已解决,官方论坛上出96.43.09了。

  2. rtl 于 2008-11-02 11:50:26发表:

    https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia

    [ 本帖最后由 rtl 于 2008-11-2 11:53 编辑 ]

  3. huyish 于 2008-11-02 11:29:14发表:

    额。我是新手,能不能给个详细操作的过程,比如这个补丁是个安装包呢还是修改一些东西。谢谢。这个问题估计很多人会遇到的。

  4. rtl 于 2008-11-02 11:26:13发表:

    你在 新立得 或 apt-get ? ??不就 不用那麽麻?了?

  5. rtl 于 2008-11-02 11:23:58发表:

    NVIDIA-Linux-x86-96.43.07-pkg1.run 默??法在2.6.27.x上 ??出内核模?,?是由於2.6.27.x 内核的?文件?生了??,如一些文件位置?了,一些文件?面的函?改了

    所以 要打? NVIDIA-Linux-x86-96.43.07-pkg1.run 打??丁才能??出 内核模?

    Bug 242476 nvidia-drivers-96.43.07 fails to build against kernel 2.6.27

  6. huyish 于 2008-11-02 11:08:25发表:

    打补丁?什么补丁?我不是更新完了吗?

  7. albume 于 2008-11-02 10:59:03发表:

    可能要等新驱动了

  8. rtl 于 2008-11-02 10:55:49发表:

    2.6.27的 内核要???打??丁才能 ?利??出 内核模?

    建? ?源?

    [ 本帖最后由 rtl 于 2008-11-2 10:56 编辑 ]