Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932106AbWEOSuf (ORCPT ); Mon, 15 May 2006 14:50:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932230AbWEOSuf (ORCPT ); Mon, 15 May 2006 14:50:35 -0400 Received: from nz-out-0102.google.com ([64.233.162.207]:1012 "EHLO nz-out-0102.google.com") by vger.kernel.org with ESMTP id S932106AbWEOSud convert rfc822-to-8bit (ORCPT ); Mon, 15 May 2006 14:50:33 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PZgpsBz6hFCaByw54C4HXeJ+W8GjsOfCs2f0XCCNZHxhJCapdI2nI8B55spXwW0BqObjbTMciS4GNo3NawBNoWBHOolkZCKo1YUulBUKaATzr7mwerlwHwu5l+dwG6ULVsR1/FaiUmFgNRxPfRlrs2ACUJUnPdJKAkhM+Fx/MhI= Message-ID: <6bffcb0e0605151150y11002c0co7e8f1ea54a3ceb2b@mail.gmail.com> Date: Mon, 15 May 2006 20:50:32 +0200 From: "Michal Piotrowski" To: "Takashi Iwai" Subject: Re: 2.6.17-rc4-mm1 Cc: "Andrew Morton" , perex@suse.cz, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7BIT Content-Disposition: inline References: <20060515005637.00b54560.akpm@osdl.org> <6bffcb0e0605150940l647273f0jf4e1b9d5737bbd2@mail.gmail.com> <20060515100429.5069f6ca.akpm@osdl.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2158 Lines: 60 Hi, On 15/05/06, Takashi Iwai wrote: > At Mon, 15 May 2006 19:30:24 +0200, > I wrote: > > > > At Mon, 15 May 2006 10:04:29 -0700, > > Andrew Morton wrote: > > > > > > "Michal Piotrowski" wrote: > > > > > > > > Hi, > > > > > > > > On 15/05/06, Andrew Morton wrote: > > > > > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17-rc4/2.6.17-rc4-mm1/ > > > > > > > > > > - This tree contains a large number of new bugs^H^H^H^Hpatches. > > > > [snip] > > > > > git-alsa.patch > > > > > > > > BUG: sleeping function called from invalid context at > > > > /usr/src/linux-mm/sound/core/info.c:117 > > > > in_atomic():1, irqs_disabled():0 > > > > show_trace+0xd/0xf dump_stack+0x17/0x19 > > > > __might_sleep+0x93/0x9d snd_iprintf+0x1b/0x84 [snd] > > > > snd_card_module_info_read+0x34/0x4e [snd] > > > > snd_info_entry_open+0x20f/0x2cc [snd] > > > > __dentry_open+0x133/0x260 nameidata_to_filp+0x1c/0x2e > > > > do_filp_open+0x2e/0x35 do_sys_open+0x54/0xd7 > > > > sys_open+0x16/0x18 sysenter_past_esp+0x54/0x75 > > > > Non-volatile memory driver v1.2 > > > > > > > > Here is dmesg http://www.stardust.webpages.pl/files/mm/2.6.17-rc4-mm1/mm-dmesg > > > > Here is config http://www.stardust.webpages.pl/files/mm/2.6.17-rc4-mm1/mm-config > > > > > > heh, yes, Takashi baited his hook and pulled in a big one. > > > > > > snd_card_module_info_read() calls snd_iprintf() under read_lock().. > > > > Ouch, I checked only spinlocks but forgot rwlocks. Will fix them. > > The patch below should fix them (already merged in ALSA HG repo). > > Problem fixed. Thanks! Regards, Michal -- Michal K. K. Piotrowski LTG - Linux Testers Group (http://www.stardust.webpages.pl/ltg/wiki/) - 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/