nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Nforce 0256 driver install problem (http://www.nvnews.net/vbulletin/showthread.php?t=10216)

jimbob0i0 04-15-03 04:31 PM

Nforce 0256 driver install problem
 
I am running Redhat 9 and so I decided to try and compile this from tarball. All development packages are installed as is the kernel source. I had no problems with the new geforce drivers. When I attempt to install the new audio driver I get the following:

[root@upstairs nvaudio]# make
make nvaudio.o
make[1]: Entering directory `/home/james/nforce/nvaudio'
cc -D__KERNEL__ -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvcrush.o nvcrush.c
nvcrush.c: In function `Nvaudio_mmapwrite':
nvcrush.c:426: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nvcrush.c:426: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nvcrush.c:426: too few arguments to function `remap_page_range_R2baf18f2'
nvcrush.c: In function `Nvaudio_mmap':
nvcrush.c:465: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nvcrush.c:465: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nvcrush.c:465: too few arguments to function `remap_page_range_R2baf18f2'
make[1]: *** [nvcrush.o] Error 1
make[1]: Leaving directory `/home/james/nforce/nvaudio'
make: *** [all] Error 2


Same whether it's root or regular user. I really want to make use of teh SPDIF out on this board... any ideas? Andy?

Jelmer 04-15-03 04:37 PM

nVidia has precompiled packages for RedHat if i'm not mistaken. When you really want to compile it yourself, I sugest to build your own kernel (with a vanilla source tree) as well.

The problem is that when you build your own kernel, ac97 won't be compiled with it by default. I worked around this by including via686 sound support as a module (any other AC97 driver is possible as well)

This will place a module ac97codec.o in /lib/<kernelversion>/kernel/driver/sound/


Succes!

jimbob0i0 04-15-03 04:45 PM

Hmm ac97 audio is a module by default in Redhat 9's default kernel..... audio works but it is analog stereo - the new nforce drivers include spdif out support and that is what I am after.... the object files I have in my kernel/drivers/sound/ directory are:

ac97_codec.o aedsp16.o cs4281 gus.o msnd_classic.o pas2.o soundcore.o via82cxxx_audio.o
ac97.o ali5455.o cs46xx.o i810_audio.o msnd.o pss.o sound.o v_midi.o
aci.o audigy emu10k1 mad16.o msnd_pinnacle.o rme96xx.o sscape.o wavefront.o
ad1816.o awe_wave.o es1370.o maestro3.o nm256_audio.o sb_lib.o trident.o ymfpci.o
ad1848.o btaudio.o es1371.o maestro.o opl3.o sb.o trix.o
ad1889.o cmpci.o esssolo1.o maui.o opl3sa2.o sgalaxy.o uart401.o
adlib_card.o cs4232.o forte.o mpu401.o opl3sa.o sonicvibes.o uart6850.o

As you can see ac97_codec.o, ac97.o, i810
_audio.o etc etc are in there....

Any more suggestions? Keep them coming please... I really want this to work!

Andy Mecham 04-15-03 06:46 PM

That's a bug in the 0256 driver. It's in dev, hopefully we'll have a new version out soon.

I'm sorry for the delay...

--andy

jimbob0i0 04-15-03 07:07 PM

Thanks for the update Andy....

I'm looking forward to this finally working....

I wondered why it was not the driver presented at the nvidia site when the linux nforce link was clicked on....

Well I guess teh driver teams are nearly there :)

Cheshiremackat 04-15-03 11:28 PM

WHOA! REALLY?!?!
 
Am I reading this thread correctly? Are nforce users getting SPDIF support? I know it is something Jimbo is after, but until now it was not possible under linux... is this changing?


_CMK

Andy Mecham 04-15-03 11:30 PM

1.0-0256 has SPDIF support.

--andy

chrissi 04-16-03 03:36 AM

SuSE 8.2 on Asus A7N8X Deluxe no sound
 
Hi !

I have download the new drivers ( .rpm for SuSE 8.2 ) and install it but they don't work. The Installation was fine.

My Motherboard is an ASUS A7N8X Deluxe PCB 1.04 with Bios ver. 1003.

The NVIDIA Soundcard on A7N8X is connected on the SPDIF output with the Creative Soundblaster Extigy ( SPDIF IN ).

On windows all works.

Can everyone tell me how to configure the Driver or the SuSE 8.2 distrubution ( modules.conf etc. ) ?

At this moment i don't use the onboard components ( FireWire, NVIDIA Lan, COM 1, COM 2, LPT, Game )

Enabled are USB, 3COM, S-ATA

I only use AGP ( MSI GForce4 4600 VTD ), PCI Slot 5 / ICP-Vortex GDT 6113 RS U160 Raid Controller


CU


Chrissi

barriejcooper 05-02-03 03:51 PM

nvaudio compile problem
 
1 Attachment(s)
Same thing happened to me. It seems likely that recent kernels have changed in a way that is incompatible with the nvidia code. I am using 2.4.20-9 from RH update. However, I fixed the compilation issue with the attached file, which you are welcome to try. Use:

patch < -p0 nforce.txt

before compiling.

Digital audio is working sound now :-)


All times are GMT -5. The time now is 12:37 AM.

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