macarthor 发表于 2005-6-23 20:03:43

FC4安装NVIDIA驱动失败

是7667版本的

用了--add-this-kernel选项,安装了kernel-devel包

出错信息如下(/var/log/nvida-xxx文件),我觉得关键是后边30行左右吧,说找不到kernel源码,不能insmod驱动模块


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Jun 19 21:53:51 2005

option status:
license pre-accepted    : false
update                  : false
force update            : false
expert                  : false
uninstall               : false
driver info             : false
no precompiled interface: false
no ncurses color      : false
query latest driver ver : false
OpenGL header files   : true
no questions            : false
silent                  : 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
force tls               : (not specified)
force compat32 tls      : (not specified)
X install prefix      : /usr/X11R6
OpenGL install prefix   : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix: /usr
kernel name             : (not specified)
kernel include path   : (not specified)
kernel source path      : /usr/src/kernels
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.
-> A precompiled kernel interface for kernel 'Linux 2.6.11-1.1369_FC4 #1 Thu
   Jun 2 22:55:56 EDT 2005 i686' has been found here:
   ./usr/src/nv/precompiled/precompiled-nv-linux.o-1.0-7664.1119188878.
   executing: 'cd ./usr/src/nv; /usr/bin/ld -d -r -o nvidia.ko precompiled-nv-l
   inux.o nv-kernel.o'...
-> Kernel module linked successfully.
ERROR: Unable to load the kernel module 'nvidia.ko'.This is most likely
       because the kernel module was built using the wrong kernel source files.
       Please make sure you have installed the kernel source files for your
       kernel; on Red Hat Linux systems, for example, be sure you have the
       'kernel-source' rpm installed.If you know the correct kernel source
       files are installed, you may specify the kernel source path with the
       '--kernel-source-path' commandline option.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
   -1 Invalid module format
-> Kernel messages:
   Disabled Privacy Extensions on device c03e6820(lo)
   IPv6 over IPv4 tunneling driver
   parport: PnPBIOS parport detected.
   parport0: PC-style at 0x378, irq 7
   lp0: using parport0 (interrupt-driven).
   lp0: console ready
   eth0: no IPv6 routers present
   nvidia: no version for "struct_module" found: kernel tainted.
   nvidia: version magic '2.6.11-1.1369_FC4 preempt PENTIUMIII 4KSTACKS
   gcc-4.0' should be '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0'
   nvidia: version magic '2.6.11-1.1369_FC4 preempt PENTIUMIII 4KSTACKS
   gcc-4.0' should be '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0'
   nvidia: version magic '2.6.11-1.1369_FC4 preempt PENTIUMIII 4KSTACKS
   gcc-4.0' should be '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0'
   nvidia: version magic '2.6.11-1.1369_FC4 preempt PENTIUMIII 4KSTACKS
   gcc-4.0' should be '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0'
   nvidia: version magic '2.6.11-1.1369_FC4 preempt PENTIUMIII 4KSTACKS
   gcc-4.0' should be '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0'
   nvidia: version magic '2.6.11-1.1369_FC4 preempt PENTIUMIII 4KSTACKS
   gcc-4.0' should be '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0'
   nvidia: version magic '2.6.11-1.1369_FC4 preempt PENTIUMIII 4KSTACKS
   gcc-4.0' should be '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0'
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.

wxk 发表于 2005-6-23 20:53:59

You should make a link at least.

ln -sf /usr/src/kernels/linux-2.6.x.../ /usr/src/linux

Then install NVIDIA....pkg1.run.

It should be OK.

happywinter 发表于 2005-6-24 10:46:44

试试看,先关闭SELinux再装,我的就是这样装好的

macarthor 发表于 2005-6-24 19:03:46

已经关闭了selinux
页: [1]
查看完整版本: FC4安装NVIDIA驱动失败