Re: Infinite retries reading the partition table

From: Andrew Morton
Date: Fri Dec 01 2006 - 02:30:00 EST


On Thu, 30 Nov 2006 22:34:57 -0800 (PST)
Luben Tuikov <ltuikov@xxxxxxxxx> wrote:

> --- Andrew Morton <akpm@xxxxxxxx> wrote:
> > On Wed, 29 Nov 2006 17:22:48 -0800 (PST)
> > Luben Tuikov <ltuikov@xxxxxxxxx> wrote:
> >
> > > Suppose reading sector 0 always reports an error,
> > > sense key HARDWARE ERROR.
> > >
> > > What I'm observing is that the request to read sector 0,
> > > reading partition information, is retried forever, ad infinitum.
> > >
> > > Does anyone have a patch to resolve this? (2.6.19-rc6)
> > >
> >
> > Please send a backtrace so we can see where the offending loop occurs.
>
> I posted a patch to linux-scsi

hm. Does sending patches to linux-scsi get them applied? It might, I
don't know.

> which resolves this issue:
> http://marc.theaimsgroup.com/?l=linux-scsi&m=116485834119885&w=2

That looks like it prevents the IO error. But why was an IO error causing
an infinite loop? What piece of code was initiating the retries?

-
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/