Pagina 1 di 1

kernel-2.6.25: problemi con nvidia... [ RISOLTO ]

Inviato: ven 18 apr 2008, 19:15
da slucky
SAlve amici, allora ho compilato il nuovo arrivato e mentre per il wi-fi nessun problema,invece non sono riuscito
ad installare i driver nvidia, malgrado abbia provato ad installarne varie versioni, dalla 97.55 alla 169.12.
Vi posto il log per maggiori chiarimenti, ho pensato possa dipendere dal config, riproverò a ricompilarlo partendo dal config di Pat della 12, mentre per gli altri kernel già installati nessun problema.

Codice: Seleziona tutto

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Apr 18 18:50:44 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)
  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
   che 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.25/source'
-> Kernel output path: '/lib/modules/2.6.25/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.25/source S
   YSOUT=/lib/modules/2.6.25/build'...
   sh ./conftest.sh "cc" "cc" /lib/modules/2.6.25/source /lib/modules/2.6.25/bu
   ild cc_sanity_check full_output
   sh ./conftest.sh "cc" "cc" /lib/modules/2.6.25/source /lib/modules/2.6.25/bu
   ild select_makefile full_output
   make --no-print-directory -f Makefile module
   
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.25/build KBUILD_VERBOSE=1 -C /lib/
   modules/2.6.25/source SUBDIRS=/tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1
   /usr/src/nv modules
   make -C /lib/modules/2.6.25/build \
   	KBUILD_SRC=/usr/src/linux-2.6.25 \
   	KBUILD_EXTMOD="/tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv" -
   f /usr/src/linux-2.6.25/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/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_vers
   ions ; rm -f /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_
   versions/*
   make -f /usr/src/linux-2.6.25/scripts/Makefile.build obj=/tmp/selfgz4328/NVI
   DIA-Linux-x86-1.0-9755-pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz4328/NVI
   DIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-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.25/include -include includ
   e/linux/autoconf.h  -I/tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
   /nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -f
   no-common -Werror-implicit-function-declaration -O2 -fno-stack-protector -m3
   2 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 
   -march=i486 -mtune=i686 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIG
   NAL_FRAME=1 -pipe -Wno-sign-compare -fno-
   asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src
   /linux-2.6.25/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -f
   omit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign  -I/tmp/s
   elfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wretur
   n-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wn
   o-multichar -Werror -O -fno-common -msoft-float -MD -Wsign-compare -Wno-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 -DND
   EBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_G
   ET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT
   -DNV_IRQ_HANDLER_WITH_PTREGS_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_I
   NSERT_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=KBUI
   LD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz4328/NVI
   DIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.o /tmp/selfgz4328/NVIDIA-Linux-x86
   -1.0-9755-pkg1/usr/src/nv/nv.c
   In file included from include/linux/list.h:8,
                    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/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz4328/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:57: warning: pointer of type 'void *' used in arith
   metic
   In file included from include/asm/dma-mapping_32.h:5,
                    from include/asm/dma-mapping.h:2,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:90,
                    from include/linux/pci.h:945,
                    from /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
   /nv/nv-linux.h:77,
                    from /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-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 a
   rithmetic
   In file included from /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
   /nv/nv-linux.h:99,
                    from /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-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 arith
   metic
   include/linux/highmem.h:134: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:134: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:134: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in arith
   metic
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: At top level
   :
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:110: error: e
   xpected '=', ',', ';', 'asm' or '__attribute__' before '*' token
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function 
   'nvos_create_alloc':
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:460: error: '
   nv_pte_t_cache' undeclared (first use in this function)
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:460: error: (
   Each undeclared identifier is reported only once
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:460: error: f
   or each function it appears in.)
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function 
   'nvos_free_alloc':
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:492: error: '
   nv_pte_t_cache' undeclared (first use in this function)
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function 
   'nvidia_init_module':
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:1420: error: 
   'nv_pte_t_cache' undeclared (first use in this function)
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:1420: error: 
   too many arguments to function 'kmem_cache_create'
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:1554: error: 
   void value not ignored as it ought to be
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function 
   'nvidia_exit_module':
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:1581: error: 
   void value not ignored as it ought to be
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:1685: error: 
   'nv_pte_t_cache' undeclared (first use in this function)
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function 
   'nv_kern_open':
   /tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:1913: warning
   : passing argument 2 of 'request_irq' from incompatible pointer type
   make[4]: *** [/tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.o
   ] Error 1
   make[3]: *** [_module_/tmp/selfgz4328/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
   /nv] Error 2
   make[2]: *** [sub-make] 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 www.nvidia.com.
Ho anche già provato a fixare con "make oldconfig && make prepare" ma niente...non ha funzionato.
Idee??

SAluti a tutti :)

Re: kernel-2.6.25: problemi con nvidia...

Inviato: ven 18 apr 2008, 19:20
da conraid
Se hai compilato il nuovo kernel, make prepare non serve a niente.

Scarica gli ultimi driver beta 173.08 (li sto usando in questo momento) o applica la patch ai 169.12, altrimenti non ti compileranno qualunque config usi

Re: kernel-2.6.25: problemi con nvidia...

Inviato: ven 18 apr 2008, 19:23
da slucky
okay Conraid, il log mi diceva di fixare con quei comandi allora ho provato :) , se voglio applicare la patch dove la trovo?

Re: kernel-2.6.25: problemi con nvidia...

Inviato: ven 18 apr 2008, 19:26
da conraid
slucky ha scritto:okay Conraid, il log mi diceva di fixare con quei comandi allora ho provato :) , se voglio applicare la patch dove la trovo?
Make prepare ti crea gli header, ma se compili si creano ugualmente :-)
Quel comando serve se hai sorgenti "vergini"

http://www.nvnews.net/vbulletin/showthread.php?t=110088

P.S.
non ho provato la patch, quindi non so se funziona.
Io ho installato i driver in beta e per adesso vanno (ho una fx5500 e non uso compiz, giochi o altre cose 3d)

Re: kernel-2.6.25: problemi con nvidia...

Inviato: ven 18 apr 2008, 19:50
da slucky
grazie della dritta conraid! :D con il nuovo beta-driver problema sistemato. Ti posso assicurare che questi driver fungono benissimo, compiz compreso....... :thumbright:

Saluti a tutti ;)

Re: kernel-2.6.25: problemi con nvidia...

Inviato: ven 18 apr 2008, 19:56
da Vito
conraid ha scritto:
slucky ha scritto:okay Conraid, il log mi diceva di fixare con quei comandi allora ho provato :) , se voglio applicare la patch dove la trovo?
Make prepare ti crea gli header, ma se compili si creano ugualmente :-)
Quel comando serve se hai sorgenti "vergini"

http://www.nvnews.net/vbulletin/showthread.php?t=110088

P.S.
non ho provato la patch, quindi non so se funziona.
Io ho installato i driver in beta e per adesso vanno (ho una fx5500 e non uso compiz, giochi o altre cose 3d)
fammi capire Conraid ... quando compilerò il nuovo kernel 2.6.25 dovrò applicare una patch per far funzionare i driver nvidia?

Re: kernel-2.6.25: problemi con nvidia...

Inviato: ven 18 apr 2008, 21:29
da conraid
Vito ha scritto: fammi capire Conraid ... quando compilerò il nuovo kernel 2.6.25 dovrò applicare una patch per far funzionare i driver nvidia?
Non al kernel, ai driver nvidia se non vuoi utilizzare i beta (o se usciranno, i nuovi)