内核升级后不能怎样编译显卡驱动

声卡/显卡/打印机/USB设备等硬件问题(网卡问题请发上面的网卡板块)
回复
tranquil
帖子: 16
注册时间: 2007-01-27 1:06
送出感谢: 0
接收感谢: 0
联系:

内核升级后不能怎样编译显卡驱动

#1

帖子 tranquil » 2007-02-10 23:54

我升级内核后无法编译显卡驱动了,原来编译都成功了,这次不行了,那位大哥帮帮忙阿,我原来的内核进入后没有声音了,两个都不能用了。

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Feb 10 23:14:36 2007

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
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.
-> There appears to already be a driver installed on your system (version: 1.0-
9631). As part of installing this driver (version: 1.0-9631), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> 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".
ERROR: Unable to find the kernel source tree for the currently running kernel.
Please make sure you have installed the kernel source files for your
kernel and that they are properly configured; on Red Hat Linux systems,
for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
installed. If you know the correct kernel source files are installed,
you may specify the kernel source path with the '--kernel-source-path'
command line option.
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.
Ronnier
帖子: 7
注册时间: 2007-02-05 0:47
送出感谢: 0
接收感谢: 0

#2

帖子 Ronnier » 2007-02-11 15:59

你把 kernel-image 升级成什么版本了?uname -an 看看
比如看到的是 2.6.17-11-generic
那你就要 apt-get install 和这个版本相对应的这两个
linux-headers-2.6.17-11-generic
linux-restricted-modules-2.6.17-11-generic
完了再来搞 nv 的驱动……
tranquil
帖子: 16
注册时间: 2007-01-27 1:06
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 tranquil » 2007-02-11 19:33

已经解决了,不过还是很感谢
tranquil
帖子: 16
注册时间: 2007-01-27 1:06
送出感谢: 0
接收感谢: 0
联系:

#4

帖子 tranquil » 2007-02-11 19:33

已经解决了,不过还是很感谢
回复

回到 “常用硬件支持”