From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: ALSA + jack + xrun = kernel crash Date: Mon, 19 May 2003 18:10:02 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <1053136440.1197.213.camel@newbie.localnet.local> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Paul Davis Cc: Arthur Peters , Alsa dev list List-Id: alsa-devel@alsa-project.org At Sat, 17 May 2003 08:27:29 -0400, Paul Davis wrote: > > >Hello, I am experiencing a reletivly hard crash (SysRq works but SysRq-B > >prints a message saying it will reboot then doesn't). The crash happens > [ ... ] > >My hardware is: > >Dual PIII 1Ghz with 512M RAM on a Tyan MB. > [ .... ] > >My software is: > >ALSA drivers 0.9.3a or current CVS > > current CVS (and presumably 0.9.3a) has a severe bug with SMP > systems. i reported it last week, along with as much output as i could > get from my machine when it locked up. nobody has been able to do > anything about it since then. > > you will need to back to the cvs snapshot of april 27th to get a > working version for SMP systems. > > jaroslav or takashi - any ideas about fixing this? it's likely spin dead locks, but it's difficult to guess where this happens. after auditing the new codes, i fixed some possible dead locks. most of the fixed places, however, happen in suspend/resume conditions or timeout after 10sec, so this unlikely fixes your case. could you check whether snd_pcm_stream_linked() returns really only zero? if yes, the code path shouldn't include the complicated locks in snd_pcm_action_group(), and it will narrow the possible bugggy points much... ciao, Takashi ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge