Instalacja driverów nVidii (97.55) na kernelu 2.6.21-4

Zagadnienia dotyczące menadżerów okien, środowisk graficznych - X, KDE, GNOME, Fluxbox, XFCE., Compiz itp.
razgoth
Posty: 4
Rejestracja: 21 maja 2007, 10:13

Instalacja driverów nVidii (97.55) na kernelu 2.6.21-4

Post autor: razgoth »

Instalacja sterowniĸów jest kończona niepomyślnie przez komunikat "unable to build kernel module". Kernel jest w wersji 2.6.21-4. Wszelkie pakiety dodatkowe do kernela są zainstalowane (przez synaptic). Czy można coś na to poradzić? Obecnie jestem na kernelu 2.6.18, ale chciałbym się przesiaść, co uniemożliwia jednak brak interfejsu graficznego.
el_carles
Junior Member
Posty: 560
Rejestracja: 02 lutego 2007, 17:32

Post autor: el_carles »

Domyślam się że kernel jest kompilowany przez Ciebie (bo w repo najnowsze jajo to 2.6.21-1)

Nie pokazałeś loga instalatora nvidii więc kolejna rzecz którą trzeba się domyślić... co to za błąd?
bo:
razgoth pisze:unable to build kernel module
nic nikomu nie mówi ]FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol
‘paravirt_ops’[/quote]

przekompiluj kernel z wyłączoną parawirtualizacją:

paravirt_ops=0 w konfigu (ale sprawdź jeszcze w necie czy na pewno tak ten parametr ma wyglądać)

Ewentualnie możesz spróbować TEGO; pewnie też będzie działać...

Tyle że kompilacja to pewnie lepsze rozwiązanie niż takie triki...
razgoth
Posty: 4
Rejestracja: 21 maja 2007, 10:13

Post autor: razgoth »

Przepraszam za brak pewnych wujaśnień. Kernel [linux-image-2.6.21-1-686] pochodzi z repo sid (tzn. jest to kernel 2.6.21-1, ale z tego co podaje synaptic, jest zainstalowany w wersji 2.6.21-4, tak samo jest z pozostałymi pakietami związanymi z tym kernelem, czyli z: linux-headers-2.6.21-1, linux-headers-2.6.21-1-686, linux-source-2.6.21, linux-support-2.6.21-1, linux-tree-2.6.21) i jest zainstalowany jakby obok podstawowego jądra 2.6.18, które pochodzi z etch'a instalowanego przeze mnie pierwotnie. Wszystko jest ok na starym jądrze, ale zależy mi na przejściu na nowe, czyli na tym aby było w pełni funkcjonalne, a bez interfejsu graficznego trudno byłoby je za takie uznać. Jeśli ma to jakieś znaczenie na pulpicie mam obecnie Gnome 2.18 (również z wyżej wspomnianego repo). Zauważyłem, że pakiet linux-kbuild-2.6.21 jest zainstalowany w wersji 2.6.21-1, a nie 2.6.21-4. Czy to może powodować problem, mimo, ze przy przy jego instalacji nie było żadnych kłopotów z zależnościami? Gdzie mógłbym znależć odpowiednią wersję (w repo jest tylko ta), jeśli byłoby to konieczne? W tym natłoku informacji przypomnę, że wciąż chodzi mi o instalację sterowników nVidii 97.55 na jądrze 2.6.21-1 w wersji 2.6.21-4. Proszę o pomoc.


Oto mój nvidia-installer.log
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Jun 11 09:38:45 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)
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.
-> There appears to already be a driver installed on your system (version: 1.0-
9755). As part of installing this driver (version: 1.0-9755), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> 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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.21-1-686/build'
-> Kernel output path: '/lib/modules/2.6.21-1-686/build'
-> 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 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 Modules.symvers
rm -f -rf .tmp_versions
rm -f Makefile
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.21-1-686/bu
ild SYSOUT=/lib/modules/2.6.21-1-686/build'...
sh ./conftest.sh "cc" "cc" /lib/modules/2.6.21-1-686/build /lib/modules/2.6.
21-1-686/build cc_sanity_check full_output
sh ./conftest.sh "cc" "cc" /lib/modules/2.6.21-1-686/build /lib/modules/2.6.
21-1-686/build select_makefile full_output
make --no-print-directory -f Makefile module

NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.21-1-686/build SUBDIRS=/tmp
/selfgz4037/NVIDIA-Linux-x86-1.0-9755-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/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_vers
ions
rm -f /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_version
s/*
make -f scripts/Makefile.build obj=/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755
-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz4037/NVI
DIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL_
_ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-protot
ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float
-mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -f
freestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SI
GNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stac
k-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz403
7/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -
Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multi
char -Werror -O -fno-common -msoft-float -MD -Wsign-compare -Wno-c
ast-qual -Wno-error -D_LOOSE_KERNEL_NAME
S -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -D
NV_PATCHLEVEL=9755 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_M
ULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MA
P_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV
_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_R
ANGE_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=KBUI
LD_STR(nvidia)" -c -o /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
/nv/.tmp_nv.o /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c
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/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-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
/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:110: warning:
‘kmem_cache_t’ is deprecated
/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function
‘__nv_setup_pat_entries’:
/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:955: warning:
comparison between signed and unsigned
/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function
‘__nv_restore_pat_entries’:
/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:981: warning:
comparison between signed and unsigned
/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_cpu_callback’:
/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:1287: warning
: comparison between signed and unsigned
/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:1294: warning
: comparison between signed and unsigned
cc -Wp,-MD,/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.nv-v
m.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERN
EL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pro
totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-fl
oat -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i68
6 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CF
I_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-
stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfg
z4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-ty
pe -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-m
ultichar -Werror -O -fno-common -msoft-float -MD -Wsign-compare -W
no-cast-
qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJ
OR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755 -UDEBUG -U_DEBUG -DN
DEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_
GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESEN
T -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB
_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESE
NT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBU
ILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz4037
/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_nv-vm.o /tmp/selfgz4037/NVID
IA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv-vm.c
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/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-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 a
rithmetic
cc -Wp,-MD,/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.os-a
gp.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KER
NEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pr
ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-f
loat -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i6
86 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_C
FI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno
-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/self
gz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-t
ype -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpoin
ter-arith -Wno-multichar -Werror -O -fno-common -msoft-float -MD
-Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__
-DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9
755 -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_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DN
V_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s
" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidi
a)" -c -o /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_os-
agp.o /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/os-agp.c
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/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-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 a
rithmetic
cc -Wp,-MD,/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.os-i
nterface.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -
D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstr
ict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -m
soft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -ma
rch=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFI
G_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer
-fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp
/selfgz4037/NVIDIA-Linux-x86-1
.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wc
har-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -f
no-common -msoft-float -MD -Wsign-compare -Wno-cast-qual -Wno-error
-D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DN
V_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNA
L_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESEN
T -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOS
E_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRES
ENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_P
RESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_inter
face)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz4037/NVIDIA-L
inux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_os-interface.o /tmp/selfgz4037/NVIDIA
-Linux-x86-1.0-9755-pkg1/usr/src/nv/os-interface.c
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/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-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 a
rithmetic
cc -Wp,-MD,/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.os-r
egistry.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D
__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstri
ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -ms
oft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -mar
ch=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG
_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-d
efault -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statem
ent -Wno-pointer-sign -I/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/s
rc/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-f
loat -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NA
MES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
-DNV_PATCHLEVEL=9755 -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 -D
NV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_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_M
ODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-p
kg1/usr/src/nv/.tmp_os-registry.o /t
mp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/os-registry.c
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/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-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 a
rithmetic
cc -Wp,-MD,/tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.nv-i
2c.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KER
NEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pr
ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-f
loat -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -ma
rch=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFI
G_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer
-fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp
/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wret
urn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith
-Wno-multichar -Werror -O -fno-common -msoft-float -MD -Wsign-comp
are -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -
DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755 -UDEBU
G -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRE
SENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_ME
SSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -D
NV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_P
AGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUIL
D_BASENAME=KBUILD_STR(nv_i2c)" -D"
KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz4037/NVIDIA-Linux-x86-1.
0-9755-pkg1/usr/src/nv/.tmp_nv-i2c.o /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-97
55-pkg1/usr/src/nv/nv-i2c.c
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/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-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 a
rithmetic
ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-975
5-pkg1/usr/src/nv/nvidia.o /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/us
r/src/nv/nv-kernel.o /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/
nv/nv.o /tmp/selfgz4037/NVIDIA-Linux-x86-1
.0-9755-pkg1/usr/src/nv/nv-vm.o /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pk
g1/usr/src/nv/os-agp.o /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/sr
c/nv/os-interface.o /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/n
v/os-registry.o /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv
-i2c.o
Building modules, stage 2.
make -f /usr/src/linux-headers-2.6.21-1-686/scripts/Makefile.modpost
scripts/mod/modpost -m -i /usr/src/linux-headers-2.6.21-1-686/Module.symv
ers -I /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/Module.symv
ers -o /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/Module.symv
ers -w /tmp/selfgz4037/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nvidia.o
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'para
virt_ops'
make[3]: *** [__modpost] Błąd 1
make[2]: *** [modules] Błąd 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Błąd 1
make: *** [module] Błąd 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 http://www.nvidia.com.
el_carles
Junior Member
Posty: 560
Rejestracja: 02 lutego 2007, 17:32

Post autor: el_carles »

razgoth pisze:...
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'para
virt_ops'
...
Rozwiązanie podałem wyżej... ale na wszelki wypadek ^^,:

---> klik! <--- -- patrz ostatni post.

Sam używam tego kernela i miałem też te sterowniki, tak, że jest to sprawdzony sposób!

Pozdrawiam
razgoth
Posty: 4
Rejestracja: 21 maja 2007, 10:13

Post autor: razgoth »

Serdecznie dziękuję. Wszystko działa jak się patrzy! ;-)
ODPOWIEDZ