Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4872466ybc; Fri, 15 Nov 2019 11:24:25 -0800 (PST) X-Google-Smtp-Source: APXvYqxSQZGE+HC1yS4ZQyrtHJXhHJlHcda7OhD6XmdDiNkVnQgY9r/VRXpkSKuwsQNKpo1Cpqye X-Received: by 2002:a17:906:6d59:: with SMTP id a25mr3127379ejt.57.1573845865596; Fri, 15 Nov 2019 11:24:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573845865; cv=none; d=google.com; s=arc-20160816; b=qhLI/j3ufE5dOidqab2/TvRO5IGbEoVa58MLTNrt/qWvZUfk9BXMU5rmlU3PzP4tVf YyUff7ftDrmiPRnxMQCBbol+VKezfvnyn7iEt0AkowkN7iElJ3+3IgsPnNy+iBdNGlsL 6EtHIflcGHnPob2cKddlMEY2rkGXFWpd4Q9IG6FULkfpdwM2WqamEZ8tTakTFOgZKU/d t97V2TDwfj4ujbaBmTReQc2YsbVge03ANcsKGYL+dk1hnRxeCyriot3fYXcbZ+GH0q2U mg2reyZpxX/v2763XCRm1xl+/oy0vfiC2hdCPICZxnv6FmeQpBe0oq/rNwOrZF0xmWZg Dx6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=kF0XFFkgWea6P/hAYC2G/X4OdRLkXHYHd88Ih8s5+no=; b=KqJWhLBo9+4zGKBDe8ZGzFmcwgKuUe7H2muqUdeuk5/JXNeQlodfVWA1Dkit0nWzaG sOEL1aTQ/5ftuKawoqrEUd8nIScPRusEcm3Zqkm6DV41pVtXhGnz+o29bKTTSo+4cNE5 oRb51MJZ4+lJLW32oXBN2q0M+1RrbF4VkCYxFdqu7g0kYN6HS8kcKE7bbkrd4m7FI/hW N7Z9tUFQWfG+psC+e/fYK0Ns1aGs5Gk5/ogtPyUFJypn18KFJLiUBYV4aBE7kJwbyvYA SiQCi9YpqbblRUio8Xx5oeMt8Af8GTItVj+zbkV4YUXHDGTk3apb1lR80joL4mSyUHTs GZYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=OTlC08TD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h17si6173642ejy.239.2019.11.15.11.24.00; Fri, 15 Nov 2019 11:24:25 -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=@oracle.com header.s=corp-2019-08-05 header.b=OTlC08TD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726655AbfKOTWn (ORCPT + 99 others); Fri, 15 Nov 2019 14:22:43 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:58940 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726308AbfKOTWm (ORCPT ); Fri, 15 Nov 2019 14:22:42 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xAFJJQNK107213; Fri, 15 Nov 2019 19:21:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=kF0XFFkgWea6P/hAYC2G/X4OdRLkXHYHd88Ih8s5+no=; b=OTlC08TDnunFEiwJhgq2fWQM5A5DW3LxrWyBFoMIJKGkdJL+B2TeB0WPA2T9xRqj+k8F 4oO8augF7Gk52s3wmilIIaiq0r0NZelZkqJlTqr+mnsoLwWJavhtoPwq4X3MQ8RrMn6C KEpI7uRJpsa1ZUs9MeguZ67sapP47A6ALvdLhor8gNvfHbHY7h3DamurF1bg/59gbd/T VuL61sPm4zpnSx878WWvIOykxY3UefNXiBmzts4EISnWSUiNSQ/jFCgJxFfqFPFLQLtO rF/kxqUyZRp3dSgYp/vFlO7Ni31xIg0IxgCKjfy6JDzQGHzmZVzKh91gqF6bZgEx7ZFB 2w== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 2w9gxpn5q6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 15 Nov 2019 19:21:14 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xAFJ53I7183374; Fri, 15 Nov 2019 19:21:13 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 2w9h157gce-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 15 Nov 2019 19:21:13 +0000 Received: from abhmp0022.oracle.com (abhmp0022.oracle.com [141.146.116.28]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id xAFJL9XQ006223; Fri, 15 Nov 2019 19:21:09 GMT Received: from [192.168.1.206] (/71.63.128.209) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 15 Nov 2019 11:21:09 -0800 Subject: Re: tty crash in Linux 4.6 To: Daniel Axtens , Mikulas Patocka , Greg Kroah-Hartman Cc: Michael Neuling , Peter Hurley , Jiri Slaby , Linux Kernel Mailing List References: <573A5996.3080305@hurleysoftware.com> <573B3F84.5050201@hurleysoftware.com> <573B5E4C.8030808@hurleysoftware.com> <87po3wusq1.fsf@linkitivity.dja.id.au> <20180322140554.GA3273@kroah.com> <87k1td913u.fsf@linkitivity.dja.id.au> From: Mike Kravetz Message-ID: Date: Fri, 15 Nov 2019 11:21:08 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 MIME-Version: 1.0 In-Reply-To: <87k1td913u.fsf@linkitivity.dja.id.au> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9442 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1911150169 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9442 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1911150170 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Did it get resolved in some other way? I ask because we have a customer who seems to have hit this issue. -- Mike Kravetz