Re: WARNING: at drivers/scsi/scsi_lib.c:1704

From: Stephen Rothwell
Date: Mon Nov 07 2011 - 19:36:29 EST


On Tue, 8 Nov 2011 11:03:00 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> On Mon, 07 Nov 2011 08:51:24 -0600 James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > Actually, I don't think it's anything to do with this: it's Anton's
> > fault
> >
> > commit f7c9c6bb14f3104608a3a83cadea10a6943d2804
> > Author: Anton Blanchard <anton@xxxxxxxxx>
> > Date: Thu Nov 3 08:56:22 2011 +1100
> >
> > [SCSI] Fix block queue and elevator memory leak in scsi_alloc_sdev
> >
> > Doesn't completely do the teardown. The true fix is to do a proper
> > teardown instead of hand rolling it. Does this fix it for you?
>
> I don't get the WARNING any more, but now get lots of:
>
> scsi: killing requests for dead queue

also, ipr_init takes 494857993 usecs(!) which is a bit suboptimal. And I
get a few

INFO: rcu_sched detected stall ...

while ipr_init is in progress.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature