Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3130264imm; Mon, 10 Sep 2018 11:32:14 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYHNwcBPNNjXvwT4y4jNN+j1oZP4oKVATj34CV157SREv3zU9I/uAgixPa4LzpvrQigG1fv X-Received: by 2002:a17:902:261:: with SMTP id 88-v6mr23229369plc.331.1536604334769; Mon, 10 Sep 2018 11:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536604334; cv=none; d=google.com; s=arc-20160816; b=dfDuAfy27PzUmtoL3gjj+oZNp+sb8npPoJevucqkbVnQ9cBBJXFnarbildVCIhU+D2 6gq2+BIuLkfybLFFRaA/NOLws2NXj+ub6nWQLkvwre76UoQySm83tPIBtsW0PJjsZPqx zv7qXqwqlKUB2vmvTysXcirFZlzLYKrNNlCbsYX/RviQJbc9+fTv9X18AerVH1T0AqzD ALr2sLSr9nsjBxBnoQ+zFuFEo44/YB6uX393Y/a41ICUrTLNLTKVMvq9YLxZfe6d6iyr m57WYsvGX0rNvx4pnX4fuTy2Si4zpJmFfDk/jeI1vz9gnzMJWrGPWyJELRcyVtz3A6T9 ibAg== 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:dkim-signature; bh=BSFPv++42WE4/QyX4psLcC+8EnTpci5IcaltICAybZ8=; b=tugXTRM2wuzX7Pf1IB9N/lCGXk0q6xu9pvlPh/iZP9NOowB13DvMpTSEddAlo1efip mTIpEoKdBFo8K8v0Cil3R0qlFu6fhKaLD9VQKeIeNznPa5Q3RxmmGyluLBeEi4Rin9rh HmtSFHernvPXvGJOKgEaUpNNiS9oHiU88r3DuKFWOBhg2woGxLTYdBZVRI2bI+yG0PfJ bGKkkSa63NOIaLgY75Yrzn1D2i8/dIC3kq7yqB92HYgi1clyzerMSQ9JwCbutN1CEA1S rMY8qrGn0NJg1ywxBonuOnvMkq077/ukOg+EMBjI3s4anEE0XjCrhPOAHMflPCh3ivZT tmVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ZUEhCbGF; 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 l5-v6si18795253pls.13.2018.09.10.11.31.58; Mon, 10 Sep 2018 11:32:14 -0700 (PDT) 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=fail header.i=@gmail.com header.s=20161025 header.b=ZUEhCbGF; 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 S1728261AbeIJX1M (ORCPT + 99 others); Mon, 10 Sep 2018 19:27:12 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:41987 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726755AbeIJX1M (ORCPT ); Mon, 10 Sep 2018 19:27:12 -0400 Received: by mail-pl1-f196.google.com with SMTP id g23-v6so10111273plq.9; Mon, 10 Sep 2018 11:31:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=BSFPv++42WE4/QyX4psLcC+8EnTpci5IcaltICAybZ8=; b=ZUEhCbGFZNO0bvHKhw8nIIEvZMVc552V5YE1dfmSokzzWDQOl+5rxVSYNM/R3xxg2S yR08ud2LbC3pgaqtfwNLFsr/Z0hzLmaU6nv4mkAg4vc1vUUPAsuBswKUVBkHdmkuvlN8 NRdYAlIEudgh2tfeNACOdQmQftq0A5j+w0MbVgSAh/477rxT4D2a1ylx7jg+WJJHuqqk Htreed4kwthANL8exKOy4c2Q7tOBZiNLigzOs/AjxqbCvhSuC3DBk75i4hPKm7FC8KXM aC/HYhDfMQmlPvawLk2vZ7ACajKzYDWVnJ6lcigRPTinogqKkPJeKNV/QYkuReO3yiSJ UMrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=BSFPv++42WE4/QyX4psLcC+8EnTpci5IcaltICAybZ8=; b=gl6GDVc7X81Gz6EpxX8DImgnMBUFGKtbB7/DvNmpfvS0FajliC89+vdM5KXAxokacg r4rdgIcDMgMVGeZdJPat7H5MgGPdIGFIyhEFDw/r2JDr/z5UwKV493C2q6dWCAHN46SE I+A/AydxHVYI3VuYYuNArWDtx07jlKmAWD1D1+/r6ewe+Nj+JFZEbRNYKE+KHZHvVqSx cdAcOV60ffY+zhrhhdwp7dOI5fJfWtCdFEAamu4qos8xSa6vrs3/N6AizIn/e/LxgYuC H7yUUVhFKj8S8ibWhG/xy0cKHwTMTtsRvuEOTaMw9PMOIDSIOmoiQPBL1abXEKKeQRqJ FiYA== X-Gm-Message-State: APzg51ArU/rPb3KpCdSOOTO/hCxBSjhvlXGfg8DC01ZsL/jdypYuz8p+ qFIcWjeO4/V+nHD14NMKVb4= X-Received: by 2002:a17:902:9f90:: with SMTP id g16-v6mr23415660plq.34.1536604308458; Mon, 10 Sep 2018 11:31:48 -0700 (PDT) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id g66-v6sm23558198pfk.39.2018.09.10.11.31.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 11:31:47 -0700 (PDT) Date: Mon, 10 Sep 2018 11:31:46 -0700 From: Guenter Roeck To: Tony Lindgren Cc: David Howells , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Stephen Rothwell Subject: Re: Regression in next with filesystem context concept Message-ID: <20180910183146.GA17726@roeck-us.net> References: <20180907161023.GF5662@atomide.com> <20180906164358.GI5659@atomide.com> <9053.1536310046@warthog.procyon.org.uk> <11959.1536420266@warthog.procyon.org.uk> <20180910160836.GT5662@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180910160836.GT5662@atomide.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 10, 2018 at 09:08:36AM -0700, Tony Lindgren wrote: > * David Howells [180908 15:28]: > > Tony Lindgren wrote: > > > > > > > Looks like next-20180906 now has a regression where mounting > > > > > root won't work with commit fd0002870b45 ("vfs: Implement a > > > > > filesystem superblock creation/configuration context"). > > > > > > > > Am I right in thinking you're not using any of the LSMs? > > > > > > Assuming LSM as in Documentation/lsm.txt, right not using any. > > > > The default return value for security_fs_context_parse_param() should be > > -ENOPARAM, both in security.h and security.c. > > > > I've fixed my tree and Al has pulled it, but we're now waiting on Stephen > > Rothwell to refresh linux/next. > > OK thanks for tracking that down, next-20180910 boots again > for me. > Did you try to shutdown and/or reboot ? You might see something like the attached if you try. Guenter --- Unable to handle kernel paging request at virtual address 0000000000000030 umount(92): Oops 0 pc = [] ra = [] ps = 0000 Not tainted pc is at reconfigure_super+0x7c/0x2c0 ra is at reconfigure_super+0x23c/0x2c0 v0 = 0000000000000000 t0 = 0000000000000000 t1 = fffffc000743c030 t2 = fffffc000743c0a0 t3 = 0000000000000020 t4 = fffffffffffffdff t5 = 0000000000000200 t6 = fffffc0000b9d9f8 t7 = fffffc000749c000 s0 = fffffc000743c000 s1 = fffffc000749fe08 s2 = 0000000000000000 s3 = 0000000000000001 s4 = 0000000120114ba0 s5 = fffffc0007027220 s6 = 0000000000000000 a0 = fffffc000743c000 a1 = fffffc00070072a0 a2 = fffffc00074e4b80 a3 = fffffc000743c800 a4 = 0000000000000001 a5 = fffffc000040ed50 t8 = 0000000000000001 t9 = 000000000abd5213 t10= 000000000748c000 t11= 0000000000000100 pv = fffffc0000439300 at = 0000000000000000 gp = fffffc0000b8d9f8 sp = (____ptrval____) Disabling lock debugging due to kernel taint Trace: [] do_umount_root+0x9c/0xe0 [] ksys_umount+0x308/0x510 [] sys_umount+0x1c/0x30 [] entSys+0xa4/0xc0 --- [ 10.059677] BUG: unable to handle kernel NULL pointer dereference at 0000000000000030 [ 10.060205] PGD 800000000e37b067 P4D 800000000e37b067 PUD e37c067 PMD 0 [ 10.060960] Oops: 0000 [#1] SMP PTI [ 10.061405] CPU: 0 PID: 1210 Comm: umount Not tainted 4.19.0-rc2-next-20180910 #1 [ 10.061727] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.11.2-0-gf9626ccb91-prebuilt.qemu-project.org 04/01/2014 [ 10.062946] RIP: 0010:reconfigure_super+0x47/0x210 [ 10.063363] Code: d4 01 00 00 44 8b a3 30 02 00 00 45 85 e4 0f 85 9d 01 00 00 a8 01 48 89 fd 75 4f 48 89 df 45 31 ed e8 ad 4f 01 00 48 8b 45 00 <48> 8b 40 30 48 85 c0 0f 84 d3 00 00 00 48 89 ef ff d0 85 c0 0f 84 [ 10.064016] RSP: 0018:ffffbdc240123dd0 EFLAGS: 00000246 [ 10.064273] RAX: 0000000000000000 RBX: ffffa13b8e310000 RCX: ffffa13b8e3100b8 [ 10.064540] RDX: ffffa13b8e310048 RSI: 0000000000000000 RDI: ffffffff99949e28 [ 10.064806] RBP: ffffbdc240123e00 R08: 0000000000000179 R09: 0000000000000000 [ 10.066145] R10: ffffbdc2400bfd08 R11: 0000000000000001 R12: 0000000000000000 [ 10.066432] R13: 0000000000000001 R14: ffffa13b8f370920 R15: 0000000000000000 [ 10.066781] FS: 00007fd7ce876500(0000) GS:ffffa13b8f600000(0000) knlGS:0000000000000000 [ 10.067107] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 10.067341] CR2: 0000000000000030 CR3: 000000000e3a6000 CR4: 00000000003406f0 [ 10.067730] Call Trace: [ 10.068888] do_umount_root+0x7b/0xb0 [ 10.069157] ksys_umount+0x250/0x3e0 [ 10.069352] ? vfs_write+0x13f/0x190 [ 10.069538] __x64_sys_umount+0xd/0x10 [ 10.069742] do_syscall_64+0x39/0xe0 [ 10.069962] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 10.070419] RIP: 0033:0x7fd7ce395b47 [ 10.070605] Code: 73 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 11 73 2b 00 f7 d8 64 89 01 48 [ 10.071220] RSP: 002b:00007ffea2a29288 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 [ 10.071552] RAX: ffffffffffffffda RBX: 00000000011fa8e0 RCX: 00007fd7ce395b47 [ 10.071796] RDX: 00007ffea2a29470 RSI: 0000000000000000 RDI: 00000000011fa8e0 [ 10.072038] RBP: 00000000011fab40 R08: 00000000011fa920 R09: 00007fd7ce3d36c0 [ 10.072291] R10: 000000000000089e R11: 0000000000000206 R12: 00000000011fa8a0 [ 10.072543] R13: 00000000011faba0 R14: 0000000000000000 R15: 00007ffea2a29470 [ 10.072933] Modules linked in: [ 10.073321] CR2: 0000000000000030 [ 10.073869] ---[ end trace 9ae171053580f03c ]--- [ 10.074155] RIP: 0010:reconfigure_super+0x47/0x210 [ 10.074366] Code: d4 01 00 00 44 8b a3 30 02 00 00 45 85 e4 0f 85 9d 01 00 00 a8 01 48 89 fd 75 4f 48 89 df 45 31 ed e8 ad 4f 01 00 48 8b 45 00 <48> 8b 40 30 48 85 c0 0f 84 d3 00 00 00 48 89 ef ff d0 85 c0 0f 84 [ 10.074977] RSP: 0018:ffffbdc240123dd0 EFLAGS: 00000246 [ 10.075182] RAX: 0000000000000000 RBX: ffffa13b8e310000 RCX: ffffa13b8e3100b8 [ 10.075425] RDX: ffffa13b8e310048 RSI: 0000000000000000 RDI: ffffffff99949e28 [ 10.075672] RBP: ffffbdc240123e00 R08: 0000000000000179 R09: 0000000000000000 [ 10.075919] R10: ffffbdc2400bfd08 R11: 0000000000000001 R12: 0000000000000000 [ 10.076167] R13: 0000000000000001 R14: ffffa13b8f370920 R15: 0000000000000000 [ 10.076421] FS: 00007fd7ce876500(0000) GS:ffffa13b8f600000(0000) knlGS:0000000000000000 [ 10.076735] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 10.076955] CR2: 0000000000000030 CR3: 000000000e3a6000 CR4: 00000000003406f0