On Thu, 14 Feb 2008 15:55:49 -0800 Tim Pepper <lnxninja@xxxxxxxxxxxxxxxxxx> wrote: > On Thu 14 Feb at 20:48:38 +0900 fujita.tomonori@xxxxxxxxxxxxx said: > > > > I have a slight doubt on the breakup code though I'm not sure you hit > > the code. Reverting only the breakup part works? The patch is against > > 2.6.24. > > I've tested this revert you posted. Essentially the same trace is logged > (see below). The machine doesn't die though. But /proc/scsi/scsi doesn't > show the hardware and I am getting an additional trace dumped now (see > futher below). Thanks. So we surely have a bug in the non-breakup part. I've just found one bug. Can you try this patch against 2.6.24? Thanks, diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c index 5c5a9b2..d8f5eb5 100644 --- a/drivers/scsi/ips.c +++ b/drivers/scsi/ips.c @@ -1575,12 +1575,12 @@ ips_make_passthru(ips_ha_t *ha, struct scsi_cmnd *SC, ips_scb_t *scb, int intr) ips_passthru_t *pt; int length = 0; int i, ret; - struct scatterlist *sg = scsi_sglist(SC); + struct scatterlist *sg; METHOD_TRACE("ips_make_passthru", 1); scsi_for_each_sg(SC, sg, scsi_sg_count(SC), i) - length += sg[i].length; + length += sg->length; if (length < sizeof (ips_passthru_t)) { /* wrong size */ - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html