Re: scsi: aic7xxx hang since v2.6.28-rc1 ...

From: Alan Stern
Date: Thu Feb 19 2009 - 15:12:23 EST


On Wed, 18 Feb 2009, Ingo Molnar wrote:

>
> * Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > I have no idea if this will make any difference for the
> > problem you're seeing, but it has been submitted and it's
> > worth trying out. If the problem still occurs, I'll write a
> > diagnostic patch to add log messages giving the destiny of
> > each request in scsi_io_completion().
>
> OK, i've undone the reverts and have applied your fix - it will
> take a few hours to see whether the hang still occurs.

Any definitive results yet?

It turns out that the patch I posted earlier is not quite correct; the
"__scsi_release_buffers(cmd, 0);" line in scsi_end_request() was added
after the patch was first written and then got lost during rebasing.

If this really does fix your problem and nobody has any other
objections to it, I'll submit a revised version with the missing line
added back in.

You might also want to try testing separately this patch from James:

http://marc.info/?l=linux-scsi&m=123506890608499&w=2

It may solve the same problem, though in a different way.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/