Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1699854ybl; Tue, 3 Dec 2019 11:15:28 -0800 (PST) X-Google-Smtp-Source: APXvYqzswcipWOq1HVYthrrfaf9aOYQ3L3UPOvD30yrdipLMVVzdMLfmwCRqxUBUs44Rf6vE++fb X-Received: by 2002:aca:af54:: with SMTP id y81mr4765236oie.154.1575400528117; Tue, 03 Dec 2019 11:15:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575400528; cv=none; d=google.com; s=arc-20160816; b=L5/N2N3jXe3hb6WnAvZzf45ILwr5oWNgVVm02Uo18KtU3pt2iw1f8wkCgUxfWZ1vic pNFrMxbajJFjfDw1Hp8W+TEroHvWE4IskWZ0aoiIOFZPSvRqzk93ke5BtPHXOX3D/bXo TWkTy116LYK4TthJNX7hQM2dlE4Z267lFsqBc1ZjY8TSy5+9lrmaJ4SDGjPRlzjIRqRz sXmtJCtSvuVl4+jmAe8e46BkaYtbVpDrCd6wPTo3vd/32FHjQZJutXhQbkuLGQtp0zEf HZy3Ij4RGAk/nWBXK4exZ9UDgcRPUBFh6Nq4zE+XZ3sEHu6edl4JLHLJUpVYTsnDV8oY fjhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=IJm4GDJQFD93kj5Ek5DW+Ix34ullS1H6p/CYZmBwLOQ=; b=AWie9u7VCZUtVPY0ozue9Yw8a9o/n4RH0q6Dy9591ODRjnn87gdK4DeO9TO2NP+OJF ALP9R98Dxi9r5AupD4rjB/otYVYfqUTrWE/TwVWafvPzk5WH7oeB9qgYh6Uf4C6QLMsA QHXKyDUP7SWyzcxtOMQq7BzFnMTjMTB0tefbOch0ZFIg6Mul59a2o0DbeBn6cyeqLM2e TljjzUJwuI0qVO9AyZ5Kt73KMgaIgyNybrHC2YkoBVO9sTA21Bgszp2mHiAkqRIjT6s+ 79WDuXyLzqFUTuu7hWgIbSO6GBh8dkgPGzkcanIPXSVRRQbOfiWGHQ/x+hhZlr/tbDNo Z7zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KRdmDI9N; 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 i13si1809200oth.175.2019.12.03.11.15.15; Tue, 03 Dec 2019 11:15:28 -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; dkim=pass header.i=@kernel.org header.s=default header.b=KRdmDI9N; 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 S1727261AbfLCTOb (ORCPT + 99 others); Tue, 3 Dec 2019 14:14:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:57616 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726057AbfLCTOb (ORCPT ); Tue, 3 Dec 2019 14:14:31 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 75D3920674; Tue, 3 Dec 2019 19:14:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575400470; bh=TGlmWurXCkJiWDje6hWzvqeJdYkSUy0VCiAUGee7E0w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KRdmDI9NvW0sIioszejrzsYshWcf1A4DO60HplKmFDSEh1UAXoMPr7u8j8MvgqdZ+ Uge4rmd1e9EhqzeQyHJvVKw9cHMKeZhuNSm53hfMeA+gwVSTr6qwiFT4FFEQ4oJDnP ujhGyATRQSYuYRq/+AnZAHZCp8NQaCDGBNkqqXtQ= Date: Tue, 3 Dec 2019 20:14:28 +0100 From: Greg Kroah-Hartman To: Mikulas Patocka Cc: Mike Kravetz , Daniel Axtens , Michael Neuling , Peter Hurley , Jiri Slaby , Linux Kernel Mailing List Subject: Re: tty crash in Linux 4.6 Message-ID: <20191203191428.GB2734645@kroah.com> References: <573B5E4C.8030808@hurleysoftware.com> <87po3wusq1.fsf@linkitivity.dja.id.au> <20180322140554.GA3273@kroah.com> <87k1td913u.fsf@linkitivity.dja.id.au> <20191116093614.GB408484@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 03, 2019 at 10:17:08AM -0500, Mikulas Patocka wrote: > > > On Sat, 16 Nov 2019, Greg Kroah-Hartman wrote: > > > On Fri, Nov 15, 2019 at 11:21:08AM -0800, Mike Kravetz wrote: > > > On 4/11/18 9:09 AM, Daniel Axtens wrote: > > > > Mikulas Patocka writes: > > > > > > > >> On Thu, 22 Mar 2018, Greg Kroah-Hartman wrote: > > > >> > > > >>> On Fri, Mar 23, 2018 at 12:48:06AM +1100, Daniel Axtens wrote: > > > >>>> Hi, > > > >>>> > > > >>>>>> This patch works, I've had no tty crashes since applying it. > > > >>>>>> > > > >>>>>> I've seen that you haven't sent this patch yet to Linux-4.7-rc and > > > >>>>>> Linux-4.6-stable. Will you? Or did you create a different patch? > > > >>>>> > > > >>>>> We are hitting this now on powerpc. This patch never seemed to make > > > >>>>> it upstream (drivers/tty/tty_ldisc.c hasn't been touched in 1 year). > > > >>>> > > > >>>> I seem to be hitting this too on a kernel that has the 4.6 changes > > > >>>> backported to 4.4. > > > >>>> > > > >>>> Has there been any further progress on getting this accepted? > > > >>> > > > >>> Can you try applying 28b0f8a6962a ("tty: make n_tty_read() always abort > > > >>> if hangup is in progress") to see if that helps out or not? > > > > > > > > Sorry for the delay in getting the test results; as with Mikulas, > > > > 28b0f8a6962a does not help. > > > > > > > > Regards, > > > > Daniel > > > > > > > >>> > > > >>> thanks, > > > >>> > > > >>> greg k-h > > > >> > > > >> It doesn't help. I get the same crash as before. > > > >> > > > >> Mikulas > > > > > > Reviving a really old thread. > > > > > > It looks like this patch never got merged. > > > > I do not see a patch in this email, so I have no idea what you are > > referring to, sorry. > > > > > Did it get resolved in some other way? I ask because we have a > > > customer who seems to have hit this issue. > > > > Can you try with the latest kernel to see if it is resolved or not? > > I tested it on the kernel 5.4 and I couldn't reproduce the crash anymore. Wonderful, please use that kernel then :) thanks, greg k-h