Alan wrote: > On Thu, 07 Dec 2006 13:28:02 +0900 > Tejun Heo wrote: > >> Please test the attached patch. > > That should be getting done automatically by the driver and used to work > with the old eh/probe code. It does rely on having done the initial PIO0 > identify of both devices and the mode decision being made before mode > setting functions are called however, and that is/was documented as a > guarantee, and is relied upon all over. I broke it in the following commit while implementing per-dev xfermode. I have no idea what I was thinking. :-( commit 37deecb5139ee431233781a9a093d9fcaab54c5b [PATCH] libata: implement per-dev xfermask > Definitely worth testing Art, especially if it shows something up. Art, I attached the wrong patch and it won't apply to vanilla 2.6.19. Patch against 2.6.19 is attached here. Please test this one. > Tejun: pata_amd does the timing merges itself both for 8bit which is > shared and in the timing compute for the DMA cases. Also the other > pattern to these reports is ATAPI, although that might I guess be a > symptom of "slave". Yeap, I noticed the ATAPI devices and also that in many reports those devices are pretty old ones which support only upto MWDMA modes. My suspicion was that people are pairing a slower ODD with a newer HDD on the same channel and seeing this problem. > The other problem is that mmio bus reset is broken, but the AMD always > uses PIO cycles so that shouldn't be involved. > > Alan (still baffled by this one) Let's see if this patch fixes anything. -- tejun