public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Chris Clayton <chris2553@googlemail.com>,
	Jaswinder Singh Rajput <jaswinder@kernel.org>,
	NeilBrown <neilb@suse.de>,
	linux-kernel@vger.kernel.org, scsi <linux-scsi@vger.kernel.org>,
	Tejun Heo <tj@kernel.org>,
	Arjan van de Ven <arjan@linux.intel.com>
Subject: Re: 2.6.30-rc8 Oops whilst booting
Date: Mon, 08 Jun 2009 12:06:36 -0500	[thread overview]
Message-ID: <1244480796.4079.301.camel@mulgrave.site> (raw)
In-Reply-To: <alpine.LFD.2.01.0906080916130.6847@localhost.localdomain>

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 <chris2553@googlemail.com>
> 	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 <James.Bottomley@HansenPartnership.com>
> >> 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.

I think it's a bug in the async code.  It's providing cookies too high
because it doesn't stop after it finds a running entry.

Can we try this as the fix?

James

---

diff --git a/kernel/async.c b/kernel/async.c
index 5054030..e4909ee 100644
--- a/kernel/async.c
+++ b/kernel/async.c
@@ -97,7 +97,7 @@ 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)) {



  parent reply	other threads:[~2009-06-08 17:06 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200906061959.55592.chris2553@googlemail.com>
     [not found] ` <200906062215.30571.chris2553@googlemail.com>
     [not found]   ` <1244381140.30664.12.camel@ht.satnam>
     [not found]     ` <c6b1100b0906071138g2c46fb34vc1a2beb9438f1f1e@mail.gmail.com>
2009-06-07 22:31       ` 2.6.30-rc8 Oops whilst booting Jaswinder Singh Rajput
2009-06-07 22:55         ` NeilBrown
2009-06-08  8:08           ` Chris Clayton
2009-06-08 10:58             ` Chris Clayton
2009-06-08 11:34               ` Jaswinder Singh Rajput
2009-06-08 12:53                 ` Chris Clayton
2009-06-08 16:21                   ` Linus Torvalds
2009-06-08 16:51                     ` James Bottomley
2009-06-08 17:06                       ` Jaswinder Singh Rajput
2009-06-08 17:45                         ` Chris Clayton
2009-06-08 18:21                           ` Linus Torvalds
2009-06-08 19:17                             ` Chris Clayton
2009-06-08 20:03                               ` Chris Clayton
2009-06-08 17:21                       ` Linus Torvalds
2009-06-08 17:37                         ` Arjan van de Ven
2009-06-08 17:38                         ` James Bottomley
2009-06-08 17:06                     ` James Bottomley [this message]
2009-06-08 17:42                       ` Linus Torvalds
2009-06-08 17:49                         ` James Bottomley
2009-06-08 18:33                       ` Chris Clayton
2009-06-08 14:23             ` James Bottomley
2009-06-08 15:04               ` Chris Clayton
2009-06-08 15:17               ` Chris Clayton
2009-06-08 15:32                 ` James Bottomley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1244480796.4079.301.camel@mulgrave.site \
    --to=james.bottomley@hansenpartnership.com \
    --cc=arjan@linux.intel.com \
    --cc=chris2553@googlemail.com \
    --cc=jaswinder@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=tj@kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox