Re: need help solving mpt2sas target unplug can hang worker thread

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

 




On Tue, Mar 20, 2012 at 05:24:20PM +0530, Nandigama, Nagalakshmi wrote:
> Can you try this patch and test?
> 
> On Tue, Feb 28, 2012 at 05:18:53PM +0530, Nandigama, Nagalakshmi wrote:
> > It seems like you are using older version of mpt2sas driver. Current version of mpt2sas driver is 12.100.00.00. Will it be possible to you to test with the latest or any stable driver? Also can you take update the latest firmware?
> > 
> 
> Ok, I've got now 12.0.0 that I pulled from git.  While it
> compiles clean, I can't get far with it b/c it hangs my
> system when I insmod the driver.  In the past, I have had to
> apply this patch that I submitted long ago and never got
> used.

No luck with that patch.  I applied it, but it did not hit
that condition.  It made it all the way to the code just
before the label "chain_done:".  I insert printks all over
the place to figure out where it goes.  It failed somewhere
in here because I got a printk just before it, but I did not
get the printk immediately at chain_done.  I applied it to
12.0.0.  The print just before the for loop was the last I
saw and then it hung.

    for (i = 0; i < ioc->chain_depth; i++) {
        ioc->chain_lookup[i].chain_buffer = pci_pool_alloc(
            ioc->chain_dma_pool , GFP_KERNEL,
            &ioc->chain_lookup[i].chain_buffer_dma);
        if (!ioc->chain_lookup[i].chain_buffer) {
            ioc->chain_depth = i;
            goto chain_done;
        }
        total_sz += ioc->request_sz;
    }
chain_done:

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