[Bug 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 16 06:12:22 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

--- Comment #133 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
The message:

xhci0: Resetting controller

comes via code in xhci_do_command that has the following comment:

                /*
                 * After some weeks of continuous operation, it has
                 * been observed that the ASMedia Technology, ASM1042
                 * SuperSpeed USB Host Controller can suddenly stop
                 * accepting commands via the command queue. Try to
                 * first reset the command queue. If that fails do a
                 * host controller reset.
                 */

The code involves the only call to usb_bus_reset_async_locked
(in an else) --and that routine produces the message. The special
code for the ASM1042 seems to be the source of the host controller
reset operation sequences in what I and Bjoern reported. (This code
does not check if the device involved is a ASM1042.)

In what I report in comment #126 the cortex-A72 system always gets
just one of those messages for the -mcpu=cortex-a53 based kernel
--but for the -mcpu=cortex-a72 based kernel the A72 overall reruns
the host controller reset indefinitely.

May be the above observation can help narrow down what needs to be
looked at for at least some of what is being reported.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-usb mailing list