From owner-freebsd-usb@FreeBSD.ORG Wed Mar 30 12:50:07 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBFA316A4CE for ; Wed, 30 Mar 2005 12:50:07 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 074C643D2D for ; Wed, 30 Mar 2005 12:50:07 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2UCo3sf088482 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 30 Mar 2005 14:50:05 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2UCnPVK004694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 30 Mar 2005 14:49:25 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2UCnOfB095696; Wed, 30 Mar 2005 14:49:24 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2UCnO2s095695; Wed, 30 Mar 2005 14:49:24 +0200 (CEST) (envelope-from ticso) Date: Wed, 30 Mar 2005 14:49:24 +0200 From: Bernd Walter To: Mike Tancsa Message-ID: <20050330124923.GR33677@cicely12.cicely.de> References: <6.2.1.2.0.20050329222822.04f7c500@64.7.153.2> <20050330104102.GK33677@cicely12.cicely.de> <6.2.1.2.0.20050330071753.055388b8@64.7.153.2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.2.1.2.0.20050330071753.055388b8@64.7.153.2> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0019] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: ticso@cicely.de cc: freebsd-usb@freebsd.org Subject: Re: uplcom / ucom problems on RELENG_5 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 12:50:07 -0000 On Wed, Mar 30, 2005 at 07:22:07AM -0500, Mike Tancsa wrote: > At 05:41 AM 30/03/2005, Bernd Walter wrote: > >> putc to a clist with no reserved cblocks > >> putc to a clist with no reserved cblocks > >> putc to a clist with no reserved cblocks > >> putc to a clist with no reserved cblocks > >> putc to a clist with no reserved cblocks > >> putc to a clist with no reserved cblocks > >> putc to a clist with no reserved cblocks > >> > >> fill up the console. At this point, ppp is totally hung, and I cannot > >kill > >> ppp > > > >You need a way to notice a connection failure. > >In case of modem or line failure you should see DCD loss. > >Does your cabling release DCD, or do you use LQR in your configuration? > >Have you compared the same configuration with a classical 16550 based > >serial? > > Hi, > PPP does see the loss, the problem is that its totally wedged and > cant do anything else. In the case where there is not too much data going > across the serial line, the connection dropping has no adverse effect. I > have LCP keep alives enbled and it does detect the link going away and does > properly redial. However, it seems where there is too much outstanding > data things get into trouble. That's possible - currently we can't control the transmit/receive buffers inside the USB device. > Like I said, at this point I cant even kill -9 ppp. That fits - the device buffers even survive a reopen of the tty. > What more information can I provide to help track this problem down ? We need to implement complete flushing support for uplcom. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de