View Single Post
Old 07-01-07, 01:18 PM   #1
Registered User
Join Date: Jul 2007
Posts: 4
Default Problems installing nForce Drivers on a Debian sid

i'm using Debian Sid/2.6.21-2-k7 with the patched nVidia graphics driver (which works fine!).
Altough, i have problems with the nforce driver.
My Soundcard is an nForce2-Ultra and so I need the NFORCE-Linux-x86-1.0-0310-pkg1 Package nvidia provides. I already applied the patch described here:

Under 2.6.18-4-486, that driver worked fine and I could use the optical out connections to my AV-Receiver.
But when I try to install the patched driver under 2.6.21-2-k7, it first goes up to 100% and then it says " ERROR: The NVIDIA kernel module was not created."
Here is my /var/log/nvidia-nforce-installer.log
nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Sun Jul  1 20:10:56 2007

option status:
  license pre-accepted      : false
  expert                    : false
  uninstall                 : false
  driver info               : false
  no precompiled interface  : false
  no ncurses color          : false
  no questions              : false
  silent                    : false
  Installer install prefix  : /usr
  kernel source path        : (not specified)
  net kernel install path   : (not specified)
  audio kernel install path : (not specified)
  proc mount point          : /proc
  ui                        : (not specified)
  tmpdir                    : /tmp

Using: nvidia-installer ncurses user interface
-> Found package NVIDIA audio driver for Linux-x86
-> Found package NVIDIA network driver for Linux-x86
-> Please select packages for installation:
   NVIDIA audio driver for Linux-x86 (1.0-7)
-> Starting install of NVIDIA audio driver for Linux-x86
-> Checking for loaded module nvsound
-> Checking for loaded module nvaudio
-> License accepted.
-> Skipping check for conflicting rpms.
-> There appears to already be an audio driver installed on your system (versio
   n: 1.0-7).  As part of installing this driver (version: 1.0-7), the existing
   driver will be uninstalled.  Are you sure you want to continue? ('no' will a
   bort installation) (Answer: Yes)
-> /proc/version is Linux version 2.6.21-2-k7 (Debian 2.6.21-5)
   ( (gcc version 4.1.3 20070601 (prerelease) (Debian
   4.1.2-12)) #1 SMP Mon Jun 25 21:37:29 UTC 2007
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.21-2-k7/build'
-> Kernel output path: '/lib/modules/2.6.21-2-k7/build'
-> Performing cc_version_check with CC="cc".
-> running command /bin/grep "^PATCHLEVEL ="
   /lib/modules/2.6.21-2-k7/build/Makefile | /usr/bin/cut -d " " -f 3
-> Kernel module filename is nvsound.ko
   Cleaning kernel module build directory.
   executing: 'cd ./nvsound/main; make clean'...
   rm -f *.ko *mod.* *.cmd nv*.o *~ core
-> Building kernel module:
   executing: 'cd ./nvsound/main; make module SYSSRC=/lib/modules/2.6.21-2-k7/b
   uild SYSOUT=/lib/modules/2.6.21-2-k7/build'...
   make -C /lib/modules/2.6.21-2-k7/build \
   	KBUILD_SRC=/usr/src/linux-headers-2.6.21-2-k7 \
   in" -f /usr/src/linux-headers-2.6.21-2-k7/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;								\
   mkdir -p /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.tmp
   rm -f /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.tmp_ve
   make -f /usr/src/linux-headers-2.6.21-2-k7/scripts/ obj=/home/
     cc -Wp,-MD,/home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/
   .nvalinux.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include 
   -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.21-2-k7/inclu
   de -include include/linux/autoconf.h  -I/home/sebi/Desktop/NFORCE-Linux-x86-
   1.0-0310-pkg1/nvsound/main -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
   -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -freg-st
   ruct-return -mpreferred-stack-boundary=2 -march=athlon -ffreestanding -maccu
   mulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr
   /src/linux-headers-2.6.21-2-k7/include/asm-i386/mach-default -Iinclude/asm-i
   386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-aft
   er-statement -Wno-pointer-sign  -I/home/sebi/Desktop/NFORCE-Linux-x86-1.0-03
   10-pkg1/nvsound/main -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar
   -subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -Wno
    -c -o /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.tmp_n
   valinux.o /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nva
   In file included from include/linux/list.h:8,
                    from include/linux/module.h:10,
                    from /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvso
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
     cc -Wp,-MD,/home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/
   .nvmixer.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -
   D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.21-2-k7/includ
   e -include include/linux/autoconf.h  -I/home/sebi/Desktop/NFORCE-Linux-x86-1
   .0-0310-pkg1/nvsound/main -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -
   fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -freg-str
   uct-return -mpreferred-stack-boundary=2 -march=athlon -ffreestandin
   g -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=
   1 -I/usr/src/linux-headers-2.6.21-2-k7/include/asm-i386/mach-default -Iinclu
   de/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclara
   tion-after-statement -Wno-pointer-sign  -I/home/sebi/Desktop/NFORCE-Linux-x8
   6-1.0-0310-pkg1/nvsound/main -Wall -Wimplicit -Wreturn-type -Wswitch -Wforma
   t -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O 
   ixer)"  -D"KBUILD_MODNAME=KBUILD_STR(nvsound)" -c -o /home/sebi/Desktop/NFOR
   CE-Linux-x86-1.0-0310-pkg1/nvsound/main/.tmp_nvmixer.o /home/sebi/Desktop/NF
   In file included from include/linux/list.h:8,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:59,
                    from /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvso
                    from /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvso
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   In file included from /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvso
                    from /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvso
   /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvaioctl.h: A
   t top level:
   8: error: ‘device_type’ defined as wrong kind of tag
   make[4]: *** [/home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main
   /nvmixer.o] Fehler 1
   make[3]: *** [_module_/home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvso
   und/main] Fehler 2
   make[2]: *** [modules] Fehler 2
-> Error.
ERROR: The NVIDIA kernel module was not created.
ERROR: Installation of the audio driver has failed.  Please see the file
       '/var/log/nvidia-nforce-installer.log' for details.  You may find
       suggestions on  fixing installation problems in the README available on
       the Linux driver download page at
I would be really thankful if anyone could help me

with best regards
sebi_debian is offline   Reply With Quote