[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Kernel 2.6.x in next RHL version. (Was: Re: First message >:)

On Tue, Jul 22, 2003 at 01:20:34AM +0200, Fliciano Matias wrote:
> http://freshrpms.net/ provides Alsa rpm (version 0.9.4) :
> http://freshrpms.net/docs/alsa/
> But the true question is : if RedHat plan to use Alsa with Linux 2.6, i
> don't need to fill a RFE in bugzilla.
Well, from what I've understood OSS is going to be deprecated (but still
exist) in 2.6 so it's not like there will be much of a choice :-)

Btw., in case someone wants to use ALSA in Cambridge, you need a few minor 
tweaks, drivers/serialmidi.c needs:

--- ./drivers/serialmidi.c~     2003-05-08 18:53:43.000000000 +0300
+++ ./drivers/serialmidi.c      2003-05-08 18:53:43.000000000 +0300
@@ -155,7 +155,7 @@
                retval = -EIO;
                goto __end;
-       if (tty->count > 1) {
+       if (atomic_read(&tty->count) > 1) {
                snd_printk(KERN_ERR "tty %s is already used", serial->sdev);
                retval = -EBUSY;
                goto __end;

to work with the recent Red Hat kernels and exec-shield breaks quite a 
few apps that use alsa-lib (it uses a gcc extension that puts code on the 
stack, which is a no-no). Solutions are chstk -e your alsa apps, disable 
exec-shield or fix alsa-lib. 

Other than that, it works just fine. 

Pekka Pietikainen

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]