Hi, May I ask for one more test? Looking at the code some more, I don't think I can just remove the return. The root of the problem is hard reset fails and sata_link_hardreset() is never able to reconfigure the speed. This patch sets link->sata_spd_limit before returning, I have been testing linux-4.19-rc1 successfully with a 6Gb drive on AHCI platform.
Would you mind testing this patch with no debug? If all goes well, I will submit upstream. Thanks. ** Patch added: "0001-libata-sata_down_spd_limit-should-record-link-speed-.patch" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1783906/+attachment/5185790/+files/0001-libata-sata_down_spd_limit-should-record-link-speed-.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1783906 Title: Linux 4.15 and onwards fails to initialize some hard drives To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1783906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs