mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Patrick Mansfield <patmans@us.ibm.com>
To: Christian Staudenmayer <eggdropfan@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel panic with 2.5.67-ac1
Date: Fri, 18 Apr 2003 10:30:31 -0700	[thread overview]
Message-ID: <20030418103031.A9260@beaverton.ibm.com> (raw)
In-Reply-To: <20030418171806.2042.qmail@web41813.mail.yahoo.com>; from eggdropfan@yahoo.com on Fri, Apr 18, 2003 at 10:18:06AM -0700

On Fri, Apr 18, 2003 at 10:18:06AM -0700, Christian Staudenmayer wrote:
> Note: this does not happen with 2.4.20, 2.4.21-pre7, 2.4.21-pre7-ac1 or 2.5.67-bk8
> It does, however happen with 2.5.67-ac2, but the error message is some lines longer
> and some of the addresses have changed.
> 
> I'd be really grateful for any insight on this problem.

We were plugging a queue that was about to be freed during scsi scan.

This is fixed in bk8, here is a snippit of part of the patch to scsi_lib.c
that fixed the problem, or look at the end of scsi_prep_fn, (plus the
corresponding call to blk_plug_device was removed from scsi_request_fn):

+ defer:
+       /* If we defer, the elv_next_request() returns NULL, but the
+        * queue must be restarted, so we plug here if no returning
+        * command will automatically do that. */
+       if (sdev->device_busy == 0)
+               blk_plug_device(q);
+       return BLKPREP_DEFER;
+}

-- Patrick Mansfield

  reply	other threads:[~2003-04-18 17:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-18 17:18 Christian Staudenmayer
2003-04-18 17:30 ` Patrick Mansfield [this message]
2003-04-18 22:15   ` Christian Staudenmayer
2003-04-18 22:24     ` Patrick Mansfield

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=20030418103031.A9260@beaverton.ibm.com \
    --to=patmans@us.ibm.com \
    --cc=eggdropfan@yahoo.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®