ubuntu 2.6.36rc2内核安装成功,但无法安装nvidia驱动~

仅仅用于软件推荐,不适合发求软件或软件使用问题方面的贴子
回复
头像
KOSKERS
帖子: 1454
注册时间: 2008-11-01 13:38

ubuntu 2.6.36rc2内核安装成功,但无法安装nvidia驱动~

#1

帖子 KOSKERS » 2010-08-24 10:25

报错:failed to build kernel
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)
force compat32 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)
compat32 install chroot : (not specified)
compat32 install prefix : (not specified)
compat32 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 256.44.
-> There appears to already be a driver installed on your system (version: 256.
44). As part of installing this driver (version: 256.44), the existing driv
er will be uninstalled. Are you sure you want to continue? ('no' will abort
installation) (Answer: Yes)
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.36-rc2koskers2636/source'
-> Kernel output path: '/lib/modules/2.6.36-rc2koskers2636/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./kernel; make clean'...
-> Building kernel module:
executing: 'cd ./kernel; make module SYSSRC=/lib/modules/2.6.36-rc2koskers26
36/source SYSOUT=/lib/modules/2.6.36-rc2koskers2636/build'...
NVIDIA: calling KBUILD...
make -C /lib/modules/2.6.36-rc2koskers2636/build \
KBUILD_SRC=/home/koskers/Desktop/linux-2.6.36-rc2 \
KBUILD_EXTMOD="/tmp/selfgz1881/NVIDIA-Linux-x86_64-256.44/kernel" -f /home/
koskers/Desktop/linux-2.6.36-rc2/Makefile \
modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are
missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz1881/NVIDIA-Linux-x86_64-256.44/kernel/.tmp_versions ; r
m -f /tmp/selfgz1881/NVIDIA-Linux-x86_64-256.44/kernel/.tmp_versions/*
make -f /home/koskers/Desktop/linux-2.6.36-rc2/scripts/Makefile.build obj=/t
mp/selfgz1881/NVIDIA-Linux-x86_64-256.44/kernel
cc -Wp,-MD,/tmp/selfgz1881/NVIDIA-Linux-x86_64-256.44/kernel/.nv.o.d -nos
tdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include -I/home/koskers/D
esktop/linux-2.6.36-rc2/arch/x86/include -Iinclude -I/home/koskers/Desktop/
linux-2.6.36-rc2/include -include include/generated/autoconf.h -I/tmp/self
gz1881/NVIDIA-Linux-x86_64-256.44/kernel -D__KERNEL__ -Wall -Wundef -Wstrict
-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit
-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -
O2 -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumu
late-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNA
L_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchrono
us-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=
1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-a
fter-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -I/
tmp/selfgz1881/NVIDIA-Linux-x86_64-256.44/kernel -Wall -MD -Wsign-compare -W
no-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"2
56.44\" -mcmodel=kernel -mno-re
d-zone -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_B
ASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/s
elfgz1881/NVIDIA-Linux-x86_64-256.44/kernel/.tmp_nv.o /tmp/selfgz1881/NVIDIA
-Linux-x86_64-256.44/kernel/nv.c
In file included from include/linux/kernel.h:17,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1881/NVIDIA-Linux-x86_64-256.44/kernel/nv-l
inux.h:27,
from /tmp/selfgz1881/NVIDIA-Linux-x86_64-256.44/kernel/nv.c
:13:
include/linux/bitops.h: In function ‘hweight_long’:
include/linux/bitops.h:49: warning: signed and unsigned type in conditional
expression
In file included from /home/koskers/Desktop/linux-2.6.36-rc2/arch/x86/includ
e/asm/uaccess.h:573,
from include/linux/poll.h:14,
from /tmp/selfgz1881/NVIDIA-Linux-x86_64-256.44/kernel/nv-l
inux.h:84,
from /tmp/selfgz1881/NVIDIA-Linux-x86_64-256.44/kernel/nv.c
:13:
/home/koskers/Desktop/linux-2.6.36-rc2/arch/x86/include/asm/uaccess_64.h: In
function ‘copy_from_user’:
/home/koskers/Desktop/linux-2.6.36-rc2/arch/x86/include/asm/uaccess_64.h:54:
warning: comparison between signed and unsigned integer expressions
/tmp/selfgz1881/NVIDIA-Linux-x86_64-256.44/kernel/nv.c: At top level:
/tmp/selfgz1881/NVIDIA-Linux-x86_64-256.44/kernel/nv.c:426: error: unknown f
ield ‘ioctl’ specified in initializer
/tmp/selfgz1881/NVIDIA-Linux-x86_64-256.44/kernel/nv.c:426: warning: initial
ization from incompatible pointer type
make[4]: *** [/tmp/selfgz1881/NVIDIA-Linux-x86_64-256.44/kernel/nv.o] Error
1
make[3]: *** [_module_/tmp/selfgz1881/NVIDIA-Linux-x86_64-256.44/kernel] Err
or 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 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 http://www.nvidia.com.
高手解答,因为36支持ideapad的额外驱动,所以我真的很想用36内核!!好心人帮帮忙!!
上次由 KOSKERS 在 2010-08-24 10:34,总共编辑 1 次。
有用Telegram的吗?
欢迎加入公共群组:
https://t.me/joinchat/AAAAAApBLdk7AGFEeQo0fQ
头像
KOSKERS
帖子: 1454
注册时间: 2008-11-01 13:38

Re: ubuntu 2.6.36rc2内核安装成功,但无法安装nvidia驱动~

#2

帖子 KOSKERS » 2010-08-24 10:32

kernel2.6.35.2正常~~
有用Telegram的吗?
欢迎加入公共群组:
https://t.me/joinchat/AAAAAApBLdk7AGFEeQo0fQ
头像
KOSKERS
帖子: 1454
注册时间: 2008-11-01 13:38

Re: ubuntu 2.6.36rc2内核安装成功,但无法安装nvidia驱动~

#3

帖子 KOSKERS » 2010-08-24 10:45

问题已解决~~~哈哈哈哈~哈哈哈哈~哈哈哈哈~哈哈哈哈~哈哈哈哈~哈哈哈哈~ :em11 :em11 :em11 :em11 :em11 :em11 :em11 :em11 :em11 :em11
附件
Screenshot.png
有用Telegram的吗?
欢迎加入公共群组:
https://t.me/joinchat/AAAAAApBLdk7AGFEeQo0fQ
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

Re: ubuntu 2.6.36rc2内核安装成功,但无法安装nvidia驱动~

#4

帖子 leeaman » 2010-08-24 10:47

晕,主题字体都伤眼的...n卡的驱动就是强大
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
KOSKERS
帖子: 1454
注册时间: 2008-11-01 13:38

Re: ubuntu 2.6.36rc2内核安装成功,但无法安装nvidia驱动~

#5

帖子 KOSKERS » 2010-08-24 10:51

字体不好吗?
我感觉听卡通的~~~~换换口味~~~ :em11
有用Telegram的吗?
欢迎加入公共群组:
https://t.me/joinchat/AAAAAApBLdk7AGFEeQo0fQ
回复