[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
*** This bug is a duplicate of bug 1350480 *** https://bugs.launchpad.net/bugs/1350480 ** This bug has been marked a duplicate of bug 1350480 [REGRESSION] Kernel update renders Intel NUC (i5-3427) unbootable with USB devices plugged in -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
One more thing, the patch as included in upstream mainline kernel (3.17) will fail to build in the 3.2 branch, because it removes function find_trb_seg, which is still needed in the 3.2 kernel. This function should be left in place when patch is applied to 3.2 kernel. Further details available here: http://thread.gmane.org/gmane.linux.kernel.stable/103514 By the way, I checked the upstream 3.2.y kernel (3.2.62), and unfortunately the patch has not yet been backported to it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
** Tags added: cherry-pick ** Changed in: linux (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
The patch has been somewhat reworked and added to the upstream mainline kernel 3.17-rc3, and to the 3.16-stable tree. https://lkml.org/lkml/2014/8/29/386 http://www.spinics.net/lists/stable/msg59724.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
Julius Werner, the author of the commit in question, has found the problem and created a patch. The problem is in the place that I identified, but specific regression-triggering details are different that I originally thought. The patch is available here: https://lkml.org/lkml/2014/7/8/571 I tested this patch and can confirm that it fixes the regression in kernel 3.2.x. Newer kernels have not been affected by the regression, as it is masked by another code change that has not been backported to 3.2. Here is the link for the discussion: http://thread.gmane.org/gmane.linux.usb.general/110685 As I understand it, we are now waiting for Julius' patch to be pulled to the mainline kernel. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
I think that I may have found the bug, and since the newest upstream kernel 3.16.0-rc3 has the affected code essentially unmodified, I contacted the maintainer of the XHCI driver and the author of the problematic commit. I also asked for help on linux-usb kernel mailing list: http://permalink.gmane.org/gmane.linux.usb.general/110685 http://www.spinics.net/lists/linux-usb/msg109949.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
Christopher, due to the nature of this bug, I cannot perform the reverse bisect. I explained it already in comment #8. Just to be clearer: the regression has not been fixed upstream. There is no 3.x kernel branch which would contain the regression and the subsequent fix. The regression either is not there at all (all branches except 3.2), or remains unfixed (3.2). Thus I have no target for the bisection. On somewhat happier news, I have spent last few days debugging the kernel, and I got some results. Specifically, I have a patch that fixes regression on 3.2.0-64 running on a particular hardware. The patch is rather ugly, and will probably cause problems on other hardware, but at least it shows some direction. I will gladly discuss this matter, but I will need a little more attention shown by Ubuntu maintainers. Each of my posts corresponds to many hours of my work, and while I am grateful for any attention, its current level does not permit a constructive dialogue. I am very sorry to say this, and I mean no offense, but I will put more effort into writing here only when I see a chance that someone will read it. ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed ** Tags removed: kernel-fixed-upstream-3.16-rc1 needs-reverse-bisect -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
Maciej Puzio, while the initial regression commit is identified, the upstream fix commit has not been. Could you please provide this? ** Tags added: bisect-done needs-reverse-bisect ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
** Tags removed: needs-reverse-bisect ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
After testing this thoroughly, I am confident to say that the regression is caused by commit "usb: xhci: Prefer endpoint context dequeue pointer over stopped_trb". In ubuntu-precise git repository this is commit f04e4b02bce3a0ce19f9673bbefde9b8c624c00a. However, an equivalent commit is part of mainline kernel v3.16-rc1, where it does not cause problems. My guess is that this commit revealed a bug hidden somewhere else, in a code that was modified since kernel 3.2. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
I think is a similar problem here https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1333229 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
I bisected commits between Ubuntu-3.2.0-63.95 and Ubuntu-3.2.0-64.97, and arrived at a specific xhci-related commit. However, manual modification of the relevant file to revert the effects of this commit yielded a kernel that still suffered from a regression. Further complicating the matter is the fact that the the code in question is modified by two commits. Since I was not able to verify the result of bisection, I am not posting it, to avoid confusion. Next week I will further debug the code, and post here when I get conclusive results. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
I have tested 28 mainline kernels from 9 branches currently maintained (3.2, 3.4, 3.10, 3.11, 3.12, 3.13, 3.14, 3.15, 3.16), focusing on those that were built around the time the problematic commit was introduced (May-June 2014). The bug appears to affect the 3.2 branch exclusively. Thus I will now try to forward bisect commits from 3.2.58 (last good) to 3.2.59 (first bad). Just for reference, here are results of my testing. "Bad" means that bug was reproducible in the given kernel, "good" that it was not. 3.2.58 good 3.2.59 bad 3.2.60 bad 3.4.89 good 3.4.90 good 3.4.91 good 3.4.92 good 3.4.93 good 3.4.94 good 3.10.44 good 3.11.10.11 good 3.13.22 good 3.13.11 good 3.13.11.1 good 3.13.11.2 good 3.13.11.3 good 3.14.8 good 3.15-rc1 good 3.15-rc2 good 3.15-rc3 good 3.15-rc4 good 3.15-rc5 good 3.15-rc6 good 3.15-rc7 good 3.15-rc8 good 3.15 good 3.15.1 good 3.16-rc1 good -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
Maciej Puzio, the next step is to fully reverse commit bisect the kernel in order to identify the offending commit. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection#How_do_I_reverse_bisect_the_upstream_kernel.3F ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
I have tested the mainline kernel 3.2.60, and was able to reproduce the problem, with exactly the same symptoms as with kernel 3.2.0-64 (3.2.59). Kernel URL: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2.60-precise/ I also tested Western Digital My Passport 2TB USB 3.0 drive (Part# WDBY8L0020BBL). This drive is causing the same problems as Areca ARC-5040 (with kernels 3.2.0-64 and 3.2.60). No problems with kernel 3.16.0-031600rc1. Thus I have two USB3 devices that trigger the bug. As of now, the only constant element required for the bug to appear is HighPoint RocketU 1144C USB3 controller. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1330530] Re: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller
** Summary changed: - Regression: Kernel 3.2.0-64 problems with USB3 controller + [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330530 Title: [Dell Vostro 430] Regression: Kernel 3.2.0-64 problems with USB3 controller To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs