Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2017 11:13:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-usb@FreeBSD.org
Subject:   [Bug 222624] [usb] [panic] thread's sleep queue 0 is not empty at usb_process.c:193
Message-ID:  <bug-222624-17-aVsYgoDUBY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222624-17@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222624-17@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #16 from Hans Petter Selasky <hselasky@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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222624-17-aVsYgoDUBY>