From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Slaby Subject: Re: [PATCH v2 1/6] TTY: serial, remove BTM from wait_until_sent Date: Wed, 10 Aug 2011 16:43:19 +0200 Message-ID: <4E429907.6080000@gmail.com> References: <1310646915-3032-1-git-send-email-jslaby@suse.cz> <20110719003503.GA4138@amos.fritz.box> <4E3FE2D2.5020801@gmail.com> <20110810010933.GA4733@amos.fritz.box> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mail-fx0-f46.google.com ([209.85.161.46]:33210 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751111Ab1HJOnX (ORCPT ); Wed, 10 Aug 2011 10:43:23 -0400 In-Reply-To: <20110810010933.GA4733@amos.fritz.box> Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: Andreas Bombe Cc: Jiri Slaby , gregkh@suse.de, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Alan Cox , Arnd Bergmann On 08/10/2011 03:09 AM, Andreas Bombe wrote: > On Mon, Aug 08, 2011 at 03:21:22PM +0200, Jiri Slaby wrote: >> On 07/19/2011 02:35 AM, Andreas Bombe wrote: >>> On Thu, Jul 14, 2011 at 02:35:10PM +0200, Jiri Slaby wrote: >>>> This should also fix the issue Andreas is seeing (BTM in comparison to >>>> BKL doesn't have any hidden functionality like unlocking during >>>> sleeping). >>> >>> I tested the patch series and it does not appear to make a difference >>> for the internal (16550A) serial ports on my system. Also, I am still >>> unclear on why it freezes the X display during the timeout period. >> >> Sorry for the delay. Could you attach output of sysrq-t when this >> happens? I mean with a kernel patched by my patch. > > I did my simple test on ttyS0 again: "stty -F /dev/ttyS0 crtscts" then > "echo >/dev/ttyS0". I attached the gzipped sysrq-t list in case you need > the complete output. This is just the process while it is trying to > close the device (bash's internal echo): Hmm, perhaps obvious question. What is the port connected with? And with what cable? Is it null modem cable? Or at least with DTR-CTS connected? thanks, -- js