From owner-freebsd-usb@freebsd.org Mon Jul 18 16:40:38 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02552B9C842 for ; Mon, 18 Jul 2016 16:40:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE3F116E6 for ; Mon, 18 Jul 2016 16:40:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u6IGeb85029325 for ; Mon, 18 Jul 2016 16:40:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 211205] USB_ERR_TIMEOUT errors after upgrade from 10.2 Date: Mon, 18 Jul 2016 16:40:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dwvcfii@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2016 16:40:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211205 Bug ID: 211205 Summary: USB_ERR_TIMEOUT errors after upgrade from 10.2 Product: Base System Version: 10.3-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: dwvcfii@gmail.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Created attachment 172668 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D172668&action= =3Dedit dmesg output from Intel NUC running 10.3-RELEASE Had 10.2-RELEASE running stable on an Intel NUC (i5) for the past six month= s.=20 Decided to upgrade to 10.3-RELEASE using freebsd-update. On the first boot with the new kernel I began experiencing problems with the USB subsystem -- specifically, neither my USB keyboard nor USB mouse work anymore. Instead I get several warnings in the logs (and on the console): Jul 18 12:16:47 ren kernel: usbd_setup_device_desc: getting device descript= or at addr 1 failed, USB_ERR_TIMEOUT Jul 18 12:17:19 ren last message repeated 3 times Jul 18 12:17:30 ren kernel: usbd_setup_device_desc: getting device descript= or at addr 1 failed, USB_ERR_TIMEOUT Jul 18 12:17:30 ren kernel: ugen0.2: at usbus0 (disconnected) Jul 18 12:17:30 ren kernel: uhub_reattach_port: could not allocate new devi= ce When I boot without keyboard and mouse the machine boots as quickly as it usually does and I see no obvious error messages. I completed the upgrade process by calling "freebsd-update install" again to install the userspace stuff. Rebooted. Did another fetch and install to m= ake sure I was up to date. I searched online for the problem and found this thread: https://lists.freebsd.org/pipermail/freebsd-current/2016-February/059767.ht= ml and tried the suggested solution (tweak to /boot/loader.conf). It had no effect, so I removed it. I have attached dmesg output of two boot cycles -- the first with the keybo= ard (and the errors), and the second without. In both cases, the XHCI and EHCI controllers appear to be recognized without error. usbconfig confirms: ugen1.1: at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH (480= Mbps) pwr=3DSAVE (0mA) ugen0.1: at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER (5= .0Gbps) pwr=3DSAVE (0mA) ugen1.2: at usbus1, cfg=3D0 md=3DHOST spd=3D= HIGH (480Mbps) pwr=3DSAVE (0mA) I want to emphasize that the keyboard and mouse are the same units as prior= to the upgrade and were working with 10.2 without issue so this isn't strictly= a hardware compatibility issue. Something changed in the 10.3 USB subsystem = that breaks select (low speed in this case) USB device instantiation. Note also that I am plugging the keyboard and mouse into the rear ports of = the NUC, which I believe are USB2 only. The Superspeed ports are on the front.= I tried plugging the keyboard into the superspeed ports and I have the same problem. The devices won't instantiate. --=20 You are receiving this mail because: You are the assignee for the bug.=