HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Problems installing NForce4 sound drivers (http://www.howtoforge.com/forums/showthread.php?t=3686)

Wraithfire 13th April 2006 11:07

Problems installing NForce4 sound drivers
 
I'm trying to install Nvidia's Nforce4 sound drivers on my Debian sarge amd64, but i keep having a problem with nvidia's installer (some snipping done for size limits):
option status:
/proc/version is Linux version 2.6.16.1 (root@Hellfury) (gcc version 3.3.5
(Debian 1:3.3.5-13)) #1 PREEMPT Wed Apr 12 00:17:50 PDT 2006
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.16.1/source'
Kernel output path: '/lib/modules/2.6.16.1/build'
Performing cc_version_check with CC="cc".
running command /bin/grep "^PATCHLEVEL ="
/lib/modules/2.6.16.1/source/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.16.1/sour
ce SYSOUT=/lib/modules/2.6.16.1/build'...
make -C /lib/modules/2.6.16.1/build \
KBUILD_SRC=/usr/src/linux-2.6.16.1 \
KBUILD_EXTMOD="/tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/mai
n" -f /usr/src/linux-2.6.16.1/Makefile modules
mkdir -p /tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/.tmp
_versions
make -f /usr/src/linux-2.6.16.1/scripts/Makefile.build obj=/tmp/selfgz5448/N
FORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main
cc -Wp,-MD,/tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/
.nvalinux.o.d -nostdinc -isystem /usr/lib/gcc-lib/x86_64-linux/3.3.5/includ
e -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.16.1/include -inclu
de include/linux/autoconf.h -I/tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-
pkg1/nvsound/main -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stri
ct-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -m64 -mno-re
d-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asyn
chronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -I/tmp/selfgz
5448/NFOR
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvso
und/main/nvhw.h:35,
from /tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvso
und/main/nvmain.c:29:
include/asm/io.h: In function `check_signature':
include/asm/io.h:308: warning: wrong type argument to increment
In file included from include/asm/pci.h:93,
from include/linux/pci.h:648,
from /tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvso
und/main/nvhw.h:35,
from /tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvso
und/main/nvmain.c:29:
include/asm-generic/pci-dma-compat.h: In function `pci_map_page':
include/asm-generic/pci-dma-compat.h:49: warning: pointer of type `void *' u
sed in arithmetic
/tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/nvmain.c: In
function `Nvaudio_mmap':
/tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/nvmain.c:991:
warning: implicit declaration of function `remap_page_range'
ld -m elf_x86_64 -d -r -o /tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg
1/nvsound/main/nvsound.o /tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/n
vsound/main/mcpmain.o /tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvso
und/main/nvalinux.o /tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsoun
d/main/nvmixer.o /tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/m
ain/nvmain.o
Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.16.1/scripts/Makefile.modpost
scripts/mod/modpost -m -i /usr/src/linux-2.6.16.1/Module.symvers vmlinux
/tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/nvsound.o
*** Warning: "remap_page_range" [/tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-031
0-pkg1/nvsound/main/nvsound.ko] undefined!
cc -Wp,-MD,/tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/
.nvsound.mod.o.d -nostdinc -isystem /usr/lib/gcc-lib/x86_64-linux/3.3.5/inc
lude -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.16.1/include -in
clude include/linux/autoconf.h -I/usr/src/linux-2.6.16.1/ -I -Wall -Wun
def -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffr
eestanding -O2 -fomit-frame-pointer -m64 -mno-red-zone -mcmodel=kernel -pipe
-fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-s
se -mno-mmx -mno-sse2 -mno-3dnow -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KB
UILD_STR(nvsound)" -D"KBUILD_MODNAME=KBUILD_STR(nvsound)" -DMODULE -c -o /t
mp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/nvsound.mod.o /
tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/nvsound.mod.c
ld -m elf_x86_64 -r -o /tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/n
vsound/main/nvsound.ko /tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvs
ound/main/nvsound.o /tmp/selfgz5448/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsoun
d/main/nvsound.mod.o
-> done.
-> Kernel module compilation complete.
-> Testing kernel module:
-> Copying test module ./nvsound/main/nvsound.ko to
/lib/modules/2.6.16.1/kernel/sound/oss/nvsound.ko
ERROR: Unable to load the kernel module 'nvsound.ko'. This is most likely
because the kernel module was built using the wrong kernel source files.
Please make sure you have installed the kernel source files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel source
files are installed, you may specify the kernel source path with the
'--kernel-source-path' commandline option.
-> Kernel module load error: FATAL: Error inserting nvsound
(/lib/modules/2.6.16.1/kernel/sound/oss/nvsound.ko): Unknown symbol in
module, or unknown parameter (see dmesg)

and from dmesg:
[ 5660.578113] nvsound: Unknown symbol remap_page_range
[ 6045.435688] nvsound: Unknown symbol remap_page_range
[ 7846.342215] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
[ 7846.342222] hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
[ 7846.342226] ide: failed opcode was: unknown
[ 8195.150354] nvsound: Unknown symbol remap_page_range
[ 8675.832205] nvsound: Unknown symbol remap_page_range
[ 8701.541154] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
[ 8701.541161] hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
[ 8701.541164] ide: failed opcode was: unknown
[ 8725.397010] nvsound: Unknown symbol remap_page_range
[11212.828390] nvsound: Unknown symbol remap_page_range
Anyone have any suggestions or helpful links?
thanks for the support :)

falko 13th April 2006 12:52

Do you have the kernel-headers installed? Which kernel do you use? What's the output of
Code:

uname -a
?

Wraithfire 13th April 2006 17:21

Quote:

Originally Posted by falko
Do you have the kernel-headers installed? Which kernel do you use? What's the output of
Code:

uname -a
?

uname -a returns:

Linux Hellfury 2.6.16.1 #1 PREEMPT Wed Apr 12 00:17:50 PDT 2006 x86_64 GNU/Linux

but i can't seem to install kernel headers, when i
apt-cache search kernel-headers`uname -r`
nothing is returned, and when i apt-cache search kernel-headers, i can't find anything for kernel 2.6.16.1 Is it possible i might have kernel headers installed already? :confused:

falko 13th April 2006 23:10

Please run
Code:

apt-cache search linux
instead. What's the output?

Wraithfire 14th April 2006 08:39

I think this is the relevant section (big file) :)

kernel-doc-2.6.8 - Linux kernel specific documentation for version 2.6.8
kernel-headers-2.6-amd64-generic - Linux kernel headers for version 2.6 on generic x86_64 systems
kernel-headers-2.6-amd64-k8 - Linux kernel headers for version 2.6 on AMD64 systems
kernel-headers-2.6-amd64-k8-smp - Linux kernel headers for version 2.6 on AMD64 SMP systems
kernel-headers-2.6-em64t-p4 - Linux kernel headers for version 2.6 on Intel EM64T systems
kernel-headers-2.6-em64t-p4-smp - Linux kernel headers 2.6 on Intel EM64T systems
kernel-headers-2.6.8-11 - Header files related to Linux kernel version 2.6.8
kernel-headers-2.6.8-11-amd64-generic - Linux kernel headers 2.6.8 for generic x86_64 systems
kernel-headers-2.6.8-11-amd64-k8 - Linux kernel headers for version 2.6.8 on AMD64 systems
kernel-headers-2.6.8-11-amd64-k8-smp - Linux kernel headers for version 2.6.8 on AMD64 SMP systems
kernel-headers-2.6.8-11-em64t-p4 - Linux kernel headers for version 2.6.8 on Intel EM64T systems
kernel-headers-2.6.8-11-em64t-p4-smp - Linux kernel headers for version 2.6.8 on Intel EM64T SMP systems
kernel-headers-2.6.8-12 - Header files related to Linux kernel version 2.6.8
kernel-headers-2.6.8-12-amd64-generic - Linux kernel headers 2.6.8 for generic x86_64 systems
kernel-headers-2.6.8-12-amd64-k8 - Linux kernel headers for version 2.6.8 on AMD64 systems
kernel-headers-2.6.8-12-amd64-k8-smp - Linux kernel headers for version 2.6.8 on AMD64 SMP systems
kernel-headers-2.6.8-12-em64t-p4 - Linux kernel headers for version 2.6.8 on Intel EM64T systems
kernel-headers-2.6.8-12-em64t-p4-smp - Linux kernel headers for version 2.6.8 on Intel EM64T SMP systems
kernel-image-2.6-amd64-generic - Linux kernel image for version 2.6 on generic x86_64 systems
kernel-image-2.6-amd64-k8 - Linux kernel image for version 2.6 on AMD64 systems
kernel-image-2.6-amd64-k8-smp - Linux kernel image for version 2.6 on AMD64 SMP systems
kernel-image-2.6-em64t-p4 - Linux kernel image for version 2.6 on Intel EM64T systems
kernel-image-2.6-em64t-p4-smp - Linux kernel image for version 2.6 on Intel EM64T SMP systems
kernel-image-2.6.8-11-amd64-generic - Linux kernel image for version 2.6.8 on generic x86_64 systems
kernel-image-2.6.8-11-amd64-k8 - Linux kernel image for version 2.6.8 on AMD64 systems
kernel-image-2.6.8-11-amd64-k8-smp - Linux kernel image for version 2.6.8 on AMD64 SMP systems
kernel-image-2.6.8-11-em64t-p4 - Linux kernel image for version 2.6.8 on Intel EM64T systems
kernel-image-2.6.8-11-em64t-p4-smp - Linux kernel image for version 2.6.8 on Intel EM64T SMP systems
kernel-image-2.6.8-12-amd64-generic - Linux kernel image for version 2.6.8 on generic x86_64 systems
kernel-image-2.6.8-12-amd64-k8 - Linux kernel image for version 2.6.8 on AMD64 systems
kernel-image-2.6.8-12-amd64-k8-smp - Linux kernel image for version 2.6.8 on AMD64 SMP systems
kernel-image-2.6.8-12-em64t-p4 - Linux kernel image for version 2.6.8 on Intel EM64T systems
kernel-image-2.6.8-12-em64t-p4-smp - Linux kernel image for version 2.6.8 on Intel EM64T SMP systems
kernel-patch-2.4-lm-sensors - drivers to read temperature/voltage/fan sensors
kernel-patch-2.4.27-arm - Diffs to the Linux kernel source 2.4.27 for ARM
kernel-patch-2.6.8-s390 - Diffs to the Linux kernel source 2.6.8 for IBM S/390 and zSeries
kernel-patch-debian-2.4.27 - Debian patches to Linux 2.4.27
kernel-patch-debian-2.6.8 - Debian patches to Linux 2.6.8
kernel-patch-vserver - context switching virtual private servers - kernel patch
kernel-source-2.4.27 - Linux kernel source for version 2.4.27 with Debian patches
kernel-source-2.6.8 - Linux kernel source for version 2.6.8 with Debian patches
kernel-tree-2.4.27 - Linux kernel source tree for building Debian kernel images
kernel-tree-2.6.8 - Linux kernel source tree for building Debian kernel images
konsole - KDE X terminal emulator
kooka - Scanner program for KDE
ldirectord - Monitors virtual services provided by LVS
libaffix-dev - Development files for the Affix Bluetooth protocol stack
libaffix2 - Libraries for the Affix Bluetooth protocol stack
libfuse-dev - Filesystem in USErspace (development files)
libfuse2 - Filesystem in USErspace library
libsensors-dev - lm-sensors development kit
libsensors3 - library to read temperature/voltage/fan sensors
lm-sensors - utilities to read temperature/voltage/fan sensors
lm-sensors-source - kernel drivers to read temperature/voltage/fan sensors (source)
loop-aes-utils - Tools for mounting and manipulating filesystems
mason - Interactively creates a Linux packet filtering firewall.
nfs-user-server - User space NFS server
ntp-refclock - Network Time Protocol: daemon for reference clocks
openvpn - Virtual Private Network daemon
perl-suid - Runs setuid Perl scripts
racoon - IPsec IKE keying daemon
sensord - hardware sensor information logging daemon
shorewall - Shoreline Firewall (Shorewall)
systemimager-boot-i386-standard - SystemImager boot binaries for i386 client nodes
systemimager-boot-ia64-standard - SystemImager boot binaries for ia64 client nodes
systemimager-client - Utilities for creating an image and upgrading client machines
systemimager-common - Utilities and libraries common to both the server and client
systemimager-doc - Manual and other documentation
systemimager-server - Automate GNU/Linux installs and upgrades over a network
systemimager-server-flamethrowerd - SystemImager boot binaries for i386 client nodes
util-linux - Miscellaneous system utilities
util-linux-locales - Locales files for util-linux
util-vserver - tools for Virtual private servers and context switching
vlc-plugin-alsa - ALSA audio output plugin for VLC
kernel-image-2.6.16.1 - Linux kernel binary image for version 2.6.16.1.
fglrx-kernel-2.6.16.1 - ATI binary kernel module for Linux 2.6.16.1

ok, so are these things i have installed or just available for install? if this is what's available, then i'm missing the headers and source for linux then? When i built my kernel, i used your build as listed here: http://www.howtoforge.com/howto_linu...compile_debian

falko 14th April 2006 14:22

Quote:

Originally Posted by Wraithfire
When i built my kernel, i used your build as listed here: http://www.howtoforge.com/howto_linu...compile_debian

If you compiled your kernel from the sources, then the header files are already there. Then your problem is something different... :confused:

Wraithfire 14th April 2006 21:14

Is there a command to check what the kernel headers are? Come to think of it, you may be correct about them being installed already, as I WAS able to build/install ATI graphics drivers, and that requires kernel source and headers, correct? If that's not the problem I'll just have to keep playing around with it until I figure it out

Wraithfire 14th April 2006 21:27

Could it be something with the kernel source? The installer log is saying the problem is most likely that the module is being built with the wrong kernel source. Now i DO still have the old kernel (2.6.8-12) on here, could that be interfering somehow? The log file shows:

-> /proc/version is Linux version 2.6.16.1 (root@Hellfury) (gcc version 3.3.5
(Debian 1:3.3.5-13)) #1 PREEMPT Wed Apr 12 00:17:50 PDT 2006
-> 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.16.1/source'
-> Kernel output path: '/lib/modules/2.6.16.1/build'

Is this supposed to be the correct source path from your build instructions? If this is incorrect, the installer does have an option to change the source path being used. Also, should I remove the old kernel from the system? If you think it's a good idea to do that, then can you point me in the direction of some instructions on how to do so? thanks for the help :)

sbovisjb1 15th April 2006 00:50

Hmmmmm...... all i could see is that some directories were messed up pretty bad. There is a way to fix that (the nVidia Nforce sound drivers) Perhaps you should try doing that with ndiswrapper. Ndiswrapper is primarily used for installing drivers for network cards, but is also used to install other windows drivers. I suggest that you install cabextract if you want to extract the .exe files. Then try and to experiment to see wich files you need to install. Go onto forums on the internet. If that fails (wich it shouldnt), try using the ALSA drivers. And also what computer are you running. Because i had to fix up a few graphical/monitor/sound problems myself. Please post that. (not the chip, the make... HP, Dell, Sun, Toshiba, IBM, Shuttle....)

Wraithfire 15th April 2006 08:27

Well actually I built this system myself a little over a year ago :D I ordered the parts i wanted from etailers and put it all together when it arrived. I had wanted a mostly windows gaming system, and i wasn't really satisified with what i could buy at Dell or HP etc. I realized I could more of what I wanted buy building it myself, so i did. At the begining of this school semester I started taking an intro to unix class (which is ironically taught on Fedora core Linux), and I've really started liking it alot. I decided to use the hdd from the old system for a Linux build, and I found that Debian seemed to be the best match for my system, so here I am, and now i want to see what I can do with this gaming wise, and we'll see from there :)
Hmm wonder if I shoulda posted this somewhere else :confused: Ah well. Anyways, I'll just have to keep hitting the net and try to figure this out.


All times are GMT +2. The time now is 02:03.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.