From owner-freebsd-current@FreeBSD.ORG Sat Nov 22 09:07:23 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 96F1C16A4CE; Sat, 22 Nov 2003 09:07:23 -0800 (PST) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5694843FF2; Sat, 22 Nov 2003 09:07:22 -0800 (PST) (envelope-from joe@genius.tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id B5BAE4304; Sat, 22 Nov 2003 17:07:20 +0000 (GMT) Date: Sat, 22 Nov 2003 17:07:20 +0000 From: Josef Karthauser To: "Brian F. Feldman" Message-ID: <20031122170720.GA5682@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , "Brian F. Feldman" , ticso@cicely.de, Doug White , Ian Dowse , current@freebsd.org References: <20031121202949.GE74178@cicely12.cicely.de> <200311221308.hAMD8TQ4000993@green.bikeshed.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline In-Reply-To: <200311221308.hAMD8TQ4000993@green.bikeshed.org> User-Agent: Mutt/1.5.4i 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 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 17:07:23 -0000 --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 22, 2003 at 08:08:29AM -0500, Brian F. Feldman wrote: > >=20 > > We never did any page crossing on ohci/ehci bevor the newbus change > > took place. >=20 > Found it!!! Definitely a problem created then... >=20 > --- 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 =3D htole32(dataphys); > cur->nexttd =3D next; > cur->td.td_nexttd =3D htole32(next->physaddr); > - cur->td.td_be =3D htole32(DMAADDR(dma, curlen - 1)); > + cur->td.td_be =3D htole32(DMAADDR(dma, offset + curlen - = 1)); > cur->len =3D curlen; > cur->flags =3D OHCI_ADD_LEN; > cur->xfer =3D xfer; >=20 > I'm a lot happier now :-) Let's start trying to get this stuff merged in! >=20 Cool as!!! Good call. Joe --=20 Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an= d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iEYEARECAAYFAj+/l8gACgkQXVIcjOaxUBYoMgCgjbWBm5Kkm5QWB8gxvFJF/0qJ tnUAnA9MGwx3WL9YtbuBIF9QRUdsd4av =gOgR -----END PGP SIGNATURE----- --wac7ysb48OaltWcw--