Date: Wed, 15 Aug 2018 22:10:09 +0000 From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 230659] xhci(4) devices cannot attach after warm boot (Intel Braswell) Message-ID: <bug-230659-19105@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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: <Intel Braswell USB 3.0 controller> 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: <Lite-On Technology Corp. USB Multimedia Keyboard> at usbus0 ukbd0 on uhub0 ukbd0: <Lite-On Technology Corp. USB Multimedia Keyboard, class 0/0, rev 1.10/1.15, addr 1> on usbus0 ugen0.3: <vendor 0x05e3 USB2.0 Hub> at usbus0 uhub1 on uhub0 uhub1: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/85.37, addr 2> on usb= us0 uhub1: 4 ports with 2 removable, self powered ugen0.4: <Arduino LLC Arduino Leonardo> at usbus0 ugen0.5: <Realtek USB 10100 LAN> at usbus0 ure0 on uhub0 ure0: <Realtek USB 10100 LAN, class 0/0, rev 2.10/20.00, addr 4> on usbus0 uhid0 on uhub0 uhid0: <Lite-On Technology Corp. USB Multimedia Keyboard, class 0/0, rev 1.10/1.15, addr 1> on usbus0 umodem0 on uhub1 umodem0: <Arduino LLC Arduino Leonardo, class 2/0, rev 2.00/1.00, addr 3> on usbus0 umodem0: data interface 1, has no CM over data, has break uhid1 on uhub1 uhid1: <Arduino LLC Arduino Leonardo, class 2/0, rev 2.00/1.00, addr 3> on usbus0 ue0: <USB Ethernet> 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: <Unknown > 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230659-19105>