From owner-freebsd-stable@FreeBSD.ORG Thu Jan 29 20:24:45 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F37CB1065677 for ; Thu, 29 Jan 2009 20:24:44 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from acme.spoerlein.net (cl-43.dus-01.de.sixxs.net [IPv6:2a01:198:200:2a::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6475F8FC0C for ; Thu, 29 Jan 2009 20:24:44 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from roadrunner.spoerlein.net (e180174011.adsl.alicedsl.de [85.180.174.11]) by acme.spoerlein.net (8.14.2/8.14.2) with ESMTP id n0TKOc9m039274 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 29 Jan 2009 21:24:39 +0100 (CET) (envelope-from uspoerlein@gmail.com) Received: from roadrunner.spoerlein.net (localhost [127.0.0.1]) by roadrunner.spoerlein.net (8.14.3/8.14.3) with ESMTP id n0TKOYVr009496 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Jan 2009 21:24:34 +0100 (CET) (envelope-from uspoerlein@gmail.com) Received: (from uqs@localhost) by roadrunner.spoerlein.net (8.14.3/8.14.3/Submit) id n0TKOTHa009495; Thu, 29 Jan 2009 21:24:29 +0100 (CET) (envelope-from uspoerlein@gmail.com) Date: Thu, 29 Jan 2009 21:24:29 +0100 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Timo Rikkonen Message-ID: <20090129202429.GA3536@roadrunner.spoerlein.net> Mail-Followup-To: Timo Rikkonen , freebsd-stable@freebsd.org, Ed Schouten , Marcel Moolenaar References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Ed Schouten , Marcel Moolenaar , freebsd-stable@freebsd.org Subject: Re: /dev/cuau* ports hang after a while X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2009 20:24:45 -0000 On Mon, 26.01.2009 at 15:00:11 +0200, Timo Rikkonen wrote: > Hi, > > We are using "VScom PCI-200L" and "Moxa Technologies, C168H/PCI" > -cards for serial ports. After installing 7.0 the ports or the > connection to the port hang after a while. A "while" could be > half-a-day or 10 minutes. There is no error message to be seen > anywhere. What exactly do you mean by "hang"? I discovered something odd, when I upgraded my 6.3 box to 7.1, namely, that the serial console (no matter if it's sio or uart) will not echo anything, once I "hang up" the line for the first time. To make this clear: I reboot with serial console attached, I see kernel console, then getty/login prompt. I can login fine, and do stuff. Once I exit tip(1) on the terminal, the port is "mostly" dead on the server. I say mostly, because I can still blindly enter the root login and confirm via separate ssh login, that I'm logged in to the machine on the serial getty port. So it seems to me, whenever sio/uart receive the first device close event, they get b0rked and receive only input, but can no longer send any output. > Not all ports hang at the same time, it could be just one or two of > them. Earlier versions (6.2-RELEASE) work just fine. The ports have > different devicenames after 7.0, in 6.2 they were /dev/cuad4-7, now > they are /dev/cuau0-3 (uart?) Try rebuilding a kernel without uart and see if they come up as sio ports again (and work?) > We have over 20 installations, now two of them have been upgraded to 7.0 with mentioned side effects. Is this identical hardware? Cheers, Ulrich Spörlein -- None are more hopelessly enslaved than those who falsely believe they are free -- Johann Wolfgang von Goethe