|
按照下面的步骤安装nvidia显卡驱动:
1. sh ./ NVIDIA-Linux-x86-1.0-8774-pkg1.run --extract only
2. export IGNORE_CC_MISMATCH=yes
3. cd NVIDIA-Linux-x86-1.0-8774-pkg1
4. ./nvidia-installer
出现错误!
然后我执行
1. export CC=gcc32
2. ./nvidia-installer
还是出错,log文件如下:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Oct 30 18:56:39 2006
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
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.
-> 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="gcc32".
-> Performing CC version check with CC="gcc32".
-> Kernel source path: '/lib/modules/2.6.15-1.2054_FC5/source'
-> Kernel output path: '/lib/modules/2.6.15-1.2054_FC5/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nv.o nv
-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -f stprof stprof.o symtab.h
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.15-1.2054_F
C5/source SYSOUT=/lib/modules/2.6.15-1.2054_FC5/build'...
NVIDIA: calling KBUILD...
make CC=gcc32 KBUILD_OUTPUT=/lib/modules/2.6.15-1.2054_FC5/build KBUILD_VERB
OSE=1 -C /lib/modules/2.6.15-1.2054_FC5/source SUBDIRS=/home/pgd/NVIDIA-Linu
x-x86-1.0-8774-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.15-1.2054_FC5/build \
KBUILD_SRC=/usr/src/kernels/2.6.15-1.2054_FC5-i686 \
KBUILD_EXTMOD="/home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv" -f /usr/
src/kernels/2.6.15-1.2054_FC5-i686/Makefile modules
mkdir -p /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_versions
make -f /usr/src/kernels/2.6.15-1.2054_FC5-i686/scripts/Makefile.build obj=/
home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`gcc32 -v 2>&1 | tail -n 1`\" > /home/pgd/NVIDIA
-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv_compiler.h
gcc32 -Wp,-MD,/home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.nv.o.d
-nostdinc -isystem /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include -D__KERN
EL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.15-1.2054_FC5-i686/include
-include include/linux/autoconf.h -I/home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg
1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-al
iasing -fno-common -ffreestanding -Os -fomit-frame-pointer -g -pipe -msoft-f
loat -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-st
ack-boundary=2 -march=i686 -mcpu=pentium4 -mregparm=3 -I/usr/src/kernels/2.6
.15-1.2054_FC5-i686/include/asm-i386/mach-default -Iinclude/asm-i386/mach-de
fault -Wdeclaration-after-statement -I/home/pgd/NVIDIA-Linux-x86-1.0-8774-p
kg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subsc
ripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -M
D -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL_
_ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSI
ON=0 -DNV_PATCHLEVEL=8774 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM
-DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_
MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI
_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESE
NT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(
s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvid
ia)" -c -o /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_nv.o /ho
me/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-linux.h:51,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-linux.h:76,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:258: warning: 该类型的实参不能自增
gcc32 -Wp,-MD,/home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.nv-vm.o
.d -nostdinc -isystem /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include -D__
KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.15-1.2054_FC5-i686/incl
ude -include include/linux/autoconf.h -I/home/pgd/NVIDIA-Linux-x86-1.0-8774
-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stric
t-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -g -pipe -mso
ft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferre
d-stack-boundary=2 -march=i686 -mcpu=pentium4 -mregparm=3 -I/usr/src/kernels
/2.6.15-1.2054_FC5-i686/include/asm-i386/mach-default -Iinclude/asm-i386/mac
h-default -Wdeclaration-after-statement -I/home/pgd/NVIDIA-Linux-x86-1.0-87
74-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-s
ubscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-commo
n -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KER
NEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_V
ERSION=0 -DNV_PATCHLEVEL=8774 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_R
LIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYS
CTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PR
ESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_P
AGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD
_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /h
ome/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_nv-vm.o /home/pgd/NVI
DIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-vm.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-linux.h:51,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-vm.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-linux.h:76,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-vm.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:258: warning: 该类型的实参不能自增
gcc32 -Wp,-MD,/home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.os-agp.
o.d -nostdinc -isystem /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include -D_
_KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.15-1.2054_FC5-i686/inc
lude -include include/linux/autoconf.h -I/home/pgd/NVIDIA-Linux-x86-1.0-877
4-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stri
ct-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -g -pipe -ms
oft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferr
ed-stack-boundary=2 -march=i686 -mcpu=pentium4 -mregparm=3 -I/usr/src/kernel
s/2.6.15-1.2054_FC5-i686/include/asm-i386/mach-default -Iinclude/asm-i386/ma
ch-default -Wdeclaration-after-statement -I/home/pgd/NVIDIA-Linux-x86-1.0-8
774-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-
subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-comm
on -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KE
RNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_
VERSION=0 -DNV_PATCHLEVEL=8774 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_
RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SY
SCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_ME
SSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -D
NV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT
-DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBU
ILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/pgd/NVIDIA-Linux-x86-1.0-8774-pk
g1/usr/src/nv/.tmp_os-agp.o /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/os-agp.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-linux.h:51,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/os
-agp.c:24:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-linux.h:76,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/os
-agp.c:24:
include/asm/io.h: In function `check_signature':
include/asm/io.h:258: warning: 该类型的实参不能自增
gcc32 -Wp,-MD,/home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.os-inte
rface.o.d -nostdinc -isystem /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/inclu
de -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.15-1.2054_FC5-i6
86/include -include include/linux/autoconf.h -I/home/pgd/NVIDIA-Linux-x86-1
.0-8774-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fn
o-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -g -pi
pe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mp
referred-stack-boundary=2 -march=i686 -mcpu=pentium4 -mregparm=3 -I/usr/src/
kernels/2.6.15-1.2054_FC5-i686/include/asm-i386/mach-default -Iinclude/asm-i
386/mach-default -Wdeclaration-a
fter-statement -I/home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv -Wall
-Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -
Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno
-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DN
VRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=
8774 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_
AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT
-DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_
PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP
_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_in
terface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/pgd/NVIDIA-Linu
x-x86-1.0-8774-pkg1/usr/src/nv/.tmp_os-interface.o /home/pgd/NVIDIA-Linux-x8
6-1.0-8774-pkg1/usr/src/nv/os-interface.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-linux.h:51,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/os
-interface.c:26:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-linux.h:76,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/os
-interface.c:26:
include/asm/io.h: In function `check_signature':
include/asm/io.h:258: warning: 该类型的实参不能自增
gcc32 -Wp,-MD,/home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.os-regi
stry.o.d -nostdinc -isystem /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/includ
e -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.15-1.2054_FC5-i68
6/include -include include/linux/autoconf.h -I/home/pgd/NVIDIA-Linux-x86-1.
0-8774-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno
-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -g -pip
e -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpr
eferred-stack-boundary=2 -march=i686 -mcpu=pentium4 -mregparm=3 -I/usr/src/k
ernels/2.6.15-1.2054_FC5-i686/include/asm-i386/mach-default -Iinclude/asm-i3
86/mach-default -Wdeclaration-after-statement -I/home/pgd/NVIDIA-Linux-x86-
1.0-8774-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -W
char-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno
-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -
D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_M
INOR_VERSION=0 -DNV_PATCHLEVEL=8774 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_ST
RUCT_RLIM -DNV_MULTIPLE_BRI
DGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRE
SENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_
PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV
_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(
os_registry)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/pgd/NVIDIA-
Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_os-registry.o /home/pgd/NVIDIA-Linux
-x86-1.0-8774-pkg1/usr/src/nv/os-registry.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-linux.h:51,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/os
-registry.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-linux.h:76,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/os
-registry.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:258: warning: 该类型的实参不能自增
gcc32 -Wp,-MD,/home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.nv-i2c.
o.d -nostdinc -isystem /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include -D_
_KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.15-1.2054_FC5-i686/inc
lude -include include/linux/autoconf.h -I/home/pgd/NVIDIA-Linux-x86-1.0-877
4-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stri
ct-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -g -pipe -ms
oft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferr
ed-stack-boundary=2 -march=i686 -mcpu=pentium4 -mregparm=3 -I/usr/sr
c/kernels/2.6.15-1.2054_FC5-i686/include/asm-i386/mach-default -Iinclude/asm
-i386/mach-default -Wdeclaration-after-statement -I/home/pgd/NVIDIA-Linux-x
86-1.0-8774-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
-Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -f
no-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES
-D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_
MINOR_VERSION=0 -DNV_PATCHLEVEL=8774 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_S
TRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -
DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_S
TATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_C
HANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D
"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"
-c -o /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_nv-i2c.o /hom
e/pgd/NVIDIA-Linux-x86-1.0-8774-pk
g1/usr/src/nv/nv-i2c.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-linux.h:51,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-i2c.c:8:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-linux.h:76,
from /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv
-i2c.c:8:
include/asm/io.h: In function `check_signature':
include/asm/io.h:258: warning: 该类型的实参不能自增
ld -m elf_i386 -m elf_i386 -r -o /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1
/usr/src/nv/nvidia.o /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-
kernel.o /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.o /home/pgd/
NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-vm.o /home/pgd/NVIDIA-Linux-x86
-1.0-8774-pkg1/usr/src/nv/os-agp.o /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/
usr/src/nv/os-interface.o /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/n
v/os-registry.o /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-i2c.o
Building modules, stage 2.
make -rR -f /usr/src/kernels/2.6.15-1.2054_FC5-i686/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/kernels/2.6.15-1.2054_FC5-i686/Modul
e.symvers /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nvidia.o
Warning: could not find /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/
.nv-kernel.o.cmd for /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-
kernel.o
gcc32 -Wp,-MD,/home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.nvidia.
mod.o.d -nostdinc -isystem /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include
-D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.15-1.2054_FC5-i686/
include -include include/linux/autoconf.h -I/usr/src/kernels/2.6.15-1.2054_F
C5-i686/ -I -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-ali
asing -fno-common -ffreestanding -Os -fomit-frame-pointer -g -pipe -msoft-fl
oat -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-sta
ck-boundary=2 -march=i686 -mcpu=pentium4 -mregparm=3 -I/usr/src/kernels/2.6.
15-1.2054_FC5-i686/include/asm-i386/mach-default -Iinclude/asm-i386/mach-def
ault -Wdeclaration-after-statement -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=
KBUILD_STR(nvidia)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -DMODULE -c -o /h
ome/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nvidia.mod.o /home/pgd/NVI
DIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nvidia.mod.c
ld -m elf_i386 -m elf_i386 -r -o /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/
usr/src/nv/nvidia.ko /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nvi
dia.o /home/pgd/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nvidia.mod.o
NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).
Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 Invalid module format
-> Kernel messages:
audit(1162204432.754:166): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda9 ino=290783
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=user_ubject_r:lib_t:s0 tclass=file
audit(1162204432.786:167): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda9 ino=290783
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=user_ubject_r:lib_t:s0 tclass=file
audit(1162204494.825:16: avc: granted { execmem } for pid=6324
comm="nautilus" scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=process
audit(1162204588.347:169): avc: granted { execmem } for pid=6425
comm="firefox-bin" scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=process
audit(1162205046.980:170): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda9 ino=224577
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=rootbject_r:lib_t:s0 tclass=file
audit(1162205047.012:171): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda9 ino=224577
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=rootbject_r:lib_t:s0 tclass=file
audit(1162205047.048:172): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda9 ino=290783
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=user_ubject_r:lib_t:s0 tclass=file
audit(1162205047.080:173): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda9 ino=290783
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=user_ubject_r:lib_t:s0 tclass=file
audit(1162205047.116:174): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda12 ino=158258
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=rootbject_r:user_home_t:s0 tclass=file
audit(1162205047.148:175): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda12 ino=158258
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=rootbject_r:user_home_t:s0 tclass=file
audit(1162205047.184:176): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda9 ino=290783
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=user_ubject_r:lib_t:s0 tclass=file
audit(1162205047.216:177): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda9 ino=290783
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=user_ubject_r:lib_t:s0 tclass=file
audit(1162205056.917:17: avc: granted { execmem } for pid=6425
comm="firefox-bin" scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=process
audit(1162205056.925:179): avc: granted { execmem } for pid=6425
comm="firefox-bin" scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=process
audit(1162205064.461:180): avc: granted { execmem } for pid=6424
comm="firefox-bin" scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=process
audit(1162205092.563:181): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda9 ino=224577
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=root:object_r:lib_t:s0 tclass=file
audit(1162205092.627:182): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda9 ino=224577
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=root:object_r:lib_t:s0 tclass=file
audit(1162205092.695:183): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda9 ino=290783
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=user_u:object_r:lib_t:s0 tclass=file
audit(1162205092.763:184): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda9 ino=290783
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=user_u:object_r:lib_t:s0 tclass=file
audit(1162205092.827:185): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda12 ino=158258
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=root:object_r:user_home_t:s0 tclass=file
audit(1162205092.891:186): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda12 ino=158258
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=root:object_r:user_home_t:s0 tclass=file
audit(1162205092.959:187): avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda9 ino=290783
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=user_u:object_r:lib_t:s0 tclass=file
audit(1162205093.027:18: avc: denied { execmod } for pid=6424
comm="firefox-bin" name="libflashplayer.so" dev=hda9 ino=290783
scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=user_u:object_r:lib_t:s0 tclass=file
audit(1162205420.855:189): avc: granted { execmem } for pid=6425
comm="firefox-bin" scontext=root:system_r:unconfined_t:s0-s0:c0.c255
tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=process
nvidia: version magic '2.6.15-1.2054_FC5 686 REGPARM 4KSTACKS gcc-3.2'
should be '2.6.15-1.2054_FC5 686 REGPARM 4KSTACKS gcc-4.1'
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.
请问各位大虾,这是怎么回事啊???????? |
|