nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Problems installing nForce Drivers on a Debian sid (http://www.nvnews.net/vbulletin/showthread.php?t=94151)

sebi_debian 07-01-07 01:18 PM

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)
  (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 \
  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/Makefile.build 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 www.nvidia.com.

I would be really thankful if anyone could help me:cool:

with best regards

netllama 07-01-07 01:22 PM

Re: Problems installing nForce Drivers on a Debian sid
1.0-0310 hasn't been supported in over a year. See:

sebi_debian 07-01-07 01:40 PM

Re: Problems installing nForce Drivers on a Debian sid
hm, the page you linked says

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:

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...


sebi_debian 07-02-07 11:39 AM

Re: Problems installing nForce Drivers on a Debian sid
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:

#/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

Further on, you must tell every sound application you want to use that it shall use the new output.
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!


All times are GMT -5. The time now is 03:25 PM.

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