From owner-freebsd-tokenring Thu Jul 8 7: 5: 2 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from heathers.stdio.com (heathers.stdio.com [199.89.192.5]) by hub.freebsd.org (Postfix) with ESMTP id 07169152F9 for ; Thu, 8 Jul 1999 07:04:55 -0700 (PDT) (envelope-from lile@stdio.com) Received: from heathers.stdio.com (lile@heathers.stdio.com [199.89.192.5]) by heathers.stdio.com (8.8.8/8.8.8) with ESMTP id KAA22057; Thu, 8 Jul 1999 10:04:49 -0400 (EDT) (envelope-from lile@stdio.com) Date: Thu, 8 Jul 1999 10:04:49 -0400 (EDT) From: Larry Lile To: Phil Regnauld Cc: freebsd-tokenring@FreeBSD.ORG Subject: Re: Status on Olicom driver ? In-Reply-To: <19990708160347.13356@ns.int.ftf.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 8 Jul 1999, Phil Regnauld wrote: > Larry Lile writes: > > > > On Wed, 7 Jul 1999, Phil Regnauld wrote: > > > > > Hi, > > > > > > I've been away for a while -- what's the status on the Olicom drivers -- > > > are ther still problems or are they working now ? > > > > > > (I remind my problem: 4.0-SNAP-19990421 worked, but not 4.0-SNAP-19990527 for example). > > > [...] > > > The second and worst is that the PMW kit ceases to call > > TransmitFrameCompleted. This causes the driver/card to run out of > > transmit buffers and there is no way to recover except reboot. > > In my case, ifconfig down flushes the packets, and ifconfig up gets > the interface up and running again (until next burst) -- mild > traffic doesn't kill it... You are suffering under the too many mbufs problem. All of the available transmit fragments get used up because you are trying to transmit a packet with more mbufs than there are total (not available) adapter fragments. > > > I can't help but think that since newbus went in on 4/16 that there is > > some correlation with the second problem. > > But 4/21 works... (except for repeated "receive error. (ReceiveStatus=3)" > on the console, and it also says "adapter not ready to come up", or similar, > when I ifconfig the oltr0 for the first time -- but it works anyway). The only way I can figure out your ReceiveStatus=3 problem is with a network trace. The adapter not ready problem is a race condition that I have to fix in the probe/attach code. If you go a little further forward in time you will find that the adapter will hang on outgoing packets, because the PMW ceases to call TransmitFrameCompleted. Although without my new code to get around the mbuf fragment problem "seeing" it would be sorta pot luck. :( > > > Needless to say I am very frustrated that I haven't been able to fix > > these problems, but I am still working on them. I still have a lot > > of cleaning up to do in the driver but these 3 things have me tied > > up. > > Is this purely FreeBSD related -- i.e.: wouldn't the Olicom people > be able to help a little ? The author of PMW is looking at some dumps for me already. It is likely an interrupted DMA transfer, caused by me failing to protect a PMW call properly. Larry Lile lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message