Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757544AbcK2ObD (ORCPT ); Tue, 29 Nov 2016 09:31:03 -0500 Received: from mx143.netapp.com ([216.240.21.24]:7445 "EHLO mx143.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755322AbcK2OaW (ORCPT ); Tue, 29 Nov 2016 09:30:22 -0500 X-IronPort-AV: E=Sophos;i="5.31,717,1473145200"; d="scan'208";a="159688471" Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anna.Schumaker@netapp.com; Subject: Re: BUG: User triggerable kernel panic in 4.8 (possibly 4.9) To: Jan Kara , Darren Austin References: <20161129084014.GA7024@quack2.suse.cz> CC: , , "Anna Schumaker" , Trond Myklebust , David Howells , From: Anna Schumaker Message-ID: <86017ee0-b062-41ce-93cb-2b11730065c7@Netapp.com> Date: Tue, 29 Nov 2016 09:30:14 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: <20161129084014.GA7024@quack2.suse.cz> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [99.9.112.69] X-ClientProxiedBy: BLUPR19CA0024.namprd19.prod.outlook.com (10.162.230.162) To SN1PR0601MB1648.namprd06.prod.outlook.com (10.163.203.142) X-MS-Office365-Filtering-Correlation-Id: a457c68d-681a-442b-a011-08d418643eb2 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:SN1PR0601MB1648; X-Microsoft-Exchange-Diagnostics: 1;SN1PR0601MB1648;3:mVkgErHKXgqKrt3n47CnXk2I7/1xNUxvGrz8HPSq3jOWvUgBJ1mqrLBNMi54gE8yZ5nFtTHAl99DHhh04sROeokpngS1qb1KMSURV4F469TJ12kancXWFA74f1oHg7bErX094QqtTVK7/GZxve4g9tEwx6PkREzUnSqzARIR+zWPZjKYR6GeN42oCXlLh/tWuC1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ange-Diagnostics: 1;SN1PR0601MB1648;31:lFnVPPDoZBzPr5z9aJaVZWdM6ed3NZvBHMITnGC2yHF668OEeh3JNaIzxbLzB1PDhNqkmyIKkxfrgq3vcx54/oe7OPIvuhvx/g5HA+QpuyibcdIhqLACHjhWpSjiUyRLkAq4/QmF3z0EPhx7WIS6hv79XwX25cOFB/WR4E168SZUAy1q8UwST3skwPean9iMMS7751eZjMhs0aGteux18nuziRsJUX20Zgb1OxG+vNspNVQIG4sFAsO02x2mMxqx/pZmN8dacBuEeL1hHSxSek95mec2zjtD/2pApl6bK44=;20:lrpkW58/VO5UENquUAygHtIt+5rVaz0v0gjt7ufUxZlaaWFP6Y4zjZCSUycIvlLidEUUUiE0D27SF1roeGv2W3nxqbQP3KSLJA+IrAn8X9QmH6QBlPzZRCuTeZY1eqpEGeARGMHNYAccUIEMBreifp5K99k3atoF/UwerIAtiQxzJha0CYt7nLe1Ze34YlHh4eN0Y93nArJB15/lPylu7lcWxqELXWWcw5iaGKGKNdYhWWD5aUQ6xzsFEk20d0/eXyvJlebHbWHNZ9H/3k46uD0x49fB15cJ9QonIHbQZ1RztYdakcFlXOGDZgXYgxo4AaCiwA8Ejb1Uenc8UEoAW+hBEwZo53QXF4TDUkDRoX81u8m/qtYHpX3VC2k3quwcltJp3s06IuUBIiuT37gxFDy+e3YhYO65la2dbNO26EfG7nP4N/2ohtZnpSaJuW/6Ke8ONqHU4Ad0r6OGQnmkqvcMealrlJ+QLfAPOqvFAPJvU4SuLunzXk4e5kWTZcwX X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(158342451672863); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6060326)(6040361)(6045199)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(6061324)(20161123555025)(20161123560025)(20161123558021)(2016111802025)(20161123564025)(20161123562025)(6043046);SRVR:SN1PR0601MB1648;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0601MB1648; X-Microsoft-Exchange-Diagnostics: 1;SN1PR0601MB1648;4:+bORU5jgs4tozDAePvdICf1p2I1OFYKxiq+MEdcoG+FaMnHSPgPEa/ky1mhnzFRdB1XoxWgYlq/+9zUkph9BPFe7WaiEaNKl2lGq5WZBHrxouu16M1B/eeaTSKNLdaD8e6oUBch5YAYL/YI3y/y/R+0d+VIGxaLHopJlZ/vnjP1P/Vzi9K5zj4KOTCUpsFl7S0rjmfnzqOSCxz7Bir3zS1RFD+uR5+SN/ozGXawqMUUZ9egE7q/WUgrlDw75mEYwGPPkbIA/YmJVKA4fcgsNViyQjiaJ+jBllZhJU1uyDl54EQAF9p/FYoNv5aBKe/BVlVhi02c1US5Zu/Xy4ptOieXnLWQ8ZUmWwU6CFG0uczxz1A2qpr9qjgc2R5eIA2szTl4gM0VEVJvzV62sxi+oLWPTIDt1a9WgesgkDw6pdWQd4xtmAauSvePm6qDBjqSc+5Fyit5ONx0jdeVBUoxWkl4cwhBUPPecRGc81ykU2vDZ5PRsvNA6GIk672f5ekTHAmrC7O6F67gXRwNurv575aOfWExKXAxFxVKn0biLY0nqicq54JneZjwSWo3usJypToQQtnnpXgKEEYknrYHybkbveLGyBIwALTRRaE+D6ORCqR+hI+eVLeQODesF6lEz5A+2boqAmyc7hMNdEr+vYT6/l9x/XN+kST1nCMalmZwFNtGZUo8VYHGdSo3BqkWp1owoVeGYe+uLtF5qvBp85GVUo7IhAnt0gjazr4dR2hA= X-Forefront-PRVS: 01415BB535 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(7916002)(199003)(377424004)(189002)(377454003)(24454002)(3846002)(6116002)(31696002)(101416001)(68736007)(54356999)(76176999)(53416004)(50986999)(189998001)(42186005)(106356001)(86362001)(92566002)(31686004)(23746002)(229853002)(39410400001)(105586002)(733004)(39400400001)(39380400001)(8676002)(6486002)(39450400002)(2950100002)(6666003)(50466002)(97736004)(5001770100001)(4001350100001)(81166006)(69596002)(81156014)(33646002)(64126003)(230700001)(305945005)(66066001)(65806001)(65956001)(7736002)(38730400001)(4326007)(5660300001)(36756003)(83506001)(2906002)(65826007)(7846002)(47776003);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR0601MB1648;H:gouda.nowheycreamery.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;SN1PR0601MB1648;23:zQu5y5B8Z9Tn5cfDYnayeFBT4KrqhnwURU1?= =?Windows-1252?Q?Se7W2u8ey32jFsanM9R7r6+BUz/LjSqktOVQ9d+AKL/GGBeNRrrKUqED?= =?Windows-1252?Q?yAj6wC98JuCgxV0dCMPSLnDPaEv/26b/cTgFXY3xkm8GYPjrZLNm56Ij?= =?Windows-1252?Q?W+m5cV1tLleMSq7lJc58W0Srn/kMU3WTpTsdExQw17VbiNjfuAzX3CTS?= =?Windows-1252?Q?sx8iODGVkP5eLbeSwq9nor5n7dkMdFsJcb+iwIZfPe39FrdVtzylvt5n?= =?Windows-1252?Q?Ox02LZyu9w4/Xlmw9/rf8+6iWNxEqhPUnSVx2nu8vuwpGvyUjZ5Juynv?= =?Windows-1252?Q?60jZkI9PXD6K3esNc6Fow1JxNIYetwlRZNWQjlpFrBsbi+BVu7mHt2X+?= =?Windows-1252?Q?uKuNpKvo2S4ur5YCIahj+ve67plbQx8QpWdvsdAXhWicJccv9IPSrtuH?= =?Windows-1252?Q?+5u0ywcaXx7e9WFB4NCAFpr8R0N2vhaY1a/8eDsbbY52zaasqnhKOefE?= =?Windows-1252?Q?ZZrITwzNhUlGr0rI/cItkY3NkbEAanpGAj3+hxzj12cOWpI2yKqt8Uh9?= =?Windows-1252?Q?aYMJfj6BD8MlyzOiPvjq6TERcc6zokR7ljQ8irl9qmW/Xfmf28nr9dJ5?= =?Windows-1252?Q?Dj7cT8Y7JTXlQ9npfkbnHGtSl+wT/uRfELKwy65sACunoQ+ObI7q4X0V?= =?Windows-1252?Q?ofjioyx7DRFNR/80mdm/amUsL0sMJvmGwtwCWW00apuY0WNcAuMo6xf/?= =?Windows-1252?Q?BDTF8WNVnJKb/dpnfZa7h9LlgLSMKdJHMDKnYdqO/ZvW0iLvnFpaVRUq?= =?Windows-1252?Q?Zr8RFcM5d93u7zopCOg/ivhvz/hWRz11W4W93XkqqrqMB224Q+6sm7Aw?= =?Windows-1252?Q?u6Mz6rvAqQQkjrFWgzBDzivMqnOaJvJJCii0geoo/N0q4qKhlrVeztXp?= =?Windows-1252?Q?A70eYWmcF14r5mgrD0U12XnOnVQnW4v/jRAB2/X6gvLu6LMjbvHMCfN/?= =?Windows-1252?Q?Ey6YOARyL7OvNLABaaVlX/q1yQye/ybPIzOajvVr8Cs0RqlXQ/SeOS+j?= =?Windows-1252?Q?gInw2lCeb39PN9N8l69vUl90OvBW08V08JeiuCV+S7wKWQMdf2/zLxWz?= =?Windows-1252?Q?cg4L6e8mv8gR4rs5mMgEpDvfy5yblQ+S9Dl5eqyBPFWqX5nt5KBa776I?= =?Windows-1252?Q?KuIGXHkrORWN0TzJCL9etlRODtoGJ1qPAS+4mhnAadnVwO66/DTG97od?= =?Windows-1252?Q?+xagVLcwk87lq2s3bUy+xscKel/i+OW4IuPK4fOQHatB8qzUPVkvNRWz?= =?Windows-1252?Q?tF4d7TthSvAufYZsg71AW4IY/EfoMqMwPMNDQiA8A5tIrpWGsMN0Xt3W?= =?Windows-1252?Q?2sL/0MsIAr4PmaL1SfybrFVEwcOGQVeo5KMzxrZaY0xrCukPkuphA8f5?= =?Windows-1252?Q?qZqr4gZu3uGCXjS7fQA84FqyZpePaaAKf9jbDqLsXW2vN5tc2HHLBW0G?= =?Windows-1252?Q?jtP/DqKtDLcuXiBdg7y4OSiFkax+VX92dWqaTl44Z1IJbZCP2rb7Khl9?= =?Windows-1252?Q?Dv1LtIB7aK9FNl1M=3D?= X-Microsoft-Exchange-Diagnostics: 1;SN1PR0601MB1648;6:PmppXzT9x39ISjs/tOIa8kXZJDJ22pKwwIuDj7HCX8a7G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Se7IHHgiNXdW/0yty59pTbLhqHjgxUGQw6tqRzTjuAl2xiPq9e0ApjRdLBLIXmfFXrgx573Iq4n8RQfd39xCycV20Yv4Z6GMa1jLgr46qtKHDV516sirZGDmN7xD4WUndjcGBOGZgrp2KbROblCf4U/S5cGe1JOnxSFKMLFSCj19fG+2ODaRWSpBpsuqUw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Nov 2016 14:30:18.5805 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0601MB1648 X-OriginatorOrg: netapp.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3118 Lines: 67 Hi Darren, On 11/29/2016 03:40 AM, Jan Kara wrote: > Hello, > > Thanks for report. I suspect this bug got lost in the noise of > linux-kernel. Adding more relevant lists and people to CC. > > Honza > > On Thu 20-10-16 15:24:37, Darren Austin wrote: >> [ Please CC me with any replies as I will be leaving the list shortly ] >> >> Hi, >> I'm not sure if this is the best place to report an issue i've discovered >> with the kernel and the 'fsc' mount option - please let me know if there is >> some other mailing list or person I should be notifying about this. >> >> The bug appears (at least for me) when using an NFS server, and a client >> which mounts an export from that server with the 'fsc' option (whether or >> not the fscache daemon is running or not). It also seems easiest to trigger >> using the 'nano' editor, but other commands will trigger it randomly. >> >> I've tested this bug on the Ubuntu 1610 kernel (4.8.0) and with the 4.8.2 >> kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/. The latter >> purports to be a kernel built from the unmodified kernel source, and simply >> packaged in a .deb, so this isn't a Ubuntu kernel problem. Unless the >> problem has been corrected in the 4.9 series, I suspect the bug may also >> persist there - i've not had the opportunity to check 4.9.x kernels as yet. >> >> I can repeatidly reproduce this bug on my system, so it's definitely not a >> one off - it causes a kernel panic and complete lock-up every time. >> >> The NFS share I tested with is exported with options: >> rw,async,insecure,insecure_locks,no_root_squash,anongid=99,anonuid=99,no_subtree_check >> (but the export options don't seem to matter to trigger the bug) >> and mounted on the client with options: >> vers=4,hard,intr,acl,rw,fsc >> via the Linux automounter (but the issue persists on mounts from fstab or >> when mounted manually). >> >> To reproduce the bug is quite simple... >> 1) Set up the server export and client mount as detailed above. >> 2) From the console (or in a terminal; but I only tested this once) in the >> directory where you've mounted the NFS share, run: >> nano testfile.txt >> and add write some text to the file. >> 2) Save the file and exit (Ctl+X is how I did it). >> 3) When back at the prompt, immediately hit the up arrow on the keyboard (to >> load the last typed command into the buffer) and hit enter. >> 4) Watch as the pretty text of the panic scrolls by :) I've got through these steps a couple of times, and I'm unable to reproduce this (using 4.8.11). Can you send the stack trace of the panic so we can work from that? Thanks, Anna >> >> With the help of people on the nano-dev mailing list, I figured out that >> it's the 'fsc' option which causes the panic - repeated tests without that >> option active do not trigger it. However, this is /not/ a nano specific bug >> - it can be triggered by any command used on the mount. And besides, nano >> shouldn't be able to take down the system :) >> >> If any further information is required, please don't hesitate to reply. >> >> Darren.