Matthieu CASTET wrote: > Hi Tejun, > > Matthieu CASTET wrote: >> Hi, >> >> the 2.6.25 from debian fail to make work the second port. I got a >> "SATA link down (SStatus 61 Scontrol 30)" for ata2. ata1 got "SATA >> link up 3.0 Gbps (SStatus 13 SControl 30)" >> The 2.6.24 works [1]. But some previous kernel (IRRC 2.6.18) had the >> same problem, ie ata2 doesn't work. >> > I saw you post a patch for macbook for correcting a bug with ata_ppiix. > But it doesn't seem the same problem. I don't get 0 but others values. > > May be a problem occurs when merging the master and slave status register ? > > > Any idea how to debug this. > > For information this happen on a HP Compaq dc7700p, and there no way on > the bios to change the controller to ahci mode Yeah, I wrote a patch for that yesterday and forgot to actually send it. Can you please test the attached patch? -- tejun