From owner-freebsd-current@FreeBSD.ORG Wed Sep 21 09:18:09 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6A8216A41F; Wed, 21 Sep 2005 09:18:09 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id C830643D5C; Wed, 21 Sep 2005 09:18:08 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.10/8.12.10) with ESMTP id j8L9I4BS078345 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 21 Sep 2005 11:18:06 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j8L9HqeG009352 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 21 Sep 2005 11:17:53 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id j8L9HqdG009842; Wed, 21 Sep 2005 11:17:52 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id j8L9HqSG009841; Wed, 21 Sep 2005 11:17:52 +0200 (CEST) (envelope-from ticso) Date: Wed, 21 Sep 2005 11:17:52 +0200 From: Bernd Walter To: Gavin Atkinson Message-ID: <20050921091751.GQ552@cicely12.cicely.de> References: <20050920110023.GA468@ip.net.ua> <6136.1127217196@critter.freebsd.dk> <20050920153044.GC468@ip.net.ua> <1127230793.30479.24.camel@buffy.york.ac.uk> <20050920172635.GA2811@ip.net.ua> <1127238519.30479.35.camel@buffy.york.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1127238519.30479.35.camel@buffy.york.ac.uk> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Report: * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on cicely12.cicely.de Cc: freebsd-current@freebsd.org Subject: Re: serial ttys broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 09:18:10 -0000 On Tue, Sep 20, 2005 at 06:48:39PM +0100, Gavin Atkinson wrote: > FreeBSD/i386 (buffy.york.ac.uk) (ttyd0) > > login: > FreeBSD/i386 (buffy.york.ac.uk) (ttyd0) > > login: HWV*Q)kB > BJjHVKCCeeBSD/i386 (buffy.york.ac.uk) (ttyd0) > > login: > FreeBSD/i386 (buffy.york.ac.uk) (ttyd0) > > login: CCreeBSD/i386 (buffy.york.ac.uk) (ttyd0) > > login: > FreeBSD/i386 (buffy.york.ac.uk) (ttyd0) > > login: CCeeBSD/i386 (buffy.york.ac.uk) (ttyd0) > > login: > > > Yes. > > And that's with ttyd0, not cuaa0, and a Windows machine at the far end > of a 9600 baud link. A configuration which I'm pretty sure should > perform better. No matter how hard I try, I can't manage to reproduce > the corruption once logged in, unless I explicitly > run /usr/libexec/getty from the shell, in which case the corruption is > even worse: > > loi:cCreeBSDi36(ff.or.c.(tt0 > > loi: > reeBSDi36(ff.or.c.(tt0 > > loi: > reeBSDi36(ff.or.c.(tt0 > > loi: > reeBSDi36(ff.or.c.(tt0loi: > reeBSDi36(ff.or.c.(tt0 > > loi:cCeeBSDi36(ff.or.c.(tt0 > > > Guess there may be some issue with getty? Very interesting, I saw the same with multiple machines (alpha and i386). My first thought was having multiple getty running on the same tty, but this turned out to be wrong. My second thought was that there is a bug with my ubser(4) serials, but since it wasn't reproduceable with suns and after login it sounded unlikely. In some cases a single return could leed to garbadge, one or more cases even endless flooded. Now I know for shure that this is a FreeBSD problem. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de