Re: oops during scsi scanning disk setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux