Ming Zhang wrote: > Hi All > > I use the libata patch from > http://home-tj.org/wiki/index.php/Libata-tj-stable with my supermicro MB > ( ICH7R chip). The AHCI works as desired in most of the time. > > If I have disk(s) plugged in during boot. Then after boot, I kept unplug > and plug many times and it works fine. > > but i noticed that if I have the disk(s) unplugged during boot, then > after boot, I plug the disk and nothing shows. if I try to do rescan by > run the rescan lun script, i saw these from dmesg. > > Anything clue ? Thanks! > > Ming > > --------------------------------------- > ata4: soft resetting port > ata4: SATA link down (SStatus 0 SControl 0) > ata4: EH complete > ata3: soft resetting port > ata3: SATA link down (SStatus 0 SControl 0) > ata3: EH complete > ata4: soft resetting port > ata4: SATA link down (SStatus 0 SControl 0) > ata4: EH complete > ata3: soft resetting port > ata3: SATA link down (SStatus 0 SControl 0) > ata3: EH complete > ata4: soft resetting port > ata4: SATA link down (SStatus 0 SControl 0) > ata4: EH complete Hello, That never happened to me on AHCI mode but I experienced similar thing with piix mode. It might be that your BIOS doesn't turn on PCS enable bits for empty ports and thus the empty ports cannot be used after boot. Can you try the attached patch? (only compile-tested, be cautious) -- tejun