From owner-freebsd-usb@FreeBSD.ORG Wed Apr 9 22:10:01 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A516AA77 for ; Wed, 9 Apr 2014 22:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 920CE1959 for ; Wed, 9 Apr 2014 22:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s39MA1ir062050 for ; Wed, 9 Apr 2014 22:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s39MA1oa062049; Wed, 9 Apr 2014 22:10:01 GMT (envelope-from gnats) Date: Wed, 9 Apr 2014 22:10:01 GMT Message-Id: <201404092210.s39MA1oa062049@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: "Jason Seidel" Subject: Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Jason Seidel List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2014 22:10:01 -0000 The following reply was made to PR usb/188403; it has been noted by GNATS. From: "Jason Seidel" To: Hans Petter Selasky , freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues Date: Wed, 9 Apr 2014 16:08:34 -0600 Just as an FYI, I'm running freebsd 10 stable again the amd64 version. I tried the patch and removed the entry from the loader.conf; but I still get errors with the patch. Repeats over and over again. xhci0: Resetting controller usb_alloc_device: set address 3 failed (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT ugen0.3: at usbus0 (disconnected) uhub_reattach_port: could not allocate new device uhub1: at usbus0, port 1, addr 1 (disconnected) ugen0.2: at usbus0 (disconnected) ukbd0: at uhub1, port 4, addr 1 (disconnected) ums0: at uhub1, port 4, addr 1 (disconnected) uhid0: at uhub1, port 4, addr 1 (disconnected) xhci0: 32 byte context size. xhci0: Port routing mask set to 0xffffffff uhub1: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 uhub1: 13 ports with 13 removable, self powered ugen0.2: at usbus0 ukbd0: on usbus0 kbd0 at ukbd0 ums0: on usbus0 ums0: 16 buttons and [XYZT] coordinates ID=2 uhid0: on usbus0 xhci0: Resetting controller usb_alloc_device: set address 3 failed (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT ---------- Original Message ----------- From:Hans Petter Selasky To:Jason Seidel , freebsd-gnats-submit@FreeBSD.org Sent:Wed, 09 Apr 2014 22:30:15 +0200 Subject:Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues > On 04/09/14 17:39, Jason Seidel wrote: > > > >> Number: 188403 > >> Category: usb > >> Synopsis: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues > >> Confidential: no > >> Severity: non-critical > >> Priority: low > >> Responsible: freebsd-usb > >> State: open > >> Quarter: > >> Keywords: > >> Date-Required: > >> Class: sw-bug > >> Submitter-Id: current-users > >> Arrival-Date: Wed Apr 09 15:40:00 UTC 2014 > >> Closed-Date: > >> Last-Modified: > >> Originator: Jason Seidel > >> Release: Freebsd 10 release/stable and 11.0-current > >> Organization: > >> Environment: > > I have tried this with all current FreeBSD 10 versions. > > > > FreeBSD nuc 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r264292: Wed Apr 9 10:14:56 EDT 2014 jseidel@nuc:/usr/obj/usr/src/sys/GENERIC i386 > > > >> Description: > > I have an intel NUC D34010WYKH, and there is an issue with the USB3 in release 10 and 11. I was running freebsd 10 release and saw this issuebut i needed to upgrade to stable because release didnt contain the axge driver for a usb network adapter. after updating to stable, the driver was available but the usb errors were still there. I saw some messages about issues like this and that a fix was uploaded, so I went to current to see if it fixed the problem, but the issue was still there. > > > > usb_alloc_device: set address 5 failed (USB_ERR_TIMEOUT, ignored) > > usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_STALLED > > Root mount waiting for: usbus1 > > usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored) > > usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_STALLED > > Root mount waiting for: usbus1 > > Root mount waiting for: usbus1 > > usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored) > > usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_STALLED > > Root mount waiting for: usbus1 > > usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored) > > usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_STALLED > > Root mount waiting for: usbus1 > > Root mount waiting for: usbus1 > > usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored) > > usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_STALLED > > > > > > $ pciconf -lv > > hostb0@pci0:0:0:0: class=0x060000 card=0x20548086 chip=0x0a048086 rev=0x09 hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Haswell-ULT DRAM Controller' > > class = bridge > > subclass = HOST-PCI > > vgapci0@pci0:0:2:0: class=0x030000 card=0x20548086 chip=0x0a268086 rev=0x09 hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Haswell-ULT Integrated Graphics Controller' > > class = display > > subclass = VGA > > hdac0@pci0:0:3:0: class=0x040300 card=0x20548086 chip=0x0a0c8086 rev=0x09 hdr=0x00 > > vendor = 'Intel Corporation' > > class = multimedia > > subclass = HDA > > xhci0@pci0:0:20:0: class=0x0c0330 card=0x20548086 chip=0x9c318086 rev=0x04 hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Lynx Point-LP USB xHCI HC' > > class = serial bus > > subclass = USB > > none0@pci0:0:22:0: class=0x078000 card=0x20548086 chip=0x9c3a8086 rev=0x04 hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Lynx Point-LP HECI' > > class = simple comms > > em0@pci0:0:25:0: class=0x020000 card=0x20548086 chip=0x15598086 rev=0x04 hdr=0x00 > > vendor = 'Intel Corporation' > > class = network > > subclass = ethernet > > hdac1@pci0:0:27:0: class=0x040300 card=0x20548086 chip=0x9c208086 rev=0x04 hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Lynx Point-LP HD Audio Controller' > > class = multimedia > > subclass = HDA > > pcib1@pci0:0:28:0: class=0x060400 card=0x20548086 chip=0x9c108086 rev=0xe4 hdr=0x01 > > vendor = 'Intel Corporation' > > device = 'Lynx Point-LP PCI Express Root Port 1' > > class = bridge > > subclass = PCI-PCI > > pcib2@pci0:0:28:3: class=0x060400 card=0x20548086 chip=0x9c168086 rev=0xe4 hdr=0x01 > > vendor = 'Intel Corporation' > > device = 'Lynx Point-LP PCI Express Root Port 4' > > class = bridge > > subclass = PCI-PCI > > ehci0@pci0:0:29:0: class=0x0c0320 card=0x20548086 chip=0x9c268086 rev=0x04 hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Lynx Point-LP USB EHCI' > > class = serial bus > > subclass = USB > > isab0@pci0:0:31:0: class=0x060100 card=0x20548086 chip=0x9c438086 rev=0x04 hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Lynx Point-LP LPC Controller' > > class = bridge > > subclass = PCI-ISA > > ahci0@pci0:0:31:2: class=0x010601 card=0x20548086 chip=0x9c038086 rev=0x04 hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Lynx Point-LP SATA Controller 1 [AHCI mode]' > > class = mass storage > > subclass = SATA > > none1@pci0:0:31:3: class=0x0c0500 card=0x20548086 chip=0x9c228086 rev=0x04 hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Lynx Point-LP SMBus Controller' > > class = serial bus > > subclass = SMBus > > none2@pci0:2:0:0: class=0x028000 card=0x40708086 chip=0x08b18086 rev=0x73 hdr=0x00 > > vendor = 'Intel Corporation' > > class = network > > > > # usbconfig > > ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > > ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) > > ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > > ugen1.3: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (248mA) > > ugen1.4: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (98mA) > > > > > >> How-To-Repeat: > > fresh install of freebsd exibits this issue. > >> Fix: > > I have gotten it to "somewhat" stabilize by adding hw.usb.xhci.xhci_port_route=-1 into /boot/loader.conf > > > >> Release-Note: > >> Audit-Trail: > > Hi, > > Can you try this patch: > > http://svnweb.freebsd.org/changeset/base/264294 > > --HPS ------- End of Original Message -------