[mdlug] nVidia integrated sound? - mepis - no luck

mdlug at wowway.com mdlug at wowway.com
Sun Nov 23 12:49:56 EST 2008


Hello I am trying to get sound to work on this admittedly cheap box.  

The hardware is integrated nVidia (I think) (or is it Intel?): 

I ran what commands I could think of to figure that out:

dean at mepis1:~$ dmesg | grep Nvid
ACPI: RSDP 000F7C00, 0014 (r0 Nvidia)
ACPI: RSDT 1BEF3040, 0038 (r1 Nvidia AWRDACPI 42302E31 AWRD        0)
ACPI: FACP 1BEF30C0, 0074 (r1 Nvidia AWRDACPI 42302E31 AWRD        0)
ACPI: MCFG 1BEF98C0, 003C (r1 Nvidia AWRDACPI 42302E31 AWRD        0)
ACPI: APIC 1BEF95C0, 0072 (r1 Nvidia AWRDACPI 42302E31 AWRD        0)
Nvidia board detected. Ignoring ACPI timer override.

dean at mepis1:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ICH [Intel ICH], device 0: Intel ICH [Intel ICH]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: ICH [Intel ICH], device 2: Intel ICH - IEC958 [Intel ICH - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

dean at mepis1:~$   lsmod | grep ac97
snd_ac97_codec         90788  1 snd_intel8x0
ac97_bus                3072  1 snd_ac97_codec
snd_pcm                62084  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd                    41316  8
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer

apt-get install alsa-base:

root at mepis1:/home/dean# apt-get install alsa-base
Reading package lists... Done
Building dependency tree... Done
alsa-base is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.

I downloaded the nVidia driver and tried to run it, and it failed:

Here I got lost, and I don't know if I'm even close.   Any ideas?

Here is the log:

nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Sun Nov 23 12:32:02 2008

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 network driver for Linux-x86
-> Found package NVIDIA audio driver for Linux-x86
-> Please select packages for installation:
   Selections:
   NVIDIA audio driver for Linux-x86 (1.0-1)
-> 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.
-> /proc/version is Linux version 2.6.22-1-mepis-smp (root at mepis-pro) (gcc
   version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP PREEMPT Mon
   Feb 18 21:44:02 EST 2008
-> 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.22-1-mepis-smp/build'
-> Kernel output path: '/lib/modules/2.6.22-1-mepis-smp/build'
-> Performing cc_version_check with CC="cc".
-> running command /bin/grep "^PATCHLEVEL ="
   /lib/modules/2.6.22-1-mepis-smp/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.22-1-mepi
   s-smp/build SYSOUT=/lib/modules/2.6.22-1-mepis-smp/build'...
   make -C /lib/modules/2.6.22-1-mepis-smp/build \
   	KBUILD_SRC=/usr/src/linux-headers-2.6.22-1-mepis-smp \
   	KBUILD_EXTMOD="/tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main
   " -f /usr/src/linux-headers-2.6.22-1-mepis-smp/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 /tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main/.tmp_v
   ersions
   rm -f /tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main/.tmp_vers
   ions/*
   make -f /usr/src/linux-headers-2.6.22-1-mepis-smp/scripts/Makefile.build obj
   =/tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main
     cc -Wp,-MD,/tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main/.n
   valinux.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D
   __KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.22-1-mepis-smp/
   include -include include/linux/autoconf.h  -I/tmp/selfgz16502/NFORCE-Linux-x
   86-1.0-0292-pkg1/nvsound/main -Wall -Wundef -Wstrict-prototypes -Wno-trigrap
   hs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -freg
   -struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=i686 -ffreest
   anding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_F
   RAME=1 -I/usr/src/linux-headers-2.6.22-1-mepis-smp/include/asm-i386/mach-def
   ault -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protect
   or -Wdeclaration-after-statement -Wno-pointer-sign  -I/tmp/selfgz16502/NFORC
   E-Linux-x86-1.0-0292-pkg1/nvsound/main -Wall -Wimplicit -Wreturn-type -Wswit
   ch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -
   Werror -O -MD -Wno-cast-qual -Wno-error -DMODULE -D"KBUILD_STR(s)=#s" -D"KBU
   ILD_BASENAME=KBUILD_STR(nvalinux)"  -D"KBUILD_MODNAME=KBUILD_STR(nvsound)" -
   c -o /tmp/selfgz165
   02/NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main/nvalinux.o /tmp/selfgz16502/N
   FORCE-Linux-x86-1.0-0292-pkg1/nvsound/main/nvalinux.c
   In file included from include/linux/list.h:8,
                    from include/linux/module.h:10,
                    from /tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsoun
   d/main/nvalinux.c:19:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
   metic
     cc -Wp,-MD,/tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main/.n
   vmixer.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D_
   _KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.22-1-mepis-smp/i
   nclude -include include/linux/autoconf.h  -I/tmp/selfgz16502/NFORCE-Linux-x8
   6-1.0-0292-pkg1/nvsound/main -Wall -Wundef -Wstrict-prototypes -Wno-trigraph
   s -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -freg-
   struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=i686 -ffreesta
   nding -maccumulate-outgoing-arg
   s -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-headers-
   2.6.22-1-mepis-smp/include/asm-i386/mach-default -Iinclude/asm-i386/mach-def
   ault -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement
   -Wno-pointer-sign  -I/tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsound
   /main -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
   arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -Wno-cast-qual -Wno
   -error -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvmixer)"
    -D"KBUILD_MODNAME=KBUILD_STR(nvsound)" -c -o /tmp/selfgz16502/NFORCE-Linux-
   x86-1.0-0292-pkg1/nvsound/main/nvmixer.o /tmp/selfgz16502/NFORCE-Linux-x86-1
   .0-0292-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 /tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsoun
   d/main/nvhw.h:16,
                    from /tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsoun
   d/main/nvmixer.c:14:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
   metic
   In file included from /tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsoun
   d/main/nvapucalls.h:22,
                    from /tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsoun
   d/main/nvmixer.c:15:
   /tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main/nvaioctl.h: At 
   top level:
   /tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main/nvaioctl.h:210:
   error: 'device_type' defined as wrong kind of tag
   /tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main/nvmixer.c: In f
   unction 'Nvaudio_private_ioctl':
   /tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main/nvmixer.c:247: 
   warning: ignoring return value of 'copy_from_user', declared with attribute 
   warn_unused_result
   make[4]: *** [/tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main/n
   vmixer.o] Error 1
   make[3]: *** [_module_/tmp/selfgz16502/NFORCE-Linux-x86-1.0-0292-pkg1/nvsoun
   d/main] Error 2
   make[2]: *** [modules] Error 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.

Thanks, Dean

















More information about the mdlug mailing list