Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp999349imu; Fri, 11 Jan 2019 13:01:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN6RJI/sPS1eS+97b0qA7XnmljVMt7E8oPbiAvOoC4aZ8p6+pmSe6Pw2dgnU37e+nuVwsvAi X-Received: by 2002:a17:902:292b:: with SMTP id g40mr16318006plb.82.1547240515006; Fri, 11 Jan 2019 13:01:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547240514; cv=none; d=google.com; s=arc-20160816; b=k8aMM0LE+GpZwE+zSfqU5ndB6my/z3gxmQBMl0OTtwZLbSgzyFGZeyPQhG2Oni/cPs Ovte0ldaQBqhf91FWPBlFM1eLT8IdPsJsQFF6cv34fsGWl2vjzGtFskEWEKYYEXaYMGQ J6L5d+M43WjomJJAPOuaJHAwBZ4PXw0Tps7JiRt2XYdRzUsH4z1b8l6PhqmcHOWHqJ/a pj9NQbhVJnBIMG7IHG1nSdkhd51wUoxPc88fzAmgLGhD1wi0DBh9UG0nkdlO+I/TsV+M nzOQQNSft+EFWlL6V6UPfyXAhLglWvkuMfRuv71LUYFckyhDf6t/TRrk1PeFYjArzZAs Fv8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=nUIwLTwoDk/N91Tn490ji91R4CrgrLFKFbioIm1keOw=; b=iw26pj+1vUQvNhNw9wWlTbhRQfx/d2ZVfSVf6K0SgzohAcj/RS2LEYjX1t6QEhew5w Pds/o5Z/qz+33b9lUWOV/hrJYo16Ja1WtJOWUNN5dRup2uHNVB+BlhYIJgGujh2DnxIQ 9jO2crQL0xsjd1g2va7xGV3sGOvkCgJZEDQEGbTto5rYS+kJtS3voaWm1B3PxZrSLvXW zFegGvvhKRD2v28fajXLP6wM3NLETKfLIWKCI6RagLUEyP0vE9glwepB1UPbOmlFNU7q 9JY43hlrdqZRxw5dkwPSsm9QCE9o0S7VJ/dU9K/21ys66qTAeFAdtNBrNqBuUUg8SYmg 3/+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c76si14247092pga.70.2019.01.11.13.01.39; Fri, 11 Jan 2019 13:01:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388278AbfAKTL4 (ORCPT + 99 others); Fri, 11 Jan 2019 14:11:56 -0500 Received: from shells.gnugeneration.com ([66.240.222.126]:43844 "EHLO shells.gnugeneration.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729918AbfAKTL4 (ORCPT ); Fri, 11 Jan 2019 14:11:56 -0500 Received: by shells.gnugeneration.com (Postfix, from userid 1000) id 02F0A1A40E7B; Fri, 11 Jan 2019 11:11:55 -0800 (PST) Date: Fri, 11 Jan 2019 11:11:55 -0800 From: Vito Caputo To: Nicolas Pitre Cc: Dmitry Safonov , Greg Kroah-Hartman , Jiri Slaby , Mark Rutland , Tetsuo Handa , Tycho Andersen , Dave Mielke , linux-kernel@vger.kernel.org Subject: Re: commit 83d817f410 broke my ability to use Linux with a braille display Message-ID: <20190111191155.s4e5sn5fqk33fqr4@shells.gnugeneration.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 11, 2019 at 01:33:09PM -0500, Nicolas Pitre wrote: > I use Linux with the help of a braille display and the brltty daemon. It > turns out that the latest mainline kernel I can work with comes from > commit 231f8fd0cc. Anything past that and I lose the ability to read the > console barely a few seconds after the system has booted as brltty is > thrown a wrench and the braille display becomes completely inoperable. > > Things get somewhat better with commit c96cf923a9 as brltty is not > longer incapacitated, but some programs would randomly crash. Even the > very first login attempt won't work as I soon as I hit enter after my > user name the password prompt is skipped over, just like if the enter > key had been hit twice. Then lynx (the text web browser) would crash as > soon as I switch the virtual console with LeftAlt+FN. Mind you, this > isn't easy to perform bisection in those conditions. > > And the worst commit i.e. 83d817f410 is marked for stable! :-( > > Some interaction with brltty must be at play here otherwise such > breakage would never have survived up to the mainline kernel. > > As far as latest mainline is concerned, I managed to reproduce at least > one of the unwelcome behavior change (hoping that's all there is to this > issue) with a very simple test case so you won't have to learn braille > to debug this: > > # from any vt, make sure tty40 is allocated and empty > openvt -c 40 -f -- true > > # open it and wait on read() > cat /dev/tty40 > > # from a second vt, simply open tty40 again > true < /dev/tty40 > > # come back to the first vt and watch cat bailing out with EAGAIN. > > Please fix. > > > Nicolas This all sounds familiar, and I suspect this is the fix: https://lkml.org/lkml/2019/1/8/1379 Regards, Vito Caputo