Meena Shanmugam, TLS-Chennai wrote:
Hi, I am also facing the same problem with this driver. I'm using Adaptec ASC-1045 which uses the Marvell 88SE6440 chip. In my case, this could be reproduced with RAID-5 configured with 3 SATA drives. While analysing the problem, it looks like the prd table is getting corrupted in the SATA path triggers the issue. ----mvs_sas.c--- 726 #ifndef DISABLE_HOTPLUG_DMA_FIX 727 if (task->data_dir == DMA_FROM_DEVICE) 728 MVS_CHIP_DISP->dma_fix(asi->bulk_buffer_dma, 729 TRASH_BUCKET_SIZE, tei->n_elem, buf_prd); 730 #endif ----------- The hang issue doesn't occur after enabling DISABLE_HOTPLUG_DMA_FIX in mvs_sas.h file. Please let me know if this fix solves the issue. Btw, I'm not sure about the reason why this macro is disabled by default. Someone who is aware about this change can throw light on this. Meanwhile, I'm running some overnight test to see if this workaround/fix is harmless.
I just tried that, enabling DISABLE_HOTPLUG_DMA_FIX. I still get the error when creating an array, it just worked a little further (building for two minutes before hanging instead of immediately).
Christian Vilhelm. -- /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\ | Christian Vilhelm : christian.vilhelm@xxxxxxxxxxxxxx | | Reality is for people who lack imagination | \____________________________________________________________________/ -- 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