[Kernel-packages] [Bug 1783906] Re: Linux 4.15 and onwards fails to initialize some hard drives

2019-05-16 Thread David Milburn
Yes, it may also be good to test on different configurations, the original patch fixed hotplug related problem where 6Gps drives connected back at lower speeds. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs

[Kernel-packages] [Bug 1783906] Re: Linux 4.15 and onwards fails to initialize some hard drives

2019-05-15 Thread David Milburn
I not sure upstream will let us change the value of mask. Will you get the same result of you set sata_spd_limit? link->sata_spd_limit = 0x7 I believe that corresponds to 6Gbps but I don't see a #define we can use. Also, is the comment accurate? Before you started debugging did you see a hard r

[Kernel-packages] [Bug 1783906] Re: Linux 4.15 and onwards fails to initialize some hard drives

2019-05-10 Thread David Milburn
Ok thanks, please look at this some more, I will try to get back with you soon. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1783906 Title: Linux 4.15 and onwards fails to initialize s

[Kernel-packages] [Bug 1783906] Re: Linux 4.15 and onwards fails to initialize some hard drives

2018-09-06 Thread David Milburn
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 li

[Kernel-packages] [Bug 1783906] Re: Linux 4.15 and onwards fails to initialize some hard drives

2018-08-30 Thread David Milburn
Hi, I think the fix is removing the "return" and letting the code fall through in sata_down_spd_limit(). Please give me some time to review the latest log, and I will need to reconfigure a couple of local systems and re-test with that change. Thanks. -- You received this bug notification becau

[Kernel-packages] [Bug 1783906] Re: Linux 4.15 and onwards fails to initialize some hard drives

2018-08-24 Thread David Milburn
Hi Joe, The original intent of the patch was not forcing a 6Gbs drive down to 1.5Gbs after hotplug. Noting, SSTATUS = 275 = 0x113 = 0001 0001 0011 That corresponds to ACTIVE PM STATE | GEN1 SPEED | DEVICE DETECTED spd = 1 (corresponds to 1.5Gbps) One question, the print for mask came after th

[Kernel-packages] [Bug 1783906] Re: Linux 4.15 and onwards fails to initialize some hard drives

2018-08-24 Thread David Milburn
Ok, thanks, please let me look through the output. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1783906 Title: Linux 4.15 and onwards fails to initialize some hard drives Status in li

[Kernel-packages] [Bug 1783906] Re: Linux 4.15 and onwards fails to initialize some hard drives

2018-08-10 Thread David Milburn
Hi Joe, Can we put some debug in sata_down_spd_limit() and see some of the values for spdlimit, sstatus, spd, mask, right before the change to not force the mask. Also, can we track the exact path of calling sata_down_spd_limit(). The the intent of the patch was not to force the speed down before