Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262083AbTHTSDy (ORCPT ); Wed, 20 Aug 2003 14:03:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262124AbTHTSDy (ORCPT ); Wed, 20 Aug 2003 14:03:54 -0400 Received: from waste.org ([209.173.204.2]:15565 "EHLO waste.org") by vger.kernel.org with ESMTP id S262083AbTHTSDw (ORCPT ); Wed, 20 Aug 2003 14:03:52 -0400 Date: Wed, 20 Aug 2003 13:03:47 -0500 From: Matt Mackall To: "Hmamouche, Youssef" Cc: linux-kernel@vger.kernel.org Subject: Re: sleeping function called from invalid context include/linux/rwsem.h:43 Message-ID: <20030820180347.GC23889@waste.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2214 Lines: 58 On Wed, Aug 20, 2003 at 01:38:09AM -0500, Hmamouche, Youssef wrote: > > Hi, > > I get this debug message right before the oops(Oops linux-2.6.0-test3 > sound) that I sent earlier to the list. When this Debug message happens > before the oops, the system freezes. All of this is related to the > Maestro3.c sound card. I've ran 2.4{16, 20, 21, 22-pre8} without a > problem. I searched through the list archive for a similar problem, in > vain. Can someone please tell what's causing this? Could you post the oops together with the might_sleep trace? This is something calling down_read in a context where its not safe to sleep. The rest of the backtrace doesn't make much sense.. Did you build with preempt enabled? > > Thanks > > Debug: sleeping function called from invalid context at > include/linux/rwsem.h:43 > Aug 19 23:59:34 darkstar kernel: Debug: sleeping function called from > invalid context at include/linux/rwsem.h:43 > > Call Trace: > [] __might_sleep+0x5e/0x70 > [] autoremove_wake_function+0x0/0x50 > [] do_page_fault+0x79/0x4dc > [] ext2_get_inode+0xdd/0x140 > [] avc_has_perm+0x6c/0x7b > [] do_page_fault+0x0/0x4dc > [] error_code+0x2d/0x38 > [] m3_open+0x131/0x390 > [] check_poison_obj+0x54/0x1d0 > [] soundcore_open+0x1e5/0x4e0 > [] exact_match+0x0/0x10 > [] chrdev_open+0x156/0x3e0 > [] get_empty_filp+0x98/0x100 > [] dentry_open+0x12c/0x1c0 > [] filp_open+0x66/0x70 > [] sys_open+0x55/0x90 > [] syscall_call+0x7/0xb > > > - > 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/ -- Matt Mackall : http://www.selenic.com : of or relating to the moon - 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/