kernel panic trying to utilize a da(4)/umass(4) device with
ohci(4)
Josef Karthauser
joe at FreeBSD.org
Sat Nov 22 09:07:23 PST 2003
On Sat, Nov 22, 2003 at 08:08:29AM -0500, Brian F. Feldman wrote:
> >
> > We never did any page crossing on ohci/ehci bevor the newbus change
> > took place.
>
> 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!
>
Cool as!!! Good call.
Joe
--
Josef Karthauser (joe at 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/
================ An eclectic mix of fact and theory. =================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031122/1e5cb530/attachment.bin
More information about the freebsd-current
mailing list