Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964874AbWCHB3T (ORCPT ); Tue, 7 Mar 2006 20:29:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964873AbWCHB3T (ORCPT ); Tue, 7 Mar 2006 20:29:19 -0500 Received: from web26501.mail.ukl.yahoo.com ([217.146.176.38]:8797 "HELO web26501.mail.ukl.yahoo.com") by vger.kernel.org with SMTP id S964874AbWCHB3S (ORCPT ); Tue, 7 Mar 2006 20:29:18 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=CRhOclI1uVQcNSvNRLteZpVGj6Axp2HCzvApXQiLXgMJIlI2iyLqRam/XKR6KWb5BJ4jaWRj2n2PEjM36jRRbtukWCaUtyQLHcr6CEM0p6tETbLGYXFIPvM0oonPWFk7j5UGWdJDb9QX/pn9Dinlz+dSOa60LKpCJsjmf8QkvEc= ; Message-ID: <20060308012911.21985.qmail@web26501.mail.ukl.yahoo.com> Date: Wed, 8 Mar 2006 02:29:11 +0100 (CET) From: karsten wiese Subject: RE: [Alsa-devel] Re: 2.6.15-rt18, alsa sequencer, rosegarden -> alsa hangs To: Ingo Molnar , Fernando Lopez-Lezcano Cc: linux-kernel@vger.kernel.org, alsa-devel@lists.sourceforge.net, cc@ccrma.Stanford.EDU In-Reply-To: <20060307220628.GA27536@elte.hu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-714349146-1141781351=:15006" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3166 Lines: 105 --0-714349146-1141781351=:15006 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline --- Ingo Molnar schrieb: > > * Fernando Lopez-Lezcano > wrote: > > > The symptoms are as follows: > > - start jack using qjackctl > > - start qsynth (gui front end for fluidsynth, a > synth) > > - start rosegarden (midi sequencer and audio > recorder) > > - load a midi file into rosegarden > > - midi file plays successfully > > - close rosegarden > > at this point one of the threads of rosegarden fails to > exit and stays > > forever in the process list, in a ps axuw it shows as: > > > > nando 5484 0.0 0.0 0 0 pts/1 D 13:32 0:00 > [rosegardenseque] > > > > Anything else that I try to stop that touches the alsa > sequencer never > > dies (qjackctl, vkeybd, qsynth, etc). Anything I try to > start that tries > > to use it does not start. This happened with two widely > different > > could you get a tasklist-dump? It's either SysRq-T, or: > > echo t > /proc/sysrq-trigger > > that should dump all tasks and their backtraces - > including the hung > rosegardensequencer task. > I had similar symptoms here (FC4) and cured them with attached patch against linux/2.6.15/rt18/kernel/softirq.c. Its in rt19 and ++ i think. Karsten ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de --0-714349146-1141781351=:15006 Content-Type: text/x-diff; name="patch_rt-18___tasklet_common_schedule.diff" Content-Description: 2951293989-patch_rt-18___tasklet_common_schedule.diff Content-Disposition: inline; filename="patch_rt-18___tasklet_common_schedule.diff" --- /tmp/softirq.c~ 2006-02-28 20:17:03.000000000 +0100 +++ /tmp/softirq.c 2006-02-28 20:17:03.000000000 +0100 @@ -351,13 +351,13 @@ static DEFINE_PER_CPU(struct tasklet_head, tasklet_hi_vec) = { NULL }; static void inline -__tasklet_common_schedule(struct tasklet_struct *t, struct tasklet_head *head) +__tasklet_common_schedule(struct tasklet_struct *t, struct tasklet_head *head, unsigned int nr) { if (tasklet_trylock(t)) { WARN_ON(t->next != NULL); t->next = head->list; head->list = t; - raise_softirq_irqoff(TASKLET_SOFTIRQ); + raise_softirq_irqoff(nr); tasklet_unlock(t); } } @@ -367,7 +367,7 @@ unsigned long flags; raw_local_irq_save(flags); - __tasklet_common_schedule(t, &__get_cpu_var(tasklet_vec)); + __tasklet_common_schedule(t, &__get_cpu_var(tasklet_vec), TASKLET_SOFTIRQ); raw_local_irq_restore(flags); } @@ -378,7 +378,7 @@ unsigned long flags; raw_local_irq_save(flags); - __tasklet_common_schedule(t, &__get_cpu_var(tasklet_hi_vec)); + __tasklet_common_schedule(t, &__get_cpu_var(tasklet_hi_vec), HI_SOFTIRQ); raw_local_irq_restore(flags); } --0-714349146-1141781351=:15006-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/