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

Alan Stern
2009-02-19T20:12:06Z

On Wed, 18 Feb 2009, Ingo Molnar wrote:

>
> * Alan Stern <stern@rowland.harvard.edu> 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