: 06 marca 2008, 17:11
dobra... jestem poczatkujacy jeszcze. zapomnialem sciagnac tego linux-headers :P he. przeszlo bez sciagania GCC
Polski portal użytkowników dystrybucji Debian GNU/Linux, dyskusje, artykuły, nowości, blog, porady, pomoc.
https://www.debian.pl/
czyli dajemy:* the nvidia-glx package has been uninstalled with the --purge option and the files /etc/init.d/nvidia-glx and /etc/init.d/nvidia-kernel do not exist
Kod: Zaznacz cały
aptitude purge nvidia-glx
Kod: Zaznacz cały
rm /etc/init.d/nvidia-kernel
Kod: Zaznacz cały
aptitude install linux-headers-2.6.22.3-amd64
Kod: Zaznacz cały
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Mar 11 18:24:34 2008
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 : (not specified)
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
-> 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".
-> The CC version check failed:
The compiler used to compile the kernel (gcc 4.1) does not exactly match the
current compiler (gcc 4.2). The Linux 2.6 kernel module loader rejects kern
el modules built with a version of gcc that does not exactly match that of t
he compiler used to build the running kernel.
If you know what you are doing and want to ignore the gcc version check, sel
ect "No" to continue installation. Otherwise, select "Yes" to abort install
ation, set the CC environment variable to the name of the compiler used to c
ompile your kernel, and restart installation. Abort now? (Answer: No)
-> Kernel source path: '/lib/modules/2.6.22-3-amd64/build'
-> Kernel output path: '/lib/modules/2.6.22-3-amd64/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
Kod: Zaznacz cały
ifconfig
Kod: Zaznacz cały
ifconfig eth0
ifconfig down
ifconfig up
ifconfig / all
Kod: Zaznacz cały
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:110: error: e
xpected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ’
��*’ token
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c: In function
‘nvos_create_alloc’:
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:454: error: �
��nv_pte_t_cache’ undeclared (first use in this function)
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:454: error: (
Each undeclared identifier is reported only once
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:454: error: f
or each function it appears in.)
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c: In function
‘nvos_free_alloc’:
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:486: error: �
��nv_pte_t_cache’ undeclared (first use in this function)
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c: In function
‘nvidia_init_module’:
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:1372: error:
‘nv_pte_t_cache’ undeclared (first use in this function)
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:1372: error:
too many arguments to function ‘kmem_cache_create’
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:1494: error:
void value not ignored as it ought to be
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c: In function
‘nvidia_exit_module’:
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:1521: error:
void value not ignored as it ought to be
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:1622: error:
‘nv_pte_t_cache’ undeclared (first use in this function)
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_open’:
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:1849: error:
‘SA_INTERRUPT’ undeclared (first use in this function)
/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:1849: error:
‘SA_SHIRQ’ undeclared (first use in this function)
make[3]: *** [/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.o
] Błąd 1
make[2]: *** [_module_/tmp/selfgz3409/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src
/nv] 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.
Kod: Zaznacz cały
> 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).
Kod: Zaznacz cały
dpkg -l | grep `uname -r`
Kod: Zaznacz cały
lspci | grep control
Kod: Zaznacz cały
dpkg -l | grep `uname -r`
ii linux-headers-2.6.22-14-generic 2.6.22-14.52 Linux kernel headers for version 2.6.22 on x
ii linux-image-2.6.22-14-generic 2.6.22-14.52 Linux kernel image for version 2.6.22 on x86
ii linux-restricted-modules-2.6.22-14-generic 2.6.22.4-14.10 Non-free Linux 2.6.22 modules on x86/x86_64
Linux modules for version 2.
Kod: Zaznacz cały
lspci | grep control
00:0b.0 Network controller: Texas Instruments ACX 100 22Mbps Wireless Interface
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3)