From owner-freebsd-hackers Tue Dec 21 16:59:27 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id D44F314D08; Tue, 21 Dec 1999 16:59:25 -0800 (PST) (envelope-from ambrisko@whistle.com) Received: from whistle.com (crab.whistle.com [207.76.205.112]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id QAA84456; Tue, 21 Dec 1999 16:59:20 -0800 (PST) Received: (from ambrisko@localhost) by whistle.com (8.9.1/8.9.1) id QAA02378; Tue, 21 Dec 1999 16:59:01 -0800 (PST) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <199912220059.QAA02378@whistle.com> Subject: Re: Possible solution for USB Ethernet problem In-Reply-To: <199912220028.TAA07925@skynet.ctr.columbia.edu> from Bill Paul at "Dec 21, 99 07:28:09 pm" To: wpaul@skynet.ctr.columbia.edu (Bill Paul) Date: Tue, 21 Dec 1999 16:59:01 -0800 (PST) Cc: hackers@FreeBSD.ORG, n_hibma@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL29 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bill Paul writes: | Previously I mentioned that I was having trouble sending full sized | ethernet frames (1500 bytes) over USB using my ADMtek AN986 Pegasus | eval board. The problem turned out to be in the uhci driver, however | I'm not certain exactly how to incorporate my fix. | | The problem I was seeing was that large frames would trigger babble | errors, which would cause an endpoint halt and wedge the RX or TX pipe. | Julian brought up another driver written by Doug Ambrisko which appeared | to be able to transfer 1500-byte frames without any trouble. However, | neither he nor Doug bothered to mention if their test machines had UHCI | or OHCI hubs. Given what I've learned, I suspect they were OHCI. We used both OHCI to itself for initial debugging then an OHCI machine to UHCI and a UHCI to UHCI. So it didn't seem that saying what stack we used was important since they both worked for us. This was -current as of a week or so ago. We did run into an issue with OHCI, in that if we plugged in any USB device after the machine was booted we would get the td_??? panic. So we had to have the device plugged in when we booted the machine. After the machine was up we could unplug it and plug it back in. For testing we did ping's and ftp's of /kernel and it worked okay. I also ran netperf and got 3.4Mbits/sec with MTU's of 900 & 1500. So we are not saying the USB stack is perfect, but it worked for us. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message