From owner-freebsd-usb@FreeBSD.ORG Thu Feb 19 03:17:03 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 7FC82106566B for ; Thu, 19 Feb 2009 03:17:03 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout018.mac.com (asmtpout018.mac.com [17.148.16.93]) by mx1.freebsd.org (Postfix) with ESMTP id 6B3248FC17 for ; Thu, 19 Feb 2009 03:17:03 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [172.24.240.93] (natint3.juniper.net [66.129.224.36]) by asmtp018.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KFA002VYMGC8W90@asmtp018.mac.com> for freebsd-usb@freebsd.org; Wed, 18 Feb 2009 19:17:01 -0800 (PST) Message-id: <2E17A9B1-A09D-473C-92A7-6E30B646B3C4@mac.com> From: Marcel Moolenaar To: Hans Petter Selasky In-reply-to: <200902171725.00271.hselasky@c2i.net> Date: Wed, 18 Feb 2009 19:17:00 -0800 References: <200902171725.00271.hselasky@c2i.net> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-usb@freebsd.org 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: Thu, 19 Feb 2009 03:17:03 -0000 On Feb 17, 2009, at 8:24 AM, Hans Petter Selasky wrote: > 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: >> > > Hi, > > I think that the problem is not USB related, but it happens at a > point in time > where the UMASS USB transfer is half-setup. When the UMASS poll > callback is > called at the wrong time, then you will get a NULL pointer access. > Try the > following patch and report back: > > http://perforce.freebsd.org/chv.cgi?CH=157847 No change. -- Marcel Moolenaar xcllnt@mac.com