From owner-freebsd-usb@freebsd.org Wed Aug 15 22:10:11 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 253341072413 for ; Wed, 15 Aug 2018 22:10:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B6B197EA9E for ; Wed, 15 Aug 2018 22:10:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 77BD41072412; Wed, 15 Aug 2018 22:10:10 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5595A1072411 for ; Wed, 15 Aug 2018 22:10:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EA5177EA9D for ; Wed, 15 Aug 2018 22:10:09 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3CE0E969E for ; Wed, 15 Aug 2018 22:10:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w7FMA9Qg041605 for ; Wed, 15 Aug 2018 22:10:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w7FMA9aa041604 for usb@FreeBSD.org; Wed, 15 Aug 2018 22:10:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 230659] xhci(4) devices cannot attach after warm boot (Intel Braswell) Date: Wed, 15 Aug 2018 22:10:09 +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: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sobomax@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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 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.27 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2018 22:10:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230659 Bug ID: 230659 Summary: xhci(4) devices cannot attach after warm boot (Intel Braswell) Product: Base System Version: 11.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: sobomax@FreeBSD.org Created attachment 196233 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D196233&action= =3Dedit debug with hw.usb.xhci.debug=3D16 after warm boot Hi, we've observed this issue with several different kinds of small board computers based off Intel Atom x5-Z8350 chipset. It has number of periphera= ls connected via USB3 bus. Nornal USB-related output looks like the following: xhci0: mem 0x91800000-0x9180ffff at dev= ice 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 ugen0.1: <0x8086 XHCI root HUB> at usbus0 uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 uhub0: 13 ports with 13 removable, self powered ugen0.2: at usbus0 ukbd0 on uhub0 ukbd0: on usbus0 ugen0.3: at usbus0 uhub1 on uhub0 uhub1: on usb= us0 uhub1: 4 ports with 2 removable, self powered ugen0.4: at usbus0 ugen0.5: at usbus0 ure0 on uhub0 ure0: on usbus0 uhid0 on uhub0 uhid0: on usbus0 umodem0 on uhub1 umodem0: on usbus0 umodem0: data interface 1, has no CM over data, has break uhid1 on uhub1 uhid1: on usbus0 ue0: on ure0 ue0: Ethernet address: 00:e0:4c:36:ed:f0 ue0: link state changed to DOWN ue0: link state changed to UP Everything works fine after a cold boot, but when the system is rebooted without taking power down, number of USB devices including network controll= er fail to attach with the following error message(s): Jul 17 14:18:10 alx20 kernel: usb_alloc_device: set address 5 failed (USB_ERR_IOERROR, ignored) Jul 17 14:18:10 alx20 kernel: usbd_setup_device_desc: getting device descri= ptor at addr 5 failed, USB_ERR_IOERROR Jul 17 14:18:10 alx20 kernel: usbd_req_re_enumerate: addr=3D5, set address failed! (USB_ERR_IOERROR, ignored) Jul 17 14:18:10 alx20 kernel: usbd_setup_device_desc: getting device descri= ptor at addr 5 failed, USB_ERR_IOERROR Jul 17 14:18:10 alx20 kernel: usbd_req_re_enumerate: addr=3D5, set address failed! (USB_ERR_IOERROR, ignored) Jul 17 14:18:10 alx20 kernel: usbd_setup_device_desc: getting device descri= ptor at addr 5 failed, USB_ERR_IOERROR Jul 17 14:18:10 alx20 kernel: usbd_req_re_enumerate: addr=3D5, set address failed! (USB_ERR_IOERROR, ignored) Jul 17 14:18:10 alx20 kernel: usbd_setup_device_desc: getting device descri= ptor at addr 5 failed, USB_ERR_IOERROR Jul 17 14:18:11 alx20 kernel: usbd_req_re_enumerate: addr=3D5, set address failed! (USB_ERR_IOERROR, ignored) Jul 17 14:18:11 alx20 kernel: usbd_setup_device_desc: getting device descri= ptor at addr 5 failed, USB_ERR_IOERROR Jul 17 14:18:11 alx20 kernel: ugen0.5: at usbus0 (disconnected) Jul 17 14:18:11 alx20 kernel: uhub_reattach_port: could not allocate new de= vice Full debug with hw.usb.xhci.debug=3D16 after warm boot is attached. --=20 You are receiving this mail because: You are the assignee for the bug.=