
linux安装显卡问题(NVIDIA GeForce 8400M)
我的笔记本装了linux系统,显卡是NVIDIA8400MGS的,我在官网上下了一个驱动,然后安装,它的提示是:error:unabletofindthekernelso...
我的笔记本装了linux系统,显卡是NVIDIA 8400M GS的,我在官网上下了一个驱动,然后安装,它的提示是:
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 htey are properly configured; on red hat linux system, 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.
我用命令 rpm -qa |grep kernel 后,显示出了
kernel-2.6.18-164.el5
kernel-headers-2.6.18-164.e15
使用uname -r显示
2.6.18-164.el5
这样看来我的kernel应该是正确的安装好了,但是不知道它为什么还提示我那个错误。请高手指点,越详细越好,我是刚刚接触linux,想把它学好,所以在自己的笔记本上装了这个,可是现在用起来确实很困难啊,请高手帮帮忙吧,越详细越好! 我的linux是RedHat 5.4 展开
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 htey are properly configured; on red hat linux system, 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.
我用命令 rpm -qa |grep kernel 后,显示出了
kernel-2.6.18-164.el5
kernel-headers-2.6.18-164.e15
使用uname -r显示
2.6.18-164.el5
这样看来我的kernel应该是正确的安装好了,但是不知道它为什么还提示我那个错误。请高手指点,越详细越好,我是刚刚接触linux,想把它学好,所以在自己的笔记本上装了这个,可是现在用起来确实很困难啊,请高手帮帮忙吧,越详细越好! 我的linux是RedHat 5.4 展开
3个回答
展开全部
安装kernel-devel这个包
然后安装显卡驱动时加参数
./Nvidia*.sh --kernel-source-path=/usr/src/kernels/你的内核版本,可输入2 按TAB补全
然后安装显卡驱动时加参数
./Nvidia*.sh --kernel-source-path=/usr/src/kernels/你的内核版本,可输入2 按TAB补全
展开全部
'kernel-devel' RPM installed
先判断下上面的那个kernel-devel是否被安装上了
先判断下上面的那个kernel-devel是否被安装上了
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
缺少kernel-devel包
还需要安装kernel-devel-2.6.18-164.el5.i686.rpm这个包
还需要安装kernel-devel-2.6.18-164.el5.i686.rpm这个包
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询