[CC'ing Bastiaan Jacques] Hello, Aalderd. Aalderd Bouwman wrote: > The same turn on/off action with rmmod ahci will work properly I think: > (I have test that action 3 times) Great. > As you see the disconnect of a drive is detected. > Is the message: 'failed to recover some devices' correct? > This message apears twice. AFAICS, libata EH is behaving as expected. The problem, again, is that more often than not, the via controller seems to lock up after certain events. In the message you just posted, ata14 fails to recover after power-on. Hmmm.. Looking at the log, it occurs to me that it might be because the controller can't receive D2H FIS after hardreset. Can you try the attached patch? Bastiaan, I'm shooting in the dark, so please don't hesitate to step in. -- tejun