Kirjoittaja Aihe: NVIDIA & Audio-ajurin asennus  (Luettu 2070 kertaa)

mustis

  • Käyttäjä
  • Viestejä: 82
    • Profiili
NVIDIA & Audio-ajurin asennus
« : 28.02.09 - klo:12.49 »
Moi !

Minulla on emolevynä Asuksen M2N-e sli. Otin yhteyttä Asuksen tuotetukeen, koska integroidun äänikortin (CM6501) SPDIF ei toimi ALSA-ajureilla. Asuksen tuotetuki lähetti minulle seuraavan linkin ja ehdotti 32-bit audio-ajureiden asentamista.

http://dlsvr04.asus.com/pub/ASUS/mb/socketAM2/M2N-E%20SLI/LinuxDrivers.zip

Yritin asentaa audio-ajuria, mutta tämä ei onnistunut. Ohessa saamani log-file :

nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Sat Feb 28 08:23:00 2009

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-8)
-> 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.27-11-generic (buildd@rothera) (gcc
   version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) ) #1 SMP Thu Jan 29 19:24:39 UTC 2009
-> 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.27-11-generic/build'
-> Kernel output path: '/lib/modules/2.6.27-11-generic/build'
-> Performing cc_version_check with CC="cc".
-> running command /bin/grep "^PATCHLEVEL ="
   /lib/modules/2.6.27-11-generic/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.27-11-gen
   eric/build SYSOUT=/lib/modules/2.6.27-11-generic/build'...
   make -C /lib/modules/2.6.27-11-generic/build \
      KBUILD_SRC=/usr/src/linux-headers-2.6.27-11-generic \
      KBUILD_EXTMOD="/tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main"
   -f /usr/src/linux-headers-2.6.27-11-generic/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/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/.tmp_ve
   rsions ; rm -f /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/.
   tmp_versions/*
   make -f /usr/src/linux-headers-2.6.27-11-generic/scripts/Makefile.build obj=
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main
     cc -Wp,-MD,/tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/.nv
   alinux.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.2/include -D_
   _KERNEL__ -I/usr/src/linux-headers-lbm- -Iinclude -Iinclude2 -I/usr/src/linu
   x-headers-2.6.27-11-generic/include -I/usr/src/linux-headers-2.6.27-11-gener
   ic/arch/x86/include -include include/linux/autoconf.h -Iubuntu/include -I/us
   r/src/linux-headers-2.6.27-11-generic/ubuntu/include  -I/tmp/selfgz8333/NFOR
   CE-Linux-x86-1.0-0311-pkg1/nvsound/main -Wall -Wundef -Wstrict-prototypes -W
   no-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-decl
   aration -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-st
   ack-boundary=2 -march=i586 -mtune=generic -ffreestanding -pipe -Wno-sign-com
   pare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
   -I/usr/src/linux-headers-2.6.27-11-generic/include/asm-x86/mach-default -Iin
   clude/asm-x86/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno
   -optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign
   -I/tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main -Wall -Wimplic
   it -Wreturn-type -Wsw
   itch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar
   -Werror -O -MD -Wno-cast-qual -Wno-error -DNV_CHANGE_PAGE_ATTR_PRESENT -DMOD
   ULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvalinux)"  -D"KBUILD
   _MODNAME=KBUILD_STR(nvsound)" -c -o /tmp/selfgz8333/NFORCE-Linux-x86-1.0-031
   1-pkg1/nvsound/main/.tmp_nvalinux.o /tmp/selfgz8333/NFORCE-Linux-x86-1.0-031
   1-pkg1/nvsound/main/nvalinux.c
   In file included from include/linux/bitops.h:17,
                    from include/asm/cpufeature.h:123,
                    from include/asm/processor.h:16,
                    from include/linux/prefetch.h:14,
                    from include/linux/list.h:6,
                    from include/linux/module.h:9,
                    from /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound
   /main/nvalinux.c:19:
   include/asm/bitops.h: In function ‘set_bit’:
   include/asm/bitops.h:60: warning: pointer of type ‘void *’ used in arith
   metic
   include/asm/bitops.h: In function ‘clear_bit’:
   include/asm/bitops.h:97: warning: pointer of type ‘void *’ used in arith
   metic
   In file included from include/linux/list.h:6,
                    from include/linux/module.h:9,
                    from /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound
   /main/nvalinux.c:19:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/asm/dma-mapping.h:9,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:94,
                    from include/linux/pci.h:989,
                    from /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound
   /main/nvalinux.c:29:
   include/linux/scatterlist.h: In function ‘sg_virt’:
   include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
   in arithmetic
   In file included from include/linux/smp_lock.h:5,
                    from include/linux/hardirq.h:5,
                    from include/linux/interrupt.h:11,
                    from /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound
   /main/nvalinux.c:30:
   include/linux/sched.h: In function ‘object_is_on_stack’:
   include/linux/sched.h:1975: warning: pointer of type ‘void *’ used in ar
   ithmetic
   In file included from /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound
   /main/nvalinux.c:37:
   include/linux/highmem.h: In function ‘zero_user_segments’:
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/asm/i387.h:15,
                    from /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound
   /main/nvalinux.c:47:
   include/linux/regset.h: In function ‘user_regset_copyout’:
   include/linux/regset.h:230: warning: pointer of type ‘void *’ used in ar
   ithmetic
   include/linux/regset.h:233: warning: pointer of type ‘void *’ used in ar
   ithmetic
   include/linux/regset.h:237: warning: pointer of type ‘void *’ used in ar
   ithmetic
   include/linux/regset.h: In function ‘user_regset_copyin’:
   include/linux/regset.h:255: warning: pointer of type ‘void *’ used in ar
   ithmetic
   include/linux/regset.h:258: warning: pointer of type ‘void *’ used in ar
   ithmetic
   include/linux/regset.h:262: warning: pointer of type ‘void *’ used in ar
   ithmetic
   include/linux/regset.h: In function ‘user_regset_copyout_zero’:
   include/linux/regset.h:287: warning: pointer of type ‘void *’ used in ar
   ithmetic
   include/linux/regset.h:291: warning: pointer of type ‘void *’ used in ar
   ithmetic
   include/linux/regset.h: In function ‘user_regset_copyin_ignore’:
   include/linux/regset.h:312: warning: pointer of type ‘void *’ used in ar
   ithmetic
   include/linux/regset.h:314: warning: pointer of type ‘void *’ used in ar
   ithmetic
   In file included from /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound
   /main/nvalinux.c:49:
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvalinux.h: At t
   op level:
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvalinux.h:46: e
   rror: conflicting types for ‘uintptr_t’
   include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was
   here
   In file included from /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound
   /main/nvalinux.c:69:
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvavm.h: In func
   tion ‘nv_flush_caches’:
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvavm.h:215: err
   or: implicit declaration of function ‘global_flush_tlb’
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvavm.h: In func
   tion ‘NV_SET_PAGE_ATTRIB_UNCACHED’:
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvavm.h:234: err
   or: implicit declaration of function ‘change_page_attr’
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvalinux.c: In f
   unction ‘AosFpuSave’:
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvalinux.c:181:
   error: ‘struct task_struct’ has no member named ‘thread_info’
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvalinux.c:185:
   error: ‘struct thread_struct’ has no member named ‘i387’
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvalinux.c:189:
   error: ‘struct thread_struct’ has no member named ‘i387’
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvalinux.c:191:
   error: ‘struct task_struct’ has no member named ‘thread_info’
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvalinux.c:214:
   error: ‘struct task_struct’ has no member named ‘thread_info’
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvalinux.c:183:
   error: invalid lvalue in asm output 0
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvalinux.c:187:
   error: invalid lvalue in asm output 0
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvalinux.c: In f
   unction ‘AosFpuRestore’:
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvalinux.c:234:
   error: ‘struct task_struct’ has no member named ‘thread_info’
   /tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nvalinux.c:235:
   error: ‘struct task_struct’ has no member named ‘thread_info’
   make[4]: *** [/tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound/main/nv
   alinux.o] Error 1
   make[3]: *** [_module_/tmp/selfgz8333/NFORCE-Linux-x86-1.0-0311-pkg1/nvsound
   /main] Error 2
   make[2]: *** [sub-make] Error 2
-> Error.

Löytyykö asiantuntijaa, joka osaisi kertoa kuinka tuon audio-ajurin saisi asennettua ja SPDIF:n toimimaan, jotta saisin yhdistettyä äänikortin ulkoiseen vahvistimeen digitaalisena ?

Kiitos neuvoista jo etukäteen !