Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2003 17:07:20 +0000
From:      Josef Karthauser <joe@FreeBSD.org>
To:        "Brian F. Feldman" <green@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: kernel panic trying to utilize a da(4)/umass(4) device with ohci(4)
Message-ID:  <20031122170720.GA5682@genius.tao.org.uk>
In-Reply-To: <200311221308.hAMD8TQ4000993@green.bikeshed.org>
References:  <20031121202949.GE74178@cicely12.cicely.de> <200311221308.hAMD8TQ4000993@green.bikeshed.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031122170720.GA5682>