On Sat, 2009-08-22 at 12:55 +0100, Chris Webb wrote: > James Bottomley <James.Bottomley@xxxxxxx> writes: > > > Can you try this as a partial fix? (It should prevent the oops, but > > you'll still lose the disk). > > Hi James. Thanks for patch. I've applied this, although the context is quite > a bit different in the released 2.6.30.x from your patch against head. (E.g. > in sd_probe, there's no get_device(&sdp->sdev_gendev) at all before the > async_schedule(). Instead that happens in sd_probe_async.) > > I'm now seeing a warning backtrace for every scsi attach in the machine, > including the main system hard drives, so I think something's not quite > right. For instance, in my test virtual machine: Oh, I'm afraid that won't work (as you found out). For your kernel, you'll need this patch: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=601e7638254c118fca135af9b1a9f35061420f62 Before you apply it. Actually, if that works, I'll have the above backported as well. James -- 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