On Mon, 2006-03-06 at 16:44 -0800, Alexis Bruemmer wrote: > Well the problems I have seen when testing your tree, as well as the > original aic94xx/sas_class tree, is that the aic94xx driver enables phys > before the upper level sas layer has discover all phys and ports. > (again please see the boot dump I posted on Friday). Actually, this code is a much more complex way of doing what I just did with the work queues. The only difference is this: > + wait_for_completion(&asd_ha->sas_ha.discover_phy); > + > ASD_DPRINTK("enabled phys\n"); Which shows that the current scsi_flush_work() is in the wrong place. If you move it out of sas_init.c and into aic94xx_init.c at this place, I think you'll find everything now works for you. James - : 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