Re: [ecasound] double buffer and kernel realtime

From: Pedro Antonio Fructuoso Merino <pfructuoso@email-addr-hidden>
Date: Wed Aug 17 2005 - 15:59:55 EEST
Kai Vehmanen escribió:
On Mon, 8 Aug 2005, Pedro Antonio Fructuoso Merino wrote:

i have another problem... if the kernel have load the  Realtime Linux Security Module or the
user is root, when i use the double buffer the computer is crash. I had tryed all i know but
the machine did`t response and i had push reset button... another one with this problem?

This sounds like a bug, and one related to SCHED_FIFO (real-time) scheduling mode. But the bug is not necessarily in ecasound as I can't reproduce it on any of my machines. What soundcard and what version of ALSA (see cat /proc/asound/{version,cards})? Does the same happen if you replace all instances of jack, alsa, and other sound devices with "rtnull"...?

Version: Advanced Linux Sound Architecture Driver Version 1.0.9rc2  (Thu Mar 24 10:33:39 2005 UTC).
Cards: 0 [I82801BAICH2   ]: ICH - Intel 82801BA-ICH2
                                                 Intel 82801BA-ICH2 with CS4299 at 0xdc00, irq 9
cpu model name: Intel(R) Pentium(R) 4 CPU 2.00GHz
Distribution: fedora 3
Kernel: 2.6.12-prep

Can`t you reproduce the problem? I use -z:db,661500 , try it. With -o rtnull the problem persists. I could see that computer block only happen when send commad "stop" (i didn`t test with cs-disconnect because i don`t want restart de computer... again).
I could see, when i didn`t use a big buffer, that when send stop the computer blocks for 2-5 seconds. So is possible that it (ecasound, alsa, kernel, mpg321...) go into an infinite bucle.

------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * _______________________________________________ Ecasound-list mailing list Ecasound-list@email-addr-hidden Received on Wed Aug 17 16:15:10 2005

This archive was generated by hypermail 2.1.8 : Wed Aug 17 2005 - 16:15:10 EEST