В Слаке я новичок.
Хотел поставить дрова на видео, но выдает ошибку сборки и ссылку на /var/log/nvidia-installer.log
Код: Выделить всё
uname -a
Linux sfinx 2.6.22.1 #1 SMP PREEMPT Fri Jul 13 10:14:46 MSD 2007 i686 AMD Athlon(tm) XP 2000+ AuthenticAMD GNU/LinuxВот лог.
Код:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Dec 9 20:37:31 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
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="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.22.1/source'
-> Kernel output path: '/lib/modules/2.6.22.1/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.22.1/source
SYSOUT=/lib/modules/2.6.22.1/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.22.1/build KBUILD_VERBOSE=1 -C /li
b/modules/2.6.22.1/source SUBDIRS=/tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-
pkg1/usr/src/nv modules
make -C /lib/modules/2.6.22.1/build \
KBUILD_SRC=/usr/src/linux-2.6.22.1 \
KBUILD_EXTMOD="/tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv" -
f /usr/src/linux-2.6.22.1/Makefile 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/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_vers
ions
rm -f /tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_version
s/*
make -f /usr/src/linux-2.6.22.1/scripts/Makefile.build obj=/tmp/selfgz3076/N
VIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz3076/NVI
DIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.1.2/include -D__K
ERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.22.1/include -include incl
ude/linux/autoconf.h -I/tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/s
rc/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferr
ed-stack-boundary=2 -march=i686 -mtune=i686 -ffreestanding -maccumulate-outg
oing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-
2.6.22.1/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fomi
t-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-poin
ter-sign -I/tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv -Wall
-Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpare
ntheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-com
pare -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_PA
TCHLEVEL=8774 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPL
E_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUN
T_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_IN
SERT_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(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3076/NVIDIA
-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.o /tmp/selfgz3076/NVIDIA-Linux-x86-1.
0-8774-pkg1/usr/src/nv/nv.c
In file included from /tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-linux.h:17:26:
error: linux/config.h: Нет такого файла или каталог�
�
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:59,
from include/linux/utsname.h:35,
from /tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: В функции ‘prefetch_range’
include/linux/prefetch.h:62: предупреждение: в арифмет
ическом выражении использован указатель
‘VOID *’
/tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c: На вер�
�нем уровне:
/tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c:102: пред
упреждение: имя ‘kmem_cache_t’ будет исключен�
� в будущих версиях
/tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c: В функ�
�ии ‘nv_kern_open’
/tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c:1805: пре�
�упреждение: функция, переменная или тип �
��deprecated_irq_flag’ будет исключен(а) в будущих �
�ерсиях (декларация в include/linux/interrupt.h:66)
/tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c:1805: пре�
�упреждение: функция, переменная или тип �
��deprecated_irq_flag’ будет исключен(а) в будущих �
�ерсиях (декларация в include/linux/interrupt.h:66)
/tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c:1806: пре�
�упреждение: passing argument 2 of ‘request_irq’ from incompat
ible pointer type
make[4]: *** [/tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.o
] Ошибка 1
make[3]: *** [_module_/tmp/selfgz3076/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv] Ошибка 2
make[2]: *** [modules] Ошибка 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] Ошибка 1
make: *** [module] Ошибка 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 www.nvidia.com.Очевидно, что проблема здесь
Код: Выделить всё
error: linux/config.h: Нет такого файла или каталогно сырцы ядра установлены.
Что еще нужно? Куда копать?
Пытался собрать ядро без фрейм буфера как здесь http://www.linux.org.ru/books/lor-faq/lorFAQ-14.html. Но сборка не прошла.