Any linux guru on here? [Fixed!]


cinaed666

Member
Joined
Apr 26, 2011
Messages
179
Hey, I was wondering if anyone could help me out.


I'm trying to install the nvidia drivers for debian 6.0.1 , and it seems this isn't as easy as it was in ubuntu.


I got the proper .run file from the Nvidia website, and tried to run it.


It gave me a couple of errors in regard with cc version, so I installed gcc-4.3 and make a symbolic link. Fixed.


Next it was complaining about not finding the kernel-source.


Trying to apt-get that, it gave me a few options of which specific one to choose.


My kernel is 2.6.32-5-amd64, but that one wasn't listed (only 4 in the list) so I picked 2.6.32 instead.


This might have been my first error, but I don't know what else I should have done.


This downloaded the tarball to my /usr/src/ so I unpacked it in a local directory: /usr/src/kernel-source-2.6.32


and made a symbolic link to ./linux


Running the nvidia .run file again, it this time told me that the source wasn't configured.


I ran make-kpkg and after minutes of holding my enter button down (it was asking me an enormous amount of configuration options, I figured the one selected by default would be the correct one, as I've copied my /boot/...something config to .config in the symbolic linux folder.)


It said it was done, finally.


So I ran the nvidia script again.


This time it started compiling without errors, but when it reached 100% it said compiling has failed.


I've got my logfile here, but it's a mess and I can't see what went wrong AT ALL.


My only idea is that I might have used the wrong kernel-source, but my exact one wasn't available so I don't know which one I should've picked else.


This is the log:



Code:
nvidia-installer log file '/var/log/nvidia-installer.log'

creation time: Thu Jun 16 19:27:00 2011

installer version: 275.09.07


PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


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

  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

  no cc version check                : false

  run distro scripts                 : true

  no nouveau check                   : false

  run nvidia-xconfig                 : false

  sigwinch work around               : true

  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)

  installer prefix                   : (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)

  precompiled kernel interfaces path : (not specified)

  precompiled kernel interfaces url  : (not specified)

  proc mount point                   : /proc

  ui                                 : (not specified)

  tmpdir                             : /tmp

  ftp mirror                         : ftp://download.nvidia.com

  RPM file list                      : (not specified)

  selinux chcon type                 : (not specified)


Using: nvidia-installer ncurses user interface

-> License accepted.

-> Installing NVIDIA driver version 275.09.07.

-> Performing CC sanity check with CC="cc".

-> Performing CC version check with CC="cc".

-> Kernel source path: '/usr/src/linux'

-> Kernel output path: '/usr/src/linux'

-> Performing rivafb check.

-> Performing nvidiafb check.

-> Performing Xen check.

-> Cleaning kernel module build directory.

   executing: 'cd ./kernel; make clean'...

-> Building kernel module:

   executing: 'cd ./kernel; make module SYSSRC=/usr/src/linux SYSOUT=/usr/src/l

   inux'...

   NVIDIA: calling KBUILD...

   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/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.tmp_versions 

   ; rm -f /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.tmp_versions/*


     WARNING: Symbol version dump /usr/src/linux-source-2.6.32/Module.symvers

              is missing; modules will have no dependencies and modversions.


   make -f scripts/Makefile.build obj=/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.0

   9.07/kernel

     cc -Wp,-MD,/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.nv.o.d  -

   nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.5/include -Iinclude  -I/

   usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/autoconf

   .h -D__KERNEL__ -Wall -Wundef -Wstrict

   -prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit

   -function-declaration -Wno-format-security -fno-delete-null-pointer-checks -

   Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccu

   mulate-outgoing-args -fstack-protector -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 -fomit-frame-pointer -g -Wdeclaration-after-st

   atement -Wno-pointer-sign -fno-strict-overflow -I/tmp/selfgz2281/NVIDIA-Linu

   x-x86_64-275.09.07/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error

   -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"275.09.07\" -Wno-unused-f

   unction -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D

   "KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBU

   ILD_STR(nvidia)"  -c -o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel

   /.tmp_nv.o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/nv.c

     cc -Wp,-MD,/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.nv-chrdev

   .o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.5/include -Iinclu

   de  -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/a

   utoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno

   -strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-form

   at-security -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-red

   -zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-pr

   otector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-com

   pare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow 

   -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno

   -strict-overflow -I/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel -Wal

   l -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM 

   -DNV_VERSION_STRING=\"275.09.07\" -Wno-unused-function -mno-red-zone -mcmode

   l=kernel -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_

   B

   ASENAME=KBUILD_STR(nv_chrdev)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o

   /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.tmp_nv-chrdev.o /tmp/s

   elfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/nv-chrdev.c

     cc -Wp,-MD,/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.nv-mlock.

   o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.5/include -Iinclud

   e  -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/au

   toconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-

   strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-forma

   t-security -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-red-

   zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-pro

   tector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-comp

   are -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -

   fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-

   strict-overflow -I/tmp/selfgz2281/NVIDIA-Linux-x86_6

   4-275.09.07/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KE

   RNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"275.09.07\" -Wno-unused-functio

   n -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUIL

   D_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mlock)"  -D"KBUILD_MODNAME=KBU

   ILD_STR(nvidia)"  -c -o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel

   /.tmp_nv-mlock.o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/nv-mlo

   ck.c

     cc -Wp,-MD,/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.nv-procfs

   .o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.5/include -Iinclu

   de  -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/a

   utoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno

   -strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-form

   at-security -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-red

   -zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-pr

   otector -DCONFIG_AS_CFI=1 -DCON

   FIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-t

   ables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -g -Wdecla

   ration-after-statement -Wno-pointer-sign -fno-strict-overflow -I/tmp/selfgz2

   281/NVIDIA-Linux-x86_64-275.09.07/kernel -Wall -MD -Wsign-compare -Wno-cast-

   qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"275.09.07

   \" -Wno-unused-function -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDE

   BUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_procfs)"

    -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz2281/NVIDIA-Linux-x

   86_64-275.09.07/kernel/.tmp_nv-procfs.o /tmp/selfgz2281/NVIDIA-Linux-x86_64-

   275.09.07/kernel/nv-procfs.c

     cc -Wp,-MD,/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.nv-userma

   p.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.5/include -Iincl

   ude  -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/

   autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fn

   o-stri

   ct-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-se

   curity -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-red-zone

   -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protecto

   r -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 -fomit

   -frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-stric

   t-overflow -I/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel -Wall -MD 

   -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_V

   ERSION_STRING=\"275.09.07\" -Wno-unused-function -mno-red-zone -mcmodel=kern

   el -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENA

   ME=KBUILD_STR(nv_usermap)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tm

   p/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.tmp_nv-usermap.o /tmp/sel

   fgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/nv-usermap.c

     cc -Wp,-MD,/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.nv_gvi.o.

   d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.5/include -Iinclude 

   -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/autoc

   onf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-str

   ict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-s

   ecurity -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-red-zon

   e -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protec

   tor -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 -fomi

   t-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-stri

   ct-overflow -I/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel -Wall -MD

   -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_V

   ERSION_STRING=\"275.09.07\" -Wno-unused-function -mno-red-zone -mcmodel=kern

   el -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENA

   ME=KBUILD_

   STR(nv_gvi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz2281/N

   VIDIA-Linux-x86_64-275.09.07/kernel/.tmp_nv_gvi.o /tmp/selfgz2281/NVIDIA-Lin

   ux-x86_64-275.09.07/kernel/nv_gvi.c

     cc -Wp,-MD,/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.nv-vm.o.d

    -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.5/include -Iinclude  -

   I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/autoco

   nf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stri

   ct-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-se

   curity -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-red-zone

   -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protecto

   r -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 -fomit

   -frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-stric

   t-overflow -I/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel -Wall -M

   D -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV

   _VERSION_STRING=\"275.09.07\" -Wno-unused-function -mno-red-zone -mcmodel=ke

   rnel -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASE

   NAME=KBUILD_STR(nv_vm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/s

   elfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.tmp_nv-vm.o /tmp/selfgz2281/

   NVIDIA-Linux-x86_64-275.09.07/kernel/nv-vm.c

     cc -Wp,-MD,/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.os-agp.o.

   d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.5/include -Iinclude 

   -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/autoc

   onf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-str

   ict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-s

   ecurity -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-red-zon

   e -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protec

   tor -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-si

   gn-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-

   3dnow -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sig

   n -fno-strict-overflow -I/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kerne

   l -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -

   DNVRM -DNV_VERSION_STRING=\"275.09.07\" -Wno-unused-function -mno-red-zone -

   mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"K

   BUILD_BASENAME=KBUILD_STR(os_agp)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -

   c -o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.tmp_os-agp.o /tmp

   /selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/os-agp.c

     cc -Wp,-MD,/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.os-interf

   ace.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.5/include -Iin

   clude  -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linu

   x/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -

   fno-strict-aliasing -fno-common -Werror-implicit-funct

   ion-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m6

   4 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate

   -outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FR

   AME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-

   mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -g -Wdeclaration-after-stateme

   nt -Wno-pointer-sign -fno-strict-overflow -I/tmp/selfgz2281/NVIDIA-Linux-x86

   _64-275.09.07/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__

   KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"275.09.07\" -Wno-unused-funct

   ion -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBU

   ILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)"  -D"KBUILD_MODNA

   ME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/

   kernel/.tmp_os-interface.o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/ker

   nel/os-interface.c

     cc -Wp,-MD,/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.os-smp.o.

   d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.5/include -Iinclude 

   -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/autoc

   onf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-str

   ict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-s

   ecurity -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-red-zon

   e -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protec

   tor -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 -fomi

   t-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-stri

   ct-overflow -I/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel -Wall -MD

   -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_V

   ERSION_STRING=\"275.09.07\" -Wno-unused-function -mno-red-zone -mcmodel=kern

   el -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENA

   ME=KBUILD_STR(os_smp)"  -D"KBUILD_MODNAME=KBUILD_S

   TR(nvidia)"  -c -o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.tmp

   _os-smp.o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/os-smp.c

     cc -Wp,-MD,/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.os-userma

   p.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.5/include -Iincl

   ude  -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/

   autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fn

   o-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-for

   mat-security -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-re

   d-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-p

   rotector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-co

   mpare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow

   -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno

   -strict-overflow -I/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel -Wal

   l -MD -Wsign-compare -Wno-cast-qual -Wn

   o-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"275.09.07\" -Wno-

   unused-function -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG  -DM

   ODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_usermap)"  -D"KB

   UILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz2281/NVIDIA-Linux-x86_64-

   275.09.07/kernel/.tmp_os-usermap.o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.0

   9.07/kernel/os-usermap.c

     cc -Wp,-MD,/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.os-regist

   ry.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.5/include -Iinc

   lude  -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux

   /autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -f

   no-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-fo

   rmat-security -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-r

   ed-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-

   protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-c

   ompare -fno

   -asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-fr

   ame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-o

   verflow -I/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel -Wall -MD -Ws

   ign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERS

   ION_STRING=\"275.09.07\" -Wno-unused-function -mno-red-zone -mcmodel=kernel 

   -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=

   KBUILD_STR(os_registry)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/

   selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.tmp_os-registry.o /tmp/self

   gz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/os-registry.c

     cc -Wp,-MD,/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.nv-cray.o

   .d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.5/include -Iinclude

    -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/auto

   conf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-st

   rict-aliasing -fno-common -Werror-implicit-function-d

   eclaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m64 -mt

   une=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outg

   oing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1

   -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -m

   no-sse2 -mno-3dnow -fomit-frame-pointer -g -Wdeclaration-after-statement -Wn

   o-pointer-sign -fno-strict-overflow -I/tmp/selfgz2281/NVIDIA-Linux-x86_64-27

   5.09.07/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL

   __ -DMODULE -DNVRM -DNV_VERSION_STRING=\"275.09.07\" -Wno-unused-function -m

   no-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_ST

   R(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)"  -D"KBUILD_MODNAME=KBUILD_S

   TR(nvidia)"  -c -o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.tmp

   _nv-cray.o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/nv-cray.c

     cc -Wp,-MD,/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.nv-i2c.o.

   d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.5/include -Iinclude 

   -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/autoc

   onf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-str

   ict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-s

   ecurity -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-red-zon

   e -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protec

   tor -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 -fomi

   t-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-stri

   ct-overflow -I/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel -Wall -MD

   -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_V

   ERSION_STRING=\"275.09.07\" -Wno-unused-function -mno-red-zone -mcmodel=kern

   el -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENA

   ME=KBUILD_STR(nv_i2c)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /

   tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.tmp_nv-i2c.o /tmp/selfg

   z2281/NVIDIA-Linux-x86_64-275.09.07/kernel/nv-i2c.c

     cc -Wp,-MD,/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.nvacpi.o.

   d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.5/include -Iinclude 

   -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/autoc

   onf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-str

   ict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-s

   ecurity -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-red-zon

   e -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protec

   tor -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 -fomi

   t-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-stri

   ct-overflow -I/tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel -Wall -MD

   -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DM

   ODULE -DNVRM -DNV_VERSION_STRING=\"275.09.07\" -Wno-unused-function -mno-red

   -zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#

   s" -D"KBUILD_BASENAME=KBUILD_STR(nvacpi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvid

   ia)"  -c -o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/.tmp_nvacpi

   .o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/nvacpi.c

     ld -m elf_x86_64   -r -o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/ker

   nel/nvidia.o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/nv-kernel.

   o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/nv.o /tmp/selfgz2281/

   NVIDIA-Linux-x86_64-275.09.07/kernel/nv-chrdev.o /tmp/selfgz2281/NVIDIA-Linu

   x-x86_64-275.09.07/kernel/nv-mlock.o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275

   .09.07/kernel/nv-procfs.o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kern

   el/nv-usermap.o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/nv_gvi.

   o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/nv-vm.o /tmp/selfgz22

   81/NVIDIA-Linux-x86_64-275.09.07/kernel/os-agp.

   o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/os-interface.o /tmp/s

   elfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/os-smp.o /tmp/selfgz2281/NVID

   IA-Linux-x86_64-275.09.07/kernel/os-usermap.o /tmp/selfgz2281/NVIDIA-Linux-x

   86_64-275.09.07/kernel/os-registry.o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275

   .09.07/kernel/nv-cray.o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel

   /nv-i2c.o /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/nvacpi.o 

   (cat /dev/null;   echo kernel//tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/

   kernel/nvidia.ko;) > /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/mo

   dules.order

   make -f /usr/src/linux-source-2.6.32/scripts/Makefile.modpost

     scripts/mod/modpost -m  -i /usr/src/linux-source-2.6.32/Module.symvers -I 

   /tmp/selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/Module.symvers  -o /tmp

   /selfgz2281/NVIDIA-Linux-x86_64-275.09.07/kernel/Module.symvers -S -w  -s

   /bin/sh: scripts/mod/modpost: not found

   make[3]: *** [__modpost] Error 127

   make[2]: *** [modules] 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.



Thanks for reading this, and trying to help me. :)
 
Last edited by a moderator:
Delete the kernel source tree you downloaded.


install build-essential and linux-headers-<version you have installed>


It should now install fine.
 
Delete the kernel source tree you downloaded.


install build-essential and linux-headers-<version you have installed>


It should now install fine.

you mean the /usr/src/kernel-source-2.6.32 folder?


Btw, was it okay to pick that kernel version? I'm no pro by far, and I've been trying to figure this out for two days now.


Edit: I just tried to install those packages. build-essential was already installed, I installed linux-header a while ago but it couldn't find linux-header-2.6.32


Edit: silly me, it's headerS, downloading and installing that package now.
 
Last edited by a moderator:
Yes, that one. You should install the sources from the package manager. Check with uname what version you're running, and search for the headers with aptitude.
 
Yes, that one. You should install the sources from the package manager. Check with uname what version you're running, and search for the headers with aptitude.

THANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOU !


I owe you one high-five. :)


Edit: rebooting now, I hope it will load my nvidia driver. I think the X config is right... But I thought that last time, but I just broke everything :p


Edit again: YES! I literally did a victory dance when I saw the brief Nvidia logo splash screen!
 
Last edited by a moderator:
Just remember, it'll break every time you upgrade the kernel, so keep a copy of the .run in your ~root. Headers etc. should still be fine, so it'll only be a matter of racing through the installer at it works again.
 
Just remember, it'll break every time you upgrade the kernel, so keep a copy of the .run in your ~root. Headers etc. should still be fine, so it'll only be a matter of racing through the installer at it works again.
yeah I figured as much. Good thing I'm running debian, debian is a bit conservative when it comes to updates. (the default wine version from the repo is 1.0 ??)
 
Back
Top