From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262762AbVHDWau (ORCPT ); Thu, 4 Aug 2005 18:30:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262759AbVHDW2l (ORCPT ); Thu, 4 Aug 2005 18:28:41 -0400 Received: from smtp.osdl.org ([65.172.181.4]:14749 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S262741AbVHDW1C (ORCPT ); Thu, 4 Aug 2005 18:27:02 -0400 Date: Thu, 4 Aug 2005 15:28:58 -0700 From: Andrew Morton To: dominik.karall@gmx.net, linux-kernel@vger.kernel.org Cc: Ingo Molnar Subject: Re: 2.6.12-rc6-mm1 Message-Id: <20050804152858.2ef2d72b.akpm@osdl.org> In-Reply-To: <20050804124453.177f6834.akpm@osdl.org> References: <20050607042931.23f8f8e0.akpm@osdl.org> <200507292319.21167.dominik.karall@gmx.net> <20050729142703.7e9494c4.akpm@osdl.org> <200507292337.14784.dominik.karall@gmx.net> <20050804124453.177f6834.akpm@osdl.org> X-Mailer: Sylpheed version 1.0.0 (GTK+ 1.2.10; i386-vine-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Andrew Morton wrote: > > Dominik Karall wrote: > > > > On Friday 29 July 2005 23:27, Andrew Morton wrote: > > > Dominik Karall wrote: > > > > On Friday 29 July 2005 20:22, Andrew Morton wrote: > > > > > Dominik Karall wrote: > > > > > > On Friday 29 July 2005 06:54, Andrew Morton wrote: > > > > > > > Dominik Karall wrote: > > > > > > > > On Tuesday 07 June 2005 13:29, Andrew Morton wrote: > > > > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2 > > > > > > > > >.6.1 2-rc 6/2. 6.12-rc6-mm1/ > > > > > > > > > > > > > > > > After looking in my dmesg output today, I saw following error > > > > > > > > with 2.6.12-rc6-mm1, maybe it's usefull to you. I don't know when > > > > > > > > it exactly happens, cause I never used mono last time, I just did > > > > > > > > an emerge mono on my gentoo system, maybe this forced the > > > > > > > > failure. > > > > > > > > > > > > > > > > note: mono[26736] exited with preempt_count 1 > > > > > > > > scheduling while atomic: mono/0x10000001/26736 > > > > > > > > > > > > > > > > Call Trace:{schedule+122} > > > > > > > > {vprintk+635} > > > > > > > > {cond_resched+56} > > > > > > > > {unmap_vmas+1587} > > > > > > > > {exit_mmap+128} {mmput+31} > > > > > > > > {do_exit+438} > > > > > > > > {__dequeue_signal+501} > > > > > > > > {do_group_exit+280} > > > > > > > > {get_signal_to_deliver+1575} > > > > > > > > {do_signal+162} > > > > > > > > {default_wake_function+0} > > > > > > > > {sys_rt_sigreturn+577} > > > > > > > > {sysret_signal+28} > > > > > > > > {ptregscall_common+103} > > > > > > > > > > > > > > A couple of people reported this, but all seems to have gone quiet. > > > > > > > Is it fixed in later -mm's? Is 2.6.13-rc4 running OK? > > > > > > > > > > > > > > Thanks. > > > > > > > > > > > > hi andrew! > > > > > > > > > > > > I'm sorry, but it's not fixed in current 2.6.13-rc3-mm3. I did an > > > > > > emerge mono right now to test it, and I got this one: > > > > > > Jul 29 15:26:37 [kernel] note: mono[11138] exited with preempt_count > > > > > > 1 Jul 29 15:26:50 [kernel] file[14627]: segfault at 00002aaaab453000 > > > > > > rip 00002aaaaaf652cf rsp 00007fffffe43b50 error 4 > > > > > > Jul 29 15:26:50 [kernel] file[14633]: segfault at 00002aaaab453000 > > > > > > rip 00002aaaaaf652cf rsp 00007fffffcc87a0 error 4 > > > > > > Jul 29 15:26:51 [kernel] file[14669]: segfault at 00002aaaab453000 > > > > > > rip 00002aaaaaf652cf rsp 00007fffff905f80 error 4 > > > > > > > > > > > > DEBUG_KERNEL/ PREEMPT/ SPINLOCK are enabled, but I didn't get more > > > > > > info about the bug. Did I forget any debug option? > > > > > > > > > > Gee, I don't know how to find this one. Do you know if the problem is > > > > > specific to -mm? > > > > > > > > Tested with 2.6.13-rc4 and it seems to work. Didn't get any error. > > > > > > Great, thanks for that. > > > > > > > So it seems to be -mm related. Do you suspect any patch which could cause > > > > the error? > > > > > > I wouldn't know, sorry. Possible the scheduler patches, possibly an > > > x86_64-specific patch. Is the problem repeatable? If so, a binary search > > > would only take ten build-n-boots ;) > > > > Yes, it is repeatable. I tested on lastest -mm about 4 times. Ok, I will try > > to find the right patch tomorrow, 10 build-n-boots would end up in morning ;) > > > > btw, as the error occured in 2.6.12-rc6-mm1 too, it must be an old patch which > > wasn't merged to linus tree till now...hope there aren't a lot of them :) > > > > Any progress on this? It kinda measn that the whole of the -mm lineup is > stuck until we can identify the offending patch. We have a couple of weeks > in which to do this but if you can identify the bad patch it'd help > enormously, thanks. > OK, Bartosz Taudul tells me that he's occasionally seeing this on stock 2.6.12 (thanks!). So there's not a lot of point in doing the -mm bisection search. I think Ingo was planning on coming up with some infrastructure which would allow us to debug this further.