[Bug 222624] [usb] [panic] thread's sleep queue 0 is not empty at usb_process.c:193

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 13 11:13:33 UTC 2017


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

--- Comment #16 from Hans Petter Selasky <hselasky at FreeBSD.org> ---
Hi,

ehci_get_port_speed_portsc() should not be in use on amd64. Either the stack is
corrupt or this indicates a problem with the CPU or some registers have been
clobbered.

--HPS

sys/dev/usb/controller/ehci_ixp4xx.c:   sc->sc_vendor_get_port_speed =
ehci_get_port_speed_portsc;
sys/dev/usb/controller/ehci_imx.c:      esc->sc_vendor_get_port_speed =
ehci_get_port_speed_portsc;
sys/dev/usb/controller/ehci.c:ehci_get_port_speed_portsc(struct ehci_softc *sc,
uint16_t index)
sys/dev/usb/controller/ehci_mv.c:       sc->sc_vendor_get_port_speed =
ehci_get_port_speed_portsc;
sys/dev/usb/controller/ehci.h:uint16_t ehci_get_port_speed_portsc(struct
ehci_softc *sc, uint16_t index);

cpufunc.h (amd64):218

static __inline u_int
inl(u_int port)
{
        u_int   data;

        __asm __volatile("inl %w1, %0" : "=a" (data) : "Nd" (port));
        return (data);
}

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


More information about the freebsd-usb mailing list