[+] b

Zagadnienia dotyczące menadżerów okien, środowisk graficznych - X, KDE, GNOME, Fluxbox, XFCE., Compiz itp.
virnik
Posty: 37
Rejestracja: 17 marca 2009, 19:23
Lokalizacja: Bytom

[+] błędy przy instalacji sterowników Nvidia

Post autor: virnik »

Cześć
Dzisiaj instalowałem sobie sterowniki wg. poradnika Kaki niestety nie wyszło mi wszystko tak jak bym chciał.
Dostałem takie błędy:

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Jun 23 18:44:21 2009

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              : [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.3).  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)
ERROR: Unable to find the kernel source tree for the currently running kernel. 
       Please make sure you have installed the kernel source files for your
       kernel and that they are properly configured; on Red Hat Linux systems,
       for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
       installed.  If you know the correct kernel source files are installed,
       you may specify the kernel source path with the '--kernel-source-path'
       command line option.
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].
Jak sobie z tym poradzić?
ArnVaker

Post autor: ArnVaker »

ERROR: Unable to find the kernel source tree for the currently running kernel.
W wolnym tłumaczeniu, nie masz nagłówków do jądra.

Kod: Zaznacz cały

aptitude install linux-headers-`uname -r`
Awatar użytkownika
gruby
Beginner
Posty: 158
Rejestracja: 03 maja 2009, 03:41
Lokalizacja: Łódź

Post autor: gruby »

virnik
Posty: 37
Rejestracja: 17 marca 2009, 19:23
Lokalizacja: Bytom

Post autor: virnik »

ArnWaker, zrobiłem tak jak powiedziałeś ale niestety nadal nie działa.

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Jun 23 19:09:12 2009

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              : [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.3).  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.26-2-486/build'
-> Kernel output path: '/lib/modules/2.6.26-2-486/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:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.26-2-486/bu
   ild SYSOUT=/lib/modules/2.6.26-2-486/build'...
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.26-2-486/build SUBDIRS=/tmp
   /selfgz2947/NVIDIA-Linux-x86-96.43.05-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/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.tmp_vers
   ions ; rm -f /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.tmp_
   versions/*
   make -f scripts/Makefile.build obj=/tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05
   -pkg1/usr/src/nv
     cc -Wp,-MD,/tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.nv.o
   .d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.2/include -D__KERNEL_
   _ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-protot
   ypes -Wno-trigraphs -fno-strict-alia
   sing -fno-common -Werror-implicit-function-declaration -fwrapv -Os   -fno-st
   ack-protector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-
   stack-boundary=2  -march=i486 -mtune=generic -ffreestanding -DCONFIG_AS_CFI=
   1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-u
   nwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-d
   efault -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign 
    -I/tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv -Wall -Wimplici
   t -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-
   arith -Wno-multichar -Werror -MD   -Wsign-compare -Wno-cast-qual -Wno-error 
   -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.
   43.05\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_B
   ASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/se
   lfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz2947
   /NVIDIA-Linux-x86-96.43.05-pkg1/usr
   /src/nv/nv.c
   In file included from include/linux/list.h:6,
                    from include/linux/preempt.h:11,
                    from include/linux/spinlock.h:49,
                    from include/linux/seqlock.h:29,
                    from include/linux/time.h:8,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:54,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/asm/dma-mapping.h:9,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:92,
                    from include/linux/pci.h:948,
                    from /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:85,
                    from /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/scatterlist.h: In function ‘sg_virt’:
   include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used 
   in arithmetic
   In file included from /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:108,
                    from /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/highmem.h: In function ‘zero_user_segments’:
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c: In function 
   ‘nvos_proc_create’:
   /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:505: error: â
   €˜proc_root_driver’ undeclared (first use in this function)
   /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:505: error: (
   Each undeclared identifier is reported only once
   /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:505: error: f
   or each function it appears in.)
   /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c: In function 
   ‘nv_kern_vma_nopage’:
   /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:1699: error: 
   ‘NOPAGE_SIGBUS’ undeclared (first use in this function)
   /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c: At top level
   :
   /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:1706: error: 
   unknown field ‘nopage’ specified in initializer
   /tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:1706: warning
   : initialization from incompatible pointer type
   make[3]: *** [/tmp/selfgz2947/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.o
   ] B
ArnVaker

Post autor: ArnVaker »

Instalujesz sterowniki z początku zeszłego roku, spróbuj z nowszymi:
http://www.nvidia.com/object/linux_display_archive.html
virnik
Posty: 37
Rejestracja: 17 marca 2009, 19:23
Lokalizacja: Bytom

Post autor: virnik »

Spróbowałem jednego z nich niestety znowu nie działa.

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Jun 23 19:27:39 2009

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              : [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.3).  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.26-2-486/build'
-> Kernel output path: '/lib/modules/2.6.26-2-486/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
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.26-2-486/bu
   ild SYSOUT=/lib/modules/2.6.26-2-486/build'...
   
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.26-2-486/build SUBDIRS=/tmp
   /selfgz3809/NVIDIA-Linux-x86-1.0-9639-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/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/.tmp_vers
   ions ; rm -f /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/.tmp_
   versions/*
   make -f scripts/Makefile.build obj=/tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639
   -pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz3809/NVI
   DIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/.nv.o
   .d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.2/include -D__KERNEL_
   _ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-protot
   ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-functi
   on-declaration -fwrapv -Os   -fno-stack-protector -m32 -msoft-float -mregpar
   m=3 -freg-struct-return -mpreferred-stack-boundary=2  -march=i486 -mtune=gen
   eric -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -
   Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2
   -mno-3dnow -Iinclude/asm-x86/mach-default -fomit-frame-pointer -Wdeclaration
   -after-statement -Wno-pointer-sign   -I/tmp/selfgz3809/NVIDIA-Linux-x86-1.0-
   9639-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar
   -subscripts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-c
   ommon -msoft-float -MD   -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_K
   ERNEL_NAMES -D__KERNEL__ -DMODULE  -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VE
   RSION=0 -DNV_PATCHLEVEL=9639  -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_R
   LIM -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_INS
   ERT_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/selfgz3809/NVIDI
   A-Linux-x86-1.0-9639-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz3809/NVIDIA-Linux-
   x86-1.0-9639-pkg1/usr/src/nv/nv.c
   In file included from include/linux/list.h:6,
                    from include/linux/preempt.h:11,
                    from include/linux/spinlock.h:49,
                    from include/linux/seqlock.h:29,
                    from include/linux/time.h:8,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:54,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/asm/dma-mapping.h:9,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:92,
                    from include/linux/pci.h:948,
                    from /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
   /nv/nv-linux.h:77,
                    from /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/scatterlist.h: In function ‘sg_virt’:
   include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used 
   in arithmetic
   In file included from /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
   /nv/nv-linux.h:99,
                    from /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/highmem.h: In function ‘zero_user_segments’:
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: At top level
   :
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:110: error: e
   xpected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before â
   €˜*’ token
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function 
   ‘nvos_create_alloc’:
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:332: error: â
   €˜nv_pte_t_cache’ undeclared (first use in this function)
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:332: error: (
   Each undeclared identifier is reported only once
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:332: error: f
   or each function it appears in.)
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function 
   ‘nvos_free_alloc’:
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:364: error: â
   €˜nv_pte_t_cache’ undeclared (first use in this function)
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function 
   ‘nvos_proc_create’:
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:499: error: â
   €˜proc_root_driver’ undeclared (first use in this function)
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function 
   ‘nvidia_init_module’:
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1292: error: 
   ‘nv_pte_t_cache’ undeclared (first use in this function)
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1292: error: 
   too many arguments to function ‘kmem_cache_create’
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1426: error: 
   void value not ignored as it ought to be
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function 
   ‘nvidia_exit_module’:
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1453: error: 
   void value not ignored as it ought to be
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1557: error: 
   ‘nv_pte_t_cache’ undeclared (first use in this function)
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function 
   ‘nv_kern_vma_nopage’:
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1677: error: 
   ‘NOPAGE_SIGBUS’ undeclared (first use in this function)
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: At top level
   :
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1684: error: 
   unknown field ‘nopage’ specified in initializer
   /tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1684: warning
   : initialization from incompatible pointer type
   make[3]: *** [/tmp/selfgz3809/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.o
   ] B
ArnVaker

Post autor: ArnVaker »

virnik, poszedłeś nie w tę stronę co trzeba.
Teraz próbujesz zainstalować wersję 1.0-9639, która jest jeszcze starsza.

Jeśli masz system 32-bitowy, zainstaluj te sterowniki:
http://www.nvidia.com/object/linux_disp ... 18.14.html

Jeśli masz system 64-bitowy, zainstaluj te sterowniki:
http://www.nvidia.com/object/linux_disp ... 18.14.html
virnik
Posty: 37
Rejestracja: 17 marca 2009, 19:23
Lokalizacja: Bytom

Post autor: virnik »

Eh, jaki ja jestem ciemny :D

Zainstalowałem sobie ten sterownik przez skrypt podany przez Pana gruby, i wygląda na to, że wszystko jest dobrze. Skrypt sam skonfigurował mi xorg.conf. Możesz na niego zerknąć?

Kod: Zaznacz cały

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"pl"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
EndSection

Section "Device"
	Driver	"nvidia"
	Option	"IgnoreDisplayDevices"	"TV"
	Option      "Coolbits"	"1"
	Option      "AddARGBGLXVisuals"	"true"
	Option      "TripleBuffer"	"false"
	#BusID "PCI:1:0:0"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
EndSection

Section "Extensions"
#	Option      "Composite"	"disable"
#	Option      "RENDER"	"disable"
EndSection
Awatar użytkownika
gruby
Beginner
Posty: 158
Rejestracja: 03 maja 2009, 03:41
Lokalizacja: Łódź

Post autor: gruby »

no i jest dobrze
ArnVaker

Post autor: ArnVaker »

virnik pisze:Możesz na niego zerknąć ?
Ja tam się na xorgach nie znam, ale dorzuciłbym jeszcze:

Kod: Zaznacz cały

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "glx"
EndSection
Choć nie wiem, czy te moduły nie są już obecnie ładowane automatycznie.
Trzeba by przejrzeć loga ze startu X-ów.
ODPOWIEDZ