From owner-freebsd-usb@FreeBSD.ORG Wed Mar 30 10:42: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 AC61016A4CE for ; Wed, 30 Mar 2005 10:42: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 D8BAD43D3F for ; Wed, 30 Mar 2005 10:42:06 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2UAg2sf084631 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 30 Mar 2005 12:42:04 +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 j2UAf4VK003991 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 30 Mar 2005 12:41:04 +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 j2UAf3Rx095059; Wed, 30 Mar 2005 12:41:03 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2UAf3M8095058; Wed, 30 Mar 2005 12:41:03 +0200 (CEST) (envelope-from ticso) Date: Wed, 30 Mar 2005 12:41:03 +0200 From: Bernd Walter To: Mike Tancsa Message-ID: <20050330104102.GK33677@cicely12.cicely.de> References: <6.2.1.2.0.20050329222822.04f7c500@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.20050329222822.04f7c500@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.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.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 10:42:07 -0000 On Tue, Mar 29, 2005 at 10:57:23PM -0500, Mike Tancsa wrote: > > I have been trying out USB serial devices on RELENG_5 to see if they are a > workable replacement to PCI cards. Unfortunately, it seems fairly easy to > hang such a device. (full dmesg below) > > I have a 28.8 modem connected to a ucom device > > Controller /dev/usb0: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > Intel(0x0000), rev 1.00 > port 1 addr 2: full speed, power 100 mA, config 1, PL2303 Serial adapter > (ATEN/IOGEAR UC232A)(0x2303), Prolific Technology(0x067b), rev 2.02 > port 2 powered > > > I start up a ppp session using it with the speed set to 57600. I then > start up a ping -s 512 pinging something on the other side. I then kill > the connection from the terminal server side to simulate a dialup modem > failure. The pings build up to the point where I get "no buffer space > available" and then a few dozen > > 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? -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de