Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261972AbUKPNJP (ORCPT ); Tue, 16 Nov 2004 08:09:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261967AbUKPNHF (ORCPT ); Tue, 16 Nov 2004 08:07:05 -0500 Received: from mx2.elte.hu ([157.181.151.9]:29345 "EHLO mx2.elte.hu") by vger.kernel.org with ESMTP id S261980AbUKPNEY (ORCPT ); Tue, 16 Nov 2004 08:04:24 -0500 Date: Tue, 16 Nov 2004 14:16:41 +0100 From: Ingo Molnar To: Rui Nuno Capela Cc: linux-kernel@vger.kernel.org, Lee Revell , mark_h_johnson@raytheon.com, "K.R. Foley" , Bill Huey , Adam Heath , Florian Schmidt , Thomas Gleixner , Michal Schmidt , Fernando Pablo Lopez-Lezcano , Karsten Wiese , Gunther Persoons , emann@mrv.com, Shane Shrybman , Amit Shah , alsa-devel@lists.sourceforge.net Subject: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-2 Message-ID: <20041116131641.GB11053@elte.hu> References: <20041108091619.GA9897@elte.hu> <20041108165718.GA7741@elte.hu> <20041109160544.GA28242@elte.hu> <20041111144414.GA8881@elte.hu> <20041111215122.GA5885@elte.hu> <61930.195.245.190.94.1100529227.squirrel@195.245.190.94> <20041115161159.GA32580@elte.hu> <33583.195.245.190.93.1100537554.squirrel@195.245.190.93> <32825.192.168.1.5.1100558154.squirrel@192.168.1.5> <20041116104143.GA31090@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041116104143.GA31090@elte.hu> User-Agent: Mutt/1.4.1i X-ELTE-SpamVersion: MailScanner 4.31.6-itk1 (ELTE 1.2) SpamAssassin 2.63 ClamAV 0.73 X-ELTE-VirusStatus: clean X-ELTE-SpamCheck: no X-ELTE-SpamCheck-Details: score=-4.9, required 5.9, autolearn=not spam, BAYES_00 -4.90 X-ELTE-SpamLevel: X-ELTE-SpamScore: -4 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1404 Lines: 38 * Ingo Molnar wrote: > > Already testing with RT-0.7.26-5 now. No good. Same lockup behavior on > > alsa shutdown, altought not always, but very frequently. Nothing comes > > out via serial console. Not even SysRq is of any help, pretty hard > > these lockups are. > > i'm rebasing to -rc2-mm1 currently, it should be completed today and > we'll see whether those ALSA problems are upstream related. > > is it stable if you dont unload the ALSA modules? i just found a potential problem that could cause a near-lockup during module removal. This code in __module_put_and_exit() could loop for quite long time: while (current->lock_depth != -1) unlock_kernel(); since for specifically ALSA's no-BKL purpose i've introduced the notion of ->lock_depth going below -1. So if we happen to put the module while ->lock_depth is -2, it could take quite some time for it to go down to zero again ... (and it could cause other problems as well) i fixed this in the -V0.7.27-2 release, freshly uploaded to the usual place: http://redhat.com/~mingo/realtime-preempt/ do you still see lockups with this patch? Ingo - 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/