Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-01-07, 02:18 PM   #1
sebi_debian
Registered User
 
Join Date: Jul 2007
Posts: 4
Default Problems installing nForce Drivers on a Debian sid

Hello,
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:
http://doc.gwos.org/index.php/Nvidia_nForce_SoundStorm

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
Code:
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:
   Selections:
   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)
   (waldi@debian.org) (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 \
   	KBUILD_EXTMOD="/home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
   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;								\
   	/bin/false)
   mkdir -p /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.tmp
   _versions
   rm -f /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.tmp_ve
   rsions/*
   make -f /usr/src/linux-headers-2.6.21-2-k7/scripts/Makefile.build obj=/home/
   sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main
     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
   -cast-qual -Wno-error -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRE
   SENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvalinux)" 
   -D"KBUILD_MODNAME=KBUILD_STR(nvsound)"
    -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
   linux.c
   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
   und/main/nvalinux.c:19:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
     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 
   -MD -Wno-cast-qual -Wno-error -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_
   ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvm
   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
   ORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvmixer.c
   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
   und/main/nvhw.h:29,
                    from /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvso
   und/main/nvmixer.c:14:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvso
   und/main/nvapucalls.h:22,
                    from /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvso
   und/main/nvmixer.c:15:
   /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvaioctl.h: A
   t top level:
   /home/sebi/Desktop/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvaioctl.h:21
   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 www.nvidia.com.
I would be really thankful if anyone could help me

with best regards
sebi_debian is offline   Reply With Quote
Old 07-01-07, 02:22 PM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Problems installing nForce Drivers on a Debian sid

1.0-0310 hasn't been supported in over a year. See:
http://www.nvnews.net/vbulletin/showthread.php?t=75597
netllama is offline   Reply With Quote
Old 07-01-07, 02:40 PM   #3
sebi_debian
Registered User
 
Join Date: Jul 2007
Posts: 4
Default Re: Problems installing nForce Drivers on a Debian sid

Hi,
hm, the page you linked says
Code:
and audio is supported via the i810_audio, or snd-hda-intel (for MCP55 and later chipsets) drivers
I need the old drivers because i810_audio cannot use the optical out connector - only the old nforce drivers can use the connector. The page that I linked in my first post says this, too:
Code:
The open source alsa driver (intel8x0) is not capable of hardware mixing or dolby digital encoding. I only manage to get sound from one application at the time and only in stereo and analog output. In my experience nvidias closed source oss drivers work (almost) perfectly.
I just wonder why the old driver package workes perfectly under 2.6.18 and not under 2.6.21.

But i'll try with the alsa drivers again...

regards
sebi_debian is offline   Reply With Quote
Old 07-02-07, 12:39 PM   #4
sebi_debian
Registered User
 
Join Date: Jul 2007
Posts: 4
Default Re: Problems installing nForce Drivers on a Debian sid

Hi,
after some hours of searching I finally found a solution (see http://www.alsa-project.org/alsa-doc...odule=intel8x0 for more details...).
In order to use the optical out connector with the alsa intel8x0 driver, you have to create an /etc/asound.conf file containing:
Code:
#/etc/asound.conf start: 
pcm.!default {
  type plug
  slave.pcm "dmixer"
  }
pcm.dsp0 {
  type plug
  slave.pcm "dmixer"
  }
pcm.dmixer {
  type dmix
  ipc_key 1024
 slave {
  pcm "hw:0,2"
## not always hw:0,2
## try
## cat /proc/asound/devices
## and look for
## "18: [ 0- 2]: digital audio playback"
## eg when it says
##  "16: [ 0- 0]: digital audio playback"
## you must use "hw:0,0"
  period_time 0
  period_size 1024
 buffer_size 8192
  rate 44100
  }
 bindings {
  0 0
  1 1
  }
  }

ctl.dmixer {
  type hw
  card 0
  } 
#end
Further on, you must tell every sound application you want to use that it shall use the new output.
Examples:
mplayer:

xmms

and xine:
first set the mode to "expert", otherwise you aren't able to change the audio settings!

This settings work for me:




With this settings I'm able to use the optical out connector with the alsa drivers!

regards
sebi_debian is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 10:31 PM
Problems with a GeForce4 MX 440 under Debian Iainuki NVIDIA Linux 1 09-24-02 10:27 PM
Installing nForce drivers on Debian 3.0 Doink NVIDIA Linux 4 09-14-02 09:34 PM
Debian Woody 3.0r0 and Problems with Geforce drivers vogt NVIDIA Linux 3 09-09-02 03:07 PM
Debian sid w/ nForce - X won't start questioncolon NVIDIA Linux 16 08-05-02 11:35 AM

All times are GMT -5. The time now is 04:47 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.