From owner-freebsd-current@FreeBSD.ORG Sat Nov 22 05:47:02 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1006816A4CE; Sat, 22 Nov 2003 05:47:02 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57E8A43FE9; Sat, 22 Nov 2003 05:47:00 -0800 (PST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) hAMDkqvq081996 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sat, 22 Nov 2003 14:46:56 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id hAMDkmER038548 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 22 Nov 2003 14:46:49 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.10/8.12.10) with ESMTP id hAMDkl2u017593; Sat, 22 Nov 2003 14:46:48 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.10/8.12.10/Submit) id hAMDklij017592; Sat, 22 Nov 2003 14:46:47 +0100 (CET) (envelope-from ticso) Date: Sat, 22 Nov 2003 14:46:47 +0100 From: Bernd Walter To: "Brian F. Feldman" Message-ID: <20031122134646.GH74178@cicely12.cicely.de> References: <20031121202949.GE74178@cicely12.cicely.de> <200311221308.hAMD8TQ4000993@green.bikeshed.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311221308.hAMD8TQ4000993@green.bikeshed.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.1-CURRENT alpha User-Agent: Mutt/1.5.4i cc: Josef Karthauser cc: Ian Dowse cc: ticso@cicely.de cc: current@freebsd.org Subject: Re: kernel panic trying to utilize a da(4)/umass(4) device with ohci(4) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 13:47:02 -0000 On Sat, Nov 22, 2003 at 08:08:29AM -0500, Brian F. Feldman wrote: > Found it!!! Definitely a problem created then... > > --- ohci.c 12 Nov 2003 01:40:11 -0000 1.138 > +++ ohci.c 22 Nov 2003 03:28:42 -0000 > @@ -569,7 +569,7 @@ > cur->td.td_cbp = htole32(dataphys); > cur->nexttd = next; > cur->td.td_nexttd = htole32(next->physaddr); > - cur->td.td_be = htole32(DMAADDR(dma, curlen - 1)); > + cur->td.td_be = htole32(DMAADDR(dma, offset + curlen - 1)); > cur->len = curlen; > cur->flags = OHCI_ADD_LEN; > cur->xfer = xfer; > > I'm a lot happier now :-) Let's start trying to get this stuff merged in! Great news! -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de