From owner-freebsd-usb@FreeBSD.ORG Tue Jan 31 01:12:39 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D08216A420 for ; Tue, 31 Jan 2006 01:12:39 +0000 (GMT) (envelope-from iedowse@iedowse.com) Received: from nowhere.iedowse.com (nowhere.iedowse.com [82.195.144.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 53D2A43D45 for ; Tue, 31 Jan 2006 01:12:38 +0000 (GMT) (envelope-from iedowse@iedowse.com) Received: from localhost ([127.0.0.1] helo=iedowse.com) by nowhere.iedowse.com via local-iedowse id ; 31 Jan 2006 01:12:36 +0000 (GMT) To: Juergen Lock In-Reply-To: Your message of "Mon, 30 Jan 2006 23:34:13 +0100." <20060130223413.GA11711@saturn.kn-bremen.de> Date: Tue, 31 Jan 2006 01:12:35 +0000 From: Ian Dowse Message-ID: <200601310112.aa34663@nowhere.iedowse.com> Cc: freebsd-usb@freebsd.org Subject: Re: cvs commit: src/sys/dev/usb ehci.c ehci_pci.c ehcivar.h X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2006 01:12:39 -0000 In message <20060130223413.GA11711@saturn.kn-bremen.de>, Juergen Lock writes: > Alright, here comes that: > intr_context = 3, Interesting - this actually suggests that two threads might be in the the interrupt service routine at the same time, which should not be possible unless there is a bug causing a callback to sleep. Could you see if you can find the EHCI interrupt thread in the output of: ps -axl -M vmcore -N kernel | grep irq It might show up like "[irq3: ehci" but if there are other interrupts shared with it you might need to look through dmesg output to find the IRQ number used by ehci and then look for that thread instead. Then from gdb, use 'info threads' to find the gdb thread ID for it (look for the PID=XX then read the first column). Finally, "thread TID" followed by "bt" should show what that thread is doing. e.g. if you see 7 Thread 100002 (PID=14: irq3: ehci0) 0xc050bb23 in ... then use "thread 7" and "bt". Ian