2.6-test2内核安装nvidia 4363驱动方法
1.下载官方4363驱动:http://download.nvidia.com/XFree86/Linux-x86/1.0-4363/NVIDIA-Linux-x86-1.0-4363.run
到~/
2. 执行~/NVIDIA-Linux-x86-1.0-4363.run --extract-only
3. 下载补丁:
http://www.linuxfire.com/home/x11/NVIDIA_kernel-1.0-4363-2.5.diff
到~/NVIDIA-Linux-x86-1.0-4363/usr/src
4. cd ~/NVIDIA-Linux-x86-1.0-4363/usr/src
5. mv nv NVIDIA_kernel-1.0-4363
6. cat NVIDIA_kernel-1.0-4363-2.5.diff | patch -p0 ,对提示回答y
7. mv NVIDIA_kernel-1.0-4363 nv
8. cd nv && vi nv-linux.h,修改:删除27-40行只保留#define KERNEL_2_5
9. ln -s Makefile.kbuild Makefile
10. cd ~/NVIDIA-Linux-x86-1.0-4363
11. make install
大功告成:)
且慢,还要把/etc/X11/XF86Config-4里的"nv"改为"nvidia",同时把nvidia加入/etc/modules以便开机起动载入 我照这个做时候,用make install安装时提示如下错误:
# make install
cd usr/src/nv; make install
make: Entering directory `/usr/local/src/temp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv'
make: Entering directory `/usr/src/linux-2.6.0-test2'
make: `arch/i386/kernel/asm-offsets.s' is up to date.
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
CC /usr/local/src/temp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv/nv.o
CC /usr/local/src/temp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv/os-agp.o
CC /usr/local/src/temp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv/os-interface.o
CC /usr/local/src/temp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv/os-registry.o
LD /usr/local/src/temp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv/nvidia.o
Building modules, stage 2.
MODPOST
LD /usr/local/src/temp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv/nvidia.ko
make: Leaving directory `/usr/src/linux-2.6.0-test2'
depmod: QM_MODULES: Function not implemented
make: *** Error 1
make: Leaving directory `/usr/local/src/temp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv'
make: *** Error 2
请问QM_MODULES这个函数是不是在内核编译的时候有问题呀? 我也曾经在这个问题上碰壁。
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=43756&highlight=QM_MODULES
页:
[1]