Go Back   nV News Forums > Linux Support Forums > General Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-28-04, 10:29 AM   #1
jcdutton
Registered User
 
Join Date: Jan 2004
Posts: 5
Default Bug in NVIDIA_nforce-1.0-0261.tar.gz

In nforce/nvaudio/nvspdif.c there is this code: -
void start_spdif(struct Nvaudio_state *state)
{
unsigned long flags;
spin_lock_irqsave(&state->lock, flags);
start_spdif(state);
spin_unlock_irqrestore(&state->lock, flags);
}

Which is obviously wrong, as it will just lock up.
A diff fix would be: -
--- nvspdif.c.org 2004-01-28 15:28:28.977486392 +0000
+++ nvspdif.c 2004-01-28 15:28:38.902977488 +0000
@@ -132,7 +132,7 @@
{
unsigned long flags;
spin_lock_irqsave(&state->lock, flags);
- start_spdif(state);
+ __start_spdif(state);
spin_unlock_irqrestore(&state->lock, flags);
}
jcdutton is offline   Reply With Quote
Old 01-30-04, 09:58 AM   #2
sphincter
Registered User
 
sphincter's Avatar
 
Join Date: Mar 2003
Posts: 154
Default

hmmm... bugs? Ya think?

Code:
make
make nvaudio.o
make[1]: Entering directory `/usr/src/nvidia/nforce/nvaudio'
cc -D__KERNEL__  -I/lib/modules/2.4.22-1.2149.nptl/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.22-1.2149.nptl/build/include/linux/modversions.h   -c -o nvhw.o nvhw.c
cc -D__KERNEL__  -I/lib/modules/2.4.22-1.2149.nptl/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.22-1.2149.nptl/build/include/linux/modversions.h   -c -o nvrec.o nvrec.c
In file included from nvhw.h:14,
                 from nvrec.c:12:
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:83:24: exponent has no digits
In file included from nvhw.h:14,
                 from nvrec.c:12:
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:83: error: syntax error before numeric constant
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:83: warning: function declaration isn't a prototype
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:84:24: exponent has no digits
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:84: error: syntax error before numeric constant
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:84: warning: function declaration isn't a prototype
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:88: error: `check_resource_R_ver_str' declared as function returning a function
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:88: warning: parameter names (without types) in function declaration
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:89:12: invalid suffix "cfb" on integer constant
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:89: error: syntax error before numeric constant
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:89: error: `request_resource_R_ver_str' declared as function returning a function
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:89: warning: function declaration isn't a prototype
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:90:26: invalid suffix "aec8c42" on integer constant
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:90: error: syntax error before numeric constant
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:90: error: `____request_resource_R_ver_str' declared as function returning a function
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:90: warning: function declaration isn't a prototype
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:91: error: syntax error before numeric constant
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:91: error: `release_resource_R_ver_str' declared as function returning a function
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:91: warning: function declaration isn't a prototype
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:98: error: `allocate_resource_R_ver_str' declared as function returning a function
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:98: warning: parameter names (without types) in function declaration
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:104:26: invalid suffix "a1a4f09" on integer constant
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:104: error: syntax error before numeric constant
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:104: error: `__request_region_R_ver_str' declared as function returning a function
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:104: warning: function declaration isn't a prototype
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:112: error: `__check_region_R_ver_str' declared as function returning a function
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:112: warning: parameter names (without types) in function declaration
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:113: error: `__release_region_R_ver_str' declared as function returning a function
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:113: warning: parameter names (without types) in function declaration
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:119:13: invalid suffix "a5a2280" on integer constant
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:119: error: syntax error before numeric constant
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:119: error: `autoirq_setup_R_ver_str' declared as function returning a function
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:119: warning: function declaration isn't a prototype
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:120:12: invalid suffix "c53" on integer constant
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:120: error: syntax error before numeric constant
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:120: error: `autoirq_report_R_ver_str' declared as function returning a function
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/ioport.h:120: warning: function declaration isn't a prototype
In file included from nvhw.h:15,
                 from nvrec.c:12:
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/sched.h:6:22: invalid suffix "b16c344" on integer constant
In file included from nvhw.h:15,
                 from nvrec.c:12:
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/sched.h:6: error: syntax error before numeric constant
/lib/modules/2.4.22-1.2149.nptl/build/include/linux/sched.h:6: warning: function declaration isn't a prototype
make[1]: *** [nvrec.o] Error 1
make[1]: Leaving directory `/usr/src/nvidia/nforce/nvaudio'
make: *** [all] Error 2
I'd just like to get it to compile.
__________________
It never gets easier, you just go faster. - Greg Lemond
sphincter is offline   Reply With Quote
Old 01-30-04, 10:29 AM   #3
jcdutton
Registered User
 
Join Date: Jan 2004
Posts: 5
Default I recommend you use alsa instead. It works for the nforce sound at least.

I recommend using the alsa drivers instead if it is sound that you want.
jcdutton is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Antialiasing bug in 31.00 drivers? Mark_fox NVIDIA Windows Graphics Drivers 7 08-26-02 03:48 PM

All times are GMT -5. The time now is 04:04 PM.


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