Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756797AbZFHRFg (ORCPT ); Mon, 8 Jun 2009 13:05:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755078AbZFHRF2 (ORCPT ); Mon, 8 Jun 2009 13:05:28 -0400 Received: from hera.kernel.org ([140.211.167.34]:54872 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752871AbZFHRF1 (ORCPT ); Mon, 8 Jun 2009 13:05:27 -0400 Subject: Re: 2.6.30-rc8 Oops whilst booting From: Jaswinder Singh Rajput To: James Bottomley Cc: Linus Torvalds , Chris Clayton , NeilBrown , linux-kernel@vger.kernel.org, scsi , Tejun Heo , Arjan van de Ven In-Reply-To: <1244479879.4079.284.camel@mulgrave.site> References: <200906061959.55592.chris2553@googlemail.com> <200906062215.30571.chris2553@googlemail.com> <1244381140.30664.12.camel@ht.satnam> <1244413881.18742.31.camel@ht.satnam> <2f9e3044bafcae848f74a1492b0ea471.squirrel@neil.brown.name> <1244460875.12644.2.camel@ht.satnam> <1244479879.4079.284.camel@mulgrave.site> Content-Type: text/plain Date: Mon, 08 Jun 2009 22:36:30 +0530 Message-Id: <1244480790.2716.7.camel@ht.satnam> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 (2.24.5-1.fc10) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2696 Lines: 78 On Mon, 2009-06-08 at 16:51 +0000, James Bottomley wrote: > On Mon, 2009-06-08 at 09:21 -0700, Linus Torvalds wrote: > > > > On Mon, 8 Jun 2009, Chris Clayton wrote: > > > > > > OK. I reversed that change and built and installed the kernel. It has > > > withstood 100 reboots without a panic. Additionally, I pulled the > > > latest changes (that will be rc8-git5, I think) from kernel.org, > > > reversed the change to that kernel and built and installed it. That > > > too withstood 100 reboots without a panic. > > > > > > Let me know if there's anything else I can do to help fix this. > > > > That's already pretty convincing. > > > > James, Arjan? The original oops message is here (a jpg screen capture, > > unable to open initial console): > > > > http://lkml.org/lkml/2009/6/6/142 > > > > and it's this bug entry: > > > > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=13474 > > Subject : Oops whilst booting > > Submitter : Chris Clayton > > Date : 2009-06-06 18:59 (2 days old) > > References : http://marc.info/?l=linux-kernel&m=124431487924254&w=4 > > > > and now bisected down to > > > > >> commit d5a877e8dd409d8c702986d06485c374b705d340 > > >> Author: James Bottomley > > >> Date: Sun May 24 13:03:43 2009 -0700 > > >> > > >> async: make sure independent async domains can't accidentally entangle > > > > please advice. Otherwise I'll have to revert. > > The root cause is a reordering of the devices caused by the async code. > > I suspect it's a bug in async that was obscured by the old behaviour of > async_synchronize.. (or it's a bug in the new code) ... how long do I > have to find out which? > But reverting your patch Or if we return like this also fix chris problem : diff --git a/kernel/async.c b/kernel/async.c index 94dd36f..3b492cb 100644 --- a/kernel/async.c +++ b/kernel/async.c @@ -96,15 +96,13 @@ static async_cookie_t __lowest_in_progress(struct list_head *running) if (!list_empty(running)) { entry = list_first_entry(running, struct async_entry, list); - ret = entry->cookie; + return entry->cookie; } if (!list_empty(&async_pending)) { list_for_each_entry(entry, &async_pending, list) - if (entry->running == running) { - ret = entry->cookie; - break; - } + if (entry->running == running) + return entry->cookie; } return ret; -- 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/