On Tue, 14 Nov 2006, Moore, Eric wrote:
I don't know how to disable domain validation. What I do know is the problem. THis is due to domain validation commands timeout out, which results in a host reset. From the mptspi host reset, the driver starts spi transport domain validation all over again, and thus the infinite loop. We do need to renegotiate again after host reset, or all the devices are at slowest speed, asyn narrow. I have proposed a patch on this mailing list a couple months ago to fix this problem, however that patch was rejected. My fix was in the mptspi host reset function, where I told firmware to negotaiate with the last parameters, thus avoiding having spi transport dv going into infinite loop. However a better fix is to have spi transport avoid sending a host reset when the commands timeout. I'm not sure if James Bottomely is waiting for a patch like that which would address the concerns off all drivers, instead of just addressing mptspi wooes. I'm not sure. I could repost my mptspi fix again?
Well, an unofficial fix is better than nothing, so feel free to post your patch (just give me also some instructions to apply it as I'm not familiar to kernel patching). As to the problem itself, I can confirm it's not specific to mptspi, I've observed the same behaviour with the aic79xx driver under kernel 2.6.17.4 :-( -- Etienne Vogt (Etienne.Vogt@xxxxxxxx) Observatoire de Paris-Meudon, France. - 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