Re: Re : Alsa create high problems...

From: Eddahbi Karim
Date: Tue Jan 27 2004 - 06:09:48 EST


Le ven 23/01/2004 à 09:39, Jaroslav Kysela a écrit :
> On Fri, 23 Jan 2004, Eddahbi Karim wrote:
>
> > Hiya,
> >
> > The bug is still there in 2.6.2-rc1 and I still need to do a :
> > while true; do cat /proc/asound/card0/pcm0p/sub0/*; done
> >
> > To get my sound work properly...
>
> Ok, let's go. Can you try which files exactly affects the playback?
> If you find one file, can you remove code step-by-step from routines in
> linux/sound/core/pcm.c snd*read() functions (locate function by strings
> in the proc file).
>
> I suspect that snd_pcm_stream_lock_irq() and snd_pcm_stream_unlock_irq()
> will affect this (note that you must remove these calls together).
>
> Thanks,

So here is the report :

1) The file which affects the playback is
/proc/asound/card0/pcm0p/sub0/status

2) I tried to remove only

snd_pcm_stream_lock_irq(substream);
snd_pcm_stream_unlock_irq(substream);

3) I tried to remove only
entry->c.text.read = snd_pcm_substream_proc_status_read

4) I tried to remove irq calls, substream proc calls and
proc_status_entry calls

And it still doesn't work but...

pcm.c from my 2.6.2-rc1 and pcm.c from my 2.6.0 are the same...
Or on my 2.6.0 the sound works without any problem...

I use the same elevator "deadline".

I've Preempt enabled on both...

I'll maybe try the standalone version of alsa-drivers with 2.6.2-rc1...
Btw I'll try the 2.6.2-rc2 kernel before.

Best regards,

--
Eddahbi Karim <installation_fault_association@xxxxxxxx>
Installation Fault

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/