From owner-freebsd-usb@FreeBSD.ORG Tue Feb 17 08:04:45 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED03B106564A for ; Tue, 17 Feb 2009 08:04:45 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 81D9E8FC0C for ; Tue, 17 Feb 2009 08:04:44 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=X8UnDXgGpLQA:10 a=aVpn2bNl7R0A:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=nYjVJcWDhLuxVKvvtCkA:9 a=nENZAnPgzS0bGCZDVbPLg32wx6gA:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1196918056; Tue, 17 Feb 2009 09:04:43 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 17 Feb 2009 09:07:11 +0100 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902170907.12043.hselasky@c2i.net> Cc: Subject: Re: USB2+umass: timing related bug (machine check abort) 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, 17 Feb 2009 08:04:46 -0000 On Tuesday 17 February 2009, Marcel Moolenaar wrote: > Context: MACHINE=ia64, CPU=Montecito > > I'm running into a timing related MCA. In short: > ... > umass0: addr 2> on usbus2 > umass0: SCSI over Bulk-Only; quirks = 0x0000 > umass0:2:0:-1: Attached to scbus2 > *** machine check abort *** > *********************************************************** > * ROM Version : 01.05 > * ROM Date : 11/06/2006 > * BMC Version : 05.06 > *********************************************************** > ... > > When I enable EHCI debugging (level 99) this does not happen > and between the debug output, I see: > It looks like there is a timing issue there. I suspect that someone is trying to setup a USB transfer before usb2_transfer_setup() has returned. Could you get into the kernel debugger and dump "xfer->xroot" and "xfer->xroot->xfer_mtx". --HPS