You are not logged in.

#1 2007-03-07 10:34:40

defcon
Member
From: Germany, Bruchsal
Registered: 2006-08-16
Posts: 177

can't install nvidia with current kernel

i get this errors, during install NVIDIA from nvidia.com (9746)

nvidia.log outline:

-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.20-ARCH/bui
   ld SYSOUT=/lib/modules/2.6.20-ARCH/build'...
   sh ./conftest.sh "cc" "cc" /lib/modules/2.6.20-ARCH/build /lib/modules/2.6.2
   0-ARCH/build cc_sanity_check full_output
   sh ./conftest.sh "cc" "cc" /lib/modules/2.6.20-ARCH/build /lib/modules/2.6.2
   0-ARCH/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.20-ARCH/build SUBDIRS=/tmp/
   selfgz5246/NVIDIA-Linux-x86-1.0-9746-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/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/.tmp_vers
   ions
   rm -f /tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/.tmp_version
   s/*
   make -f scripts/Makefile.build obj=/tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746
   -pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz5246/NVI
   DIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/.nv.o
   .d  -nostdinc -isystem ./include -D__KERNEL__ -Iinclude  -include include/li
   nux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-
   aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-bo
   undary=2  -march=i686  -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS
   _CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit
   -frame-pointer  -fno-stack-protector -Wdeclaration-after-statement -Wno-poin
   ter-sign -I/tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv -Wall -
   Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -W
   pointer-arith  -Wno-multichar  -Werror  -O -fno-common -msoft-float       -M
   D   -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNE
   L__ -DMODULE  -DNVRM -DNV_MAJOR_VERSION=1 -DNV
   _MINOR_VERSION=0 -DNV_PATCHLEVEL=9746  -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_PRESEN
   T -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRE
   SENT  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"K
   BUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz5246/NVIDIA-Linux-x86-1.0
   -9746-pkg1/usr/src/nv/nv.o /tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/us
   r/src/nv/nv.c
   In Datei, eingefügt von ./include/asm/system.h:4,
                    von ./include/asm/processor.h:18,
                    von ./include/asm/thread_info.h:16,
                    von ./include/linux/thread_info.h:21,
                    von ./include/linux/preempt.h:9,
                    von ./include/linux/spinlock.h:49,
                    von ./include/linux/capability.h:45,
                    von ./include/linux/sched.h:46,
                    von ./include/linux/utsname.h:35,
                    von /tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/
   nv/nv-linux.h:19,
                    von /tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/
   nv/nv.c:14:
   ./include/linux/kernel.h:10:20: Fehler: stdarg.h: Datei oder Verzeichnis nic
   ht gefunden
   In file included from ./include/asm/system.h:4,
                    from ./include/asm/processor.h:18,
                    from ./include/asm/thread_info.h:16,
                    from ./include/linux/thread_info.h:21,
                    from ./include/linux/preempt.h:9,
                    from ./include/linux/spinlock.h:49,
                    from ./include/linux/capability.h:45,
                    from ./include/linux/sched.h:46,
                    from ./include/linux/utsname.h:35,
                    from /tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src
   /nv/nv.c:14:
   ./include/linux/kernel.h:117: Fehler: expected declaration specifiers or »..
   .« before »va_list«
   ./include/linux/kernel.h:121: Fehler: expected declaration specifiers or »..
   .« before »va_list«
   ./include/linux/kernel.h:125: Fehler: expected declaration specifiers or »..
   .« before »va_list«
   ./include/linux/kernel.h:132: Fehler: expected declaration specifiers or »..
   .« before »va_list«
   ./include/linux/kernel.h:147: Fehler: expected declaration specifiers or »..
   .« before »va_list«
   /tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv.c:110: Warnung:
   »kmem_cache_t« ist veraltet
   /tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv.c: In Funktion 
   »__nv_setup_pat_entries«:
   /tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv.c:955: Warnung:
   Vergleich zwischen vorzeichenbehaftet und vorzeichenlos
   /tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv.c: In Funktion 
   »__nv_restore_pat_entries«:
   /tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv.c:981: Warnung:
   Vergleich zwischen vorzeichenbehaftet und vorzeichenlos
   /tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv.c: In Funktion 
   »nv_kern_cpu_callback«:
   /tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv.c:1287: Warnung
   : Vergleich zwischen vorzeichenbehaftet und vorzeichenlos
   /tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv.c:1294: Warnung
   : Vergleich zwischen vorzeichenbehaftet und vorzeichenlos
   make[3]: *** [/tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv.o
   ] Fehler 1
   make[2]: *** [_module_/tmp/selfgz5246/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src
   /nv] Fehler 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Fehler 1
   make: *** [module] Fehler 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.

Registed Linux User 608596

Offline

#2 2007-03-07 10:48:35

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: can't install nvidia with current kernel

any reason why you don't use the arch-provided package?

pacman -Sy nvidia


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#3 2007-03-07 11:00:23

defcon
Member
From: Germany, Bruchsal
Registered: 2006-08-16
Posts: 177

Re: can't install nvidia with current kernel

Well, i think nvidia from nvidia page should work, why i dont use the package is uninteresting.
The issue is that it doesn't work, and not which driver i should use wink

greets


Registed Linux User 608596

Offline

#4 2007-03-07 12:06:48

newgargamel
Member
From: PL, CZ
Registered: 2005-08-28
Posts: 156

Re: can't install nvidia with current kernel

Do you use kdemod? If yes please upgrade to the current version

Offline

#5 2007-03-07 12:08:14

newgargamel
Member
From: PL, CZ
Registered: 2005-08-28
Posts: 156

Re: can't install nvidia with current kernel

Offline

#6 2007-03-07 12:09:19

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: can't install nvidia with current kernel


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#7 2007-03-07 12:27:33

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: can't install nvidia with current kernel

defcon wrote:

The issue is that it doesn't work, and not which driver i should use wink

Actually, no offense, but you're wrong. You're asking for help on the Arch forum with a problem which would be non-existent if you used the Arch package. The Arch package provides version 9746, so even if you can get it to work, you gain nothing by using the nvidia installer.

That said, newgargamel has pointed you in the right direction.

Offline

#8 2007-03-07 12:34:20

defcon
Member
From: Germany, Bruchsal
Registered: 2006-08-16
Posts: 177

Re: can't install nvidia with current kernel

newgargamel wrote:

Do you use kdemod? If yes please upgrade to the current version

Yes, i do

tomk wrote:

you gain nothing by using the nvidia installer.

ok.. ack

but what is the problem, that that is it impossible to build the kernel module?
try to explain it in an easy way.. my english is more than terrible, sorry


Registed Linux User 608596

Offline

#9 2007-03-07 12:59:42

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: can't install nvidia with current kernel

It is explained in the bug report referenced in the thread that newgargamel gave you.

Last edited by tomk (2007-03-07 16:17:13)

Offline

#10 2007-03-07 15:24:11

newgargamel
Member
From: PL, CZ
Registered: 2005-08-28
Posts: 156

Re: can't install nvidia with current kernel

tomk wrote:

It is explained in the bug report referenced in the thread that gargamel gave you.

newgargamel not gargamel tongue

Offline

#11 2007-03-07 16:17:32

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: can't install nvidia with current kernel

Corrected - my apologies. smile

Offline

Board footer

Powered by FluxBB