From: Matthew Wilcox <willy@debian.org>
To: Steven Dake <sdake@mvista.com>
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: kernel BUG using multipath on 2.6.0-test5
Date: Fri, 26 Sep 2003 13:17:03 +0100 [thread overview]
Message-ID: <20030926121703.GG24824@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <1064541435.4763.51.camel@persist.az.mvista.com>
On Thu, Sep 25, 2003 at 06:57:15PM -0700, Steven Dake wrote:
> kernel BUG at drivers/scsi/scsi_lib.c:544!
BUG_ON(!cmd->use_sg);
> [<c01f631d>] scsi_init_io+0x7a/0x13d
static int scsi_init_io(struct scsi_cmnd *cmd)
struct request *req = cmd->request;
cmd->use_sg = req->nr_phys_segments;
sgpnt = scsi_alloc_sgtable(cmd, GFP_ATOMIC);
> [<c01f6455>] scsi_prep_fn+0x75/0x171
static int scsi_prep_fn(struct request_queue *q, struct request *req)
struct scsi_cmnd *cmd;
cmd->request = req;
ret = scsi_init_io(cmd);
... this is getting outside my area of confidence. Ask axboe why we might
get a zero nr_phys_segments request passed in.
--
"It's not Hollywood. War is real, war is primarily not about defeat or
victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
next prev parent reply other threads:[~2003-09-26 12:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-26 1:57 kernel BUG using multipath on 2.6.0-test5 Steven Dake
2003-09-26 12:17 ` Matthew Wilcox [this message]
2003-09-26 12:26 ` Jens Axboe
2003-09-26 20:14 ` Steven Dake
2003-09-27 0:34 ` [PATCH] fixes defect with " Steven Dake
2003-09-27 8:33 ` Jens Axboe
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=20030926121703.GG24824@parcelfarce.linux.theplanet.co.uk \
--to=willy@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=sdake@mvista.com \
/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