ÎÒµÄÏÔ¿¨µ¼ÖµÄһϵÁÐÎÊÌâ
ÎÒµÄÏÔ¿¨ÊÇ Nvidia 8600gt°²×°Fedora6 linux text
probe ÏÔ¿¨µÄʱºòÊÇunkown Nvidia Corperation Device
Íê³É°²×°ºóÈç¹ûÖ±½Ó startXºÚÆÁ¡£µ«ÊÇ»úÆ÷²»ËÀ
µ½[url]www.nvidia.cn[/url] ÏÂÔØÇý¶¯³ÌÐòNVIDIA-Linux-x86_64-100.14.11-pkg1.run
°²×°Ê±ºòÌáʾҪ±àÒëÄں˽ӿÚ
ÓÚÊÇ yum kernel£devel ²¢ÇÒ°²×°
²¢ÇÒÔÚsh NVIDIA-Linux-x86_64-100.14.11-pkg1.run --kernel-source-path /usr/src/kernels/2.6.22.9-61.fc6-i686
µ«ÊÇÏÔʾ°²×°½á¹ûUnable to build the NVIDIA kernel module.
ÒÔÏÂÊǰ²×°ÈÕÖ¾Îļþ
ÇëÎÊÎÒÏÖÔÚµ½µ×¸ÃÔõô°ì°¡
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Oct 24 22:12:13 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)
force compat32 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)
compat32 install chroot : (not specified)
compat32 install prefix : (not specified)
compat32 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 : /usr/src/kernels/2.6.22.9-61.fc6-i686
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : [url]ftp://download.nvidia.com[/url]
RPM file list : (not specified)
Using: nvidia-installer ncurses user interface
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> 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 ([url]ftp://download.nvidia.com[/url])? (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".
-> Using the kernel source path '/usr/src/kernels/2.6.22.9-61.fc6-i686' as
specified by the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/kernels/2.6.22.9-61.fc6-i686'
-> Kernel output path: '/usr/src/kernels/2.6.22.9-61.fc6-i686'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen 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 nvacpi.
o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvacpi.o nvidi
a.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 Modules.symvers
rm -f -rf .tmp_versions
rm -f Makefile
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/kernels/2.6.22.9-61
.fc6-i686 SYSOUT=/usr/src/kernels/2.6.22.9-61.fc6-i686'...
sh ./conftest.sh "cc" "cc" /usr/src/kernels/2.6.22.9-61.fc6-i686 /usr/src/ke
rnels/2.6.22.9-61.fc6-i686 cc_sanity_check full_output
sh ./conftest.sh "cc" "cc" /usr/src/kernels/2.6.22.9-61.fc6-i686 /usr/src/ke
rnels/2.6.22.9-61.fc6-i686 select_makefile full_output
make --no-print-directory -f Makefile module
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/kernels/2.6.22.9-61.fc6-i686 SUBDIR
S=/tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr/src/nv modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are mis
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr/src/nv/.tmp_
versions
rm -f /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr/src/nv/.tmp_ver
sions/*
make -f scripts/Makefile.build obj=/tmp/selfgz3610/NVIDIA-Linux-x86_64-100.1
4.11-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz3610/NVI
DIA-Linux-x86_64-100.14.11-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr/src/nv/.
nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.1/include -D
__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstri
ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -m64 -mno
-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-t
ables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-o
utgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fomit-frame-p
ointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-s
ign -I/tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr/src/nv -Wall -W
implicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wp
ointer-arith -Wno-multichar -Werror -O -fno-common -msoft-float
-mcmodel=kernel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wn
o-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STR
ING=\"100.14.11\" -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MUL
TIPLE_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_V
M_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RAN
GE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -D
NV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_S
TR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3610/NVIDIA-
Linux-x86_64-100.14.11-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz3610/NVIDIA-Linu
x-x86_64-100.14.11-pkg1/usr/src/nv/nv.c
In file included from include/asm/system.h:4,
from include/asm/processor.h:18,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from include/linux/capability.h:47,
from include/linux/sched.h:53,
from include/linux/utsname.h:35,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv-linux.h:19,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv.c:14: include/linux/kernel.h:126: warning: conflicting types for built-in function
‘snprintf� include/linux/kernel.h:128: warning: conflicting types for built-in function
‘vsnprintf� In file included from include/linux/string.h:21,
from include/linux/bitmap.h:8,
from include/linux/cpumask.h:86,
from include/asm/processor.h:22,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from include/linux/capability.h:47,
from include/linux/sched.h:53,
from include/linux/utsname.h:35,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv-linux.h:19,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv.c:14:
include/asm/string.h:44: warning: conflicting types for built-in function â€
˜strncpyâ€? include/asm/string.h:80: warning: conflicting types for built-in function â€
˜strncatâ€? include/asm/string.h:125: warning: conflicting types for built-in function ? ?˜strncmpâ€? include/asm/string.h:189: warning: conflicting types for built-in function ? ?˜strlenâ€? include/asm/string.h:326: warning: conflicting types for built-in function ? ?˜memmoveâ€? In file included from include/linux/bitmap.h:8,
from include/linux/cpumask.h:86,
from include/asm/processor.h:22,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from include/linux/capability.h:47,
from include/linux/sched.h:53,
from include/linux/utsname.h:35,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv-linux.h:19,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv.c:14:
include/linux/string.h:54: warning: conflicting types for built-in function
‘strncasecmp� include/linux/string.h:82: warning: conflicting types for built-in function
‘strspn� include/linux/string.h:85: warning: conflicting types for built-in function
‘strcspn� include/linux/string.h:101: warning: conflicting types for built-in function
‘__builtin_memcmp� In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:66,
from include/linux/utsname.h:35,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv-linux.h:19,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-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 a
rithmetic
In file included from include/asm/smp.h:15,
from include/linux/smp.h:20,
from include/linux/sched.h:72,
from include/linux/utsname.h:35,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv-linux.h:19,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv.c:14:
include/asm/mpspec.h:6:25: error: mach_mpspec.h: No such file or directory
In file included from include/asm/smp.h:15,
from include/linux/smp.h:20,
from include/linux/sched.h:72,
from include/linux/utsname.h:35,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv-linux.h:19,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv.c:14:
include/asm/mpspec.h: At top level:
include/asm/mpspec.h:8: error: ‘MAX_MP_BUSSES�undeclared here (not in a
function)
include/asm/mpspec.h:22: error: ‘MAX_IRQ_SOURCES�undeclared here (not i
n a function)
In file included from include/linux/smp.h:20,
from include/linux/sched.h:72,
from include/linux/utsname.h:35,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv-linux.h:19,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv.c:14:
include/asm/smp.h:150:26: error: mach_apicdef.h: No such file or directory
In file included from include/linux/smp.h:20,
from include/linux/sched.h:72,
from include/linux/utsname.h:35,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv-linux.h:19,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv.c:14:
include/asm/smp.h: In function ‘hard_smp_processor_id�
include/asm/smp.h:154: warning: implicit declaration of function ‘GET_APIC
_ID� In file included from include/linux/irq.h:23,
from include/asm/hardirq.h:5,
from include/linux/hardirq.h:7,
from include/linux/interrupt.h:11,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv-linux.h:79,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv.c:14:
include/asm/irq.h:15:25: error: irq_vectors.h: No such file or directory
In file included from include/asm/hardirq.h:5,
from include/linux/hardirq.h:7,
from include/linux/interrupt.h:11,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv-linux.h:79,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv.c:14:
include/linux/irq.h: At top level:
include/linux/irq.h:178: error: ‘NR_IRQS�undeclared here (not in a func
tion)
In file included from include/linux/interrupt.h:11,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv-linux.h:79,
from /tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv/nv.c:14:
include/linux/hardirq.h:40:27: warning: "NR_IRQS" is not defined
make[3]: *** [/tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr/src/nv/
nv.o] Error 1
make[2]: *** [_module_/tmp/selfgz3610/NVIDIA-Linux-x86_64-100.14.11-pkg1/usr
/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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 [url]www.nvidia.com.[/url] ËÆºõÄ㻹ÐèÒª°²×°kernel-headersµÄrpm°ü£¬»¹ÓУ¬ÄãÈ·¶¨ÄãµÄ»úÆ÷ÊÇx86_64µÄÂ𣿲»ÒªÓôíÁËÇý¶¯¡£
[[i] ±¾Ìû×îºóÓÉ zltjiangshi ÓÚ 2007-10-26 22:29 ±à¼ [/i]]
»Ø¸´ #3 zltjiangshi µÄÌû×Ó
²»»á°É.ÎÒÊÇamdx2 3600+¡£¡£¡£¡£ ºó°ë¾äÖ»ÊÇÌáÐÑÄãһϣ¬Ç°°ë¾äÄǸörpmÊÇÒ»¶¨Òª°²×°µÄ¡£[[i] ±¾Ìû×îºóÓÉ zltjiangshi ÓÚ 2007-10-26 22:30 ±à¼ [/i]] »ØÂ¥Éϵġ£ÎÒyum install kernel-headers.x86_64ÒÔºó¡£°²×°»¹ÊÇʧ°Ü¡£ÀÏÑù×Ó¡£Ôõô¿´Í·Îļþ°²×°ÔÚÄÄÀïÄØ¡£ÎÒ¿´ÏÔ¿¨°²×°ºóÃæ¿ÉÒÔ´øÍ·Îļþ·¾¶¡£ÄܸæËßÎÒ°²×°µÄ kernel-headers RPM°ü°Ñinclude ·Åµ½ÄÄÀïÁËÂð
Í·Îļþ
Äã¿´¿´/usr/includeĿ¼ÏµÄÎļþ¡£ ½ñÌìÎÒÊÔÁËÒ»ÏÂ:sh NVIDIA-Linux-x86_64-100.14.19-pkg2.run --kernel-source-patch /usr/src/kernels/2.6.22.9-61.fc6-i686/ --kernel-include-path /usr/include/Ôõô»¹ÊDz»Ðа¡¡£
include/asm/irq.h:15:25: error: irq_vectors.h: No such file or directory
In file included from include/asm/hardirq.h:5,
from include/linux/hardirq.h:7,
from include/linux/interrupt.h:11,
from /tmp/selfgz2963/NVIDIA-Linux-x86_64-100.14.19-pkg2/usr
/src/nv/nv-linux.h:79,
from /tmp/selfgz2963/NVIDIA-Linux-x86_64-100.14.19-pkg2/usr
/src/nv/nv.c:14:
include/linux/irq.h: At top level:
include/linux/irq.h:178: error: ‘NR_IRQS�undeclared here (not in a func
tion)
In file included from include/linux/interrupt.h:11,
from /tmp/selfgz2963/NVIDIA-Linux-x86_64-100.14.19-pkg2/usr
/src/nv/nv-linux.h:79,
from /tmp/selfgz2963/NVIDIA-Linux-x86_64-100.14.19-pkg2/usr
/src/nv/nv.c:14:
include/linux/hardirq.h:40:27: warning: "NR_IRQS" is not defined
make[3]: *** [/tmp/selfgz2963/NVIDIA-Linux-x86_64-100.14.19-pkg2/usr/src/nv/
nv.o] Error 1
make[2]: *** [_module_/tmp/selfgz2963/NVIDIA-Linux-x86_64-100.14.19-pkg2/usr
/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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 [url]www.nvidia.com.[/url] ÊÔÒ»ÏÂÕâ¸öÃüÁî
./NVIDIA-Linux-x86_64-100.14.19-pkg2.run --kernel-source-path=/usr/src/kernels/2.6.22.9-61.fc6-i686/ --kernel-include-path=/usr/src/kernels/2/6/22/9-61.fc6-i686/include/
Ò³:
[1]