Ubuntu 6.10 - Nybörjarhjälp med ljud på AM2 moderkort

pepso
Inlägg: 5
Blev medlem: 18 feb 2007, 10:41

Ubuntu 6.10 - Nybörjarhjälp med ljud på AM2 moderkort

Inlägg av pepso »

Jag har precis installerat Ubuntu 6.10 för AMD64 på mitt Asus M2NPV-VM AM2 moderkort.

Det inbyggda nätverkeskortet fungerade direkt. Grafiken fick jag igång genom att ladda ner NVidia drivrutinerna via Synatic.

Dock så fungerar inte ljudet. Jag har laddat ner chipsetdrivrutierna från Asus:
NFORCE-Linux-x86_64-1[1].0-0311-pkg1.run

Jag kan starta en installation i Terminaln när jag loggat in som root... men sen tar det stopp.
Det här är förmodligen banalt för dom som kan det. Men jag behöver hjälp med hur jag kommer vidare.

Jag får upp den här texten:

Please select packages for installation:
    [*] NVIDIA audio driver for Linux-x86_64 (1.0-8)
    [*] NVIDIA network driver for Linux-x86_64 (1.0-13)
                                                    OK

No precompiled kernel interface was found to match your kernel; this means that the installer will need to compile a new kernel interface.
                                                    OK

ERROR: You do not appear to have libc header files installed on your system.  Please install your  distribution's libc development package.
                                                    OK

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 <a class="postlink" href="http://www.nvidia.com">http://www.nvidia.com</a>.
                                                    OK
Användarvisningsbild
DeepThought
Inlägg: 2769
Blev medlem: 19 dec 2006, 11:07
OS: Arch Linux
Ort: Göteborg

SV: Ubuntu 6.10 - Nybörjarhjälp med ljud på AM2 moderkort

Inlägg av DeepThought »

Testa att installera paketet "build-essential", det bör räcka, plus att du kommer att få mindre problem om du skall bygga något från källkod i framtiden. ;)

Om du inte vill installera hela build-essential så kanske det räcker att installera paketet "libc" (det heter antagligen "libc6") och paketet "libc6-dev". Dock är jag inte säker.

Felmeddelandet du får betyder just att du inte har utvecklingsbiblioteket för C installerat, eftersom installationen verkar använda det.
WE WILL ALWAYS BE SO MUCH MORE HUMAN THAN WE WISH TO BE...
pepso
Inlägg: 5
Blev medlem: 18 feb 2007, 10:41

SV: Ubuntu 6.10 - Nybörjarhjälp med ljud på AM2 moderkort

Inlägg av pepso »

Jag provade att lägga till "build-essential" och nu gick det lite längre, men det funkar fortfarande inte

Efter det at det står "No precompiled kernel interface was found..." och man trycker på ok så står det:
"Building Kernel module:"
och en stapel går upp till 100%.

Tyvärr så blir dock bara resultatet:
"ERROR: The NVIDIA kernel module was not created".

Några fler förslag på hur man gör? jag har sett att det finns folk som kör Ubuntu 6.10 på Asus M2NPV-VM moderkort så det ska tydligen gå.
pepso
Inlägg: 5
Blev medlem: 18 feb 2007, 10:41

SV: Ubuntu 6.10 - Nybörjarhjälp med ljud på AM2 moderkort

Inlägg av pepso »

Jag hittade en annan person som hade samma fel som jag:
http://blog.thedebianuser.org/?p=155

Tyvärr så förstår jag inte riktigt det här:
“noapic” into the “kernel” line of /boot/grub/menu.lst

Kan någon förklara vad jag ska skiva...
Användarvisningsbild
DeepThought
Inlägg: 2769
Blev medlem: 19 dec 2006, 11:07
OS: Arch Linux
Ort: Göteborg

SV: Ubuntu 6.10 - Nybörjarhjälp med ljud på AM2 moderkort

Inlägg av DeepThought »

Uh :( Kan du kolla vad som står i "/var/log/nvidia-nforce-installer.log" och posta det här?

Tyvärr har jag inte tid att förklara hur du gör det där med GRUB, eftersom jag måste iväg nu. Någon annan kan säkert förklara (eller så förösker jag lösa det när jag kommer hem) :) (om du vill klura själv så går det iallafall ut på att du skall ändra i filen /boot/grub/menu.lst, men se till att du tar backup om du testar! och se till att ha LiveCDn till hands.)

Lycka till!
WE WILL ALWAYS BE SO MUCH MORE HUMAN THAN WE WISH TO BE...
pepso
Inlägg: 5
Blev medlem: 18 feb 2007, 10:41

SV: Ubuntu 6.10 - Nybörjarhjälp med ljud på AM2 moderkort

Inlägg av pepso »

DeepThought skrev: Uh :( Kan du kolla vad som står i "/var/log/nvidia-nforce-installer.log" och posta det här?
Det står (ganska mycket):

nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Sun Feb 18 17:58:28 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_64
-> Found package NVIDIA network driver for Linux-x86_64
-> Please select packages for installation:
  Selections:
  NVIDIA audio driver for Linux-x86_64 (1.0-8)
-> Starting install of NVIDIA audio driver for Linux-x86_64
-> Checking for loaded module nvsound
-> Checking for loaded module nvaudio
-> License accepted.
-> Skipping check for conflicting rpms.
-> /proc/version is Linux version 2.6.17-11-generic (root@king) (gcc version
  4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #2 SMP Thu Feb 1
  18:03:05 UTC 2007 (Ubuntu 2.6.17-11.35-generic)
-> 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.17-11-generic/build'
-> Kernel output path: '/lib/modules/2.6.17-11-generic/build'
-> Performing cc_version_check with CC="cc".
-> running command /bin/grep "^PATCHLEVEL ="
  /lib/modules/2.6.17-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.17-11-gen
  eric/build SYSOUT=/lib/modules/2.6.17-11-generic/build'...
  make -C /lib/modules/2.6.17-11-generic/build \
  KBUILD_SRC=/usr/src/linux-headers-2.6.17-11-generic \
  KBUILD_EXTMOD="/tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/ma
  in" -f /usr/src/linux-headers-2.6.17-11-generic/Makefile modules
  mkdir -p /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/.tmp
  _versions
  rm -f /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/.tmp_ve
  rsions/*
  make -f /usr/src/linux-headers-2.6.17-11-generic/scripts/Makefile.build obj=
  /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main
    cc -Wp,-MD,/tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/
  .nvalinux.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.2/includ
  e -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.17-11-gener
  ic/include -include include/linux/autoconf.h  -I/tmp/selfgz4841/NFORCE-Linux
  -x86_64-1.0-0311-pkg1/nvsound/main -Wall -Wundef -Wstrict-prototypes -Wno-tr
  igraphs -fno-strict-aliasing -fno-common -fno-stack-protector -O2 -fomit-fra
  me-pointer -fa
  synchronous-unwind-tables -mtune=generic -m64 -mno-red-zone -mcmodel=kernel
  -pipe -ffunction-sections -fno-reorder-blocks -Wno-sign-compare -funit-at-a-
  time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wdeclaration-after-statement -W
  no-pointer-sign  -I/tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-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 -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD
  _BASENAME=KBUILD_STR(nvalinux)"  -D"KBUILD_MODNAME=KBUILD_STR(nvsound)" -c -
  o /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/.tmp_nvalin
  ux.o /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/nvalinux
  .c
  In file included from include/linux/list.h:7,
                  from include/linux/wait.h:22,
                  from include/asm/semaphore.h:42,
                  from include/linux/sched.h:57,
                  from include/linux/module.h:9,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvalinux.c:19:
  include/linux/prefetch.h: In function :
  include/linux/prefetch.h:62: warning: pointer of type  used in a
  rithmetic
  In file included from include/asm/elf.h:11,
                  from include/linux/elf.h:7,
                  from include/linux/module.h:16,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvalinux.c:19:
  include/asm/compat.h: In function :
  include/asm/compat.h:202: warning: pointer of type  used in arit
  hmetic
  In file included from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvalinux.c:25:
  include/asm/io.h: In function :
  include/asm/io.h:275: warning: wrong type argument to increment
  In file included from include/asm/pci.h:92,
                  from include/linux/pci.h:686,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvalinux.c:29:
  include/asm-generic/pci-dma-compat.h: In function :
  include/asm-generic/pci-dma-compat.h:49: warning: pointer of type
  used in arithmetic
  /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/nvalinux.c: I
  n function :
  /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/nvalinux.c:71
  0: warning: unused variable
  /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/nvalinux.c: A
  t top level:
  /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/nvavm.h:208:
  warning:  defined but not used
    cc -Wp,-MD,/tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/
  .nvmixer.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include
  -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.17-11-generic
  /include -include include/linux/autoconf.h  -I/tmp/selfgz4841/NFORCE-Linux-x
  86_64-1.0-0311-pkg1/nvsound/main -Wall -Wundef -Wstrict-prototypes -Wno-trig
  raphs -fno-strict-
  aliasing -fno-common -fno-stack-protector -O2 -fomit-frame-pointer -fasynchr
  onous-unwind-tables -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe
  -ffunction-sections -fno-reorder-blocks -Wno-sign-compare -funit-at-a-time -
  mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wdeclaration-after-statement -Wno-poi
  nter-sign  -I/tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main
  -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth
  eses -Wpointer-arith -Wno-multichar -Werror -O -MD -Wno-cast-qual -Wno-error
  -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENA
  ME=KBUILD_STR(nvmixer)"  -D"KBUILD_MODNAME=KBUILD_STR(nvsound)" -c -o /tmp/s
  elfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/.tmp_nvmixer.o /tmp
  /selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/nvmixer.c
  In file included from include/linux/list.h:7,
                  from include/linux/wait.h:22,
                  from include/asm/semaphore.h:42,
                  from include/linux/sched.h:57,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvhw.h:29,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvmixer.c:14:
  include/linux/prefetch.h: In function :
  include/linux/prefetch.h:62: warning: pointer of type  used in a
  rithmetic
  In file included from include/asm/elf.h:11,
                  from include/linux/elf.h:7,
                  from include/linux/module.h:16,
                  from include/linux/device.h:19,
                  from include/linux/pci.h:53,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvhw.h:35,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvmixer.c:14:
  include/asm/compat.h: In function :
  include/asm/compat.h:202: warning: pointer of type  used in arit
  hmetic
  In file included from include/linux/dmapool.h:14,
                  from include/linux/pci.h:559,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvhw.h:35,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvmixer.c:14:
  include/asm/io.h: In function :
  include/asm/io.h:275: warning: wrong type argument to increment
  In file included from include/asm/pci.h:92,
                  from include/linux/pci.h:686,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvhw.h:35,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvmixer.c:14:
  include/asm-generic/pci-dma-compat.h: In function :
  include/asm-generic/pci-dma-compat.h:49: warning: pointer of type
  used in arithmetic
    cc -Wp,-MD,/tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/
  .nvmain.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include
  -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.17-11-generic
  /include -include include/linux/autoconf.h
  -I/tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main -Wall -Wun
  def -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fno
  -stack-protector -O2 -fomit-frame-pointer -fasynchronous-unwind-tables -mtun
  e=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -ffunction-sections -fno-
  reorder-blocks -Wno-sign-compare -funit-at-a-time -mno-sse -mno-mmx -mno-sse
  2 -mno-3dnow -Wdeclaration-after-statement -Wno-pointer-sign  -I/tmp/selfgz4
  841/NFORCE-Linux-x86_64-1.0-0311-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_CHANGE_PAGE_ATTR_PR
  ESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvmain)" 
  -D"KBUILD_MODNAME=KBUILD_STR(nvsound)" -c -o /tmp/selfgz4841/NFORCE-Linux-x8
  6_64-1.0-0311-pkg1/nvsound/main/.tmp_nvmain.o /tmp/selfgz4841/NFORCE-Linux-x
  86_64-1.0-0311-pkg1/nvsound/main/nvmain.c
  In file included from include/linux/list.h:7,
                  from include/linux/wait.h:22,
                  from include/asm/semaphore.h:42,
                  from include/linux/sched.h:57,
                  from include/linux/module.h:9,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvmain.c:27:
  include/linux/prefetch.h: In function :
  include/linux/prefetch.h:62: warning: pointer of type  used in a
  rithmetic
  In file included from include/asm/elf.h:11,
                  from include/linux/elf.h:7,
                  from include/linux/module.h:16,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvmain.c:27:
  include/asm/compat.h: In function :
  include/asm/compat.h:202: warning: pointer of type  used in arit
  hmetic
  In file included from include/linux/dmapool.h:14,
                  from include/linux/pci.h:559,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvhw.h:35,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvmain.c:29:
  include/asm/io.h: In function :
  include/asm/io.h:275: warning: wrong type argument to increment
  In file included from include/asm/pci.h:92,
                  from include/linux/pci.h:686,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvhw.h:35,
                  from /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main/nvmain.c:29:
  include/asm-generic/pci-dma-compat.h: In function :
  include/asm-generic/pci-dma-compat.h:49: warning: pointer of type
  used in arithmetic
  /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/nvmain.c: In
  function :
  /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/nvmain.c:991:
  warning: implicit declaration of function
  /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/nvmain.c: At
  top level:
  /tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main/nvmain.c:2205
  : error: expected  before string constant
  make[4]: *** [/tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvsound/main
  /nvmain.o] Fel 1
  make[3]: *** [_module_/tmp/selfgz4841/NFORCE-Linux-x86_64-1.0-0311-pkg1/nvso
  und/main] Fel 2
  make[2]: *** [modules] Fel 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 <a class="postlink" href="http://www.nvidia.com">http://www.nvidia.com</a>.
Skriv svar

Återgå till "För nybörjaren - inaktuell"