Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1077861imm; Thu, 6 Sep 2018 15:08:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaVq1rP3QnRyuSXa/RPU+7yYRIPRJCT4JH6BKYmWkdEyvzEoL1W11jtlDmBu9pAZLYfP9G7 X-Received: by 2002:a17:902:a983:: with SMTP id bh3-v6mr4799855plb.245.1536271718277; Thu, 06 Sep 2018 15:08:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536271718; cv=none; d=google.com; s=arc-20160816; b=mFrRo2JY+XrOIuCmifIKPdetQu2R6Tn+BDUz5G8ewhlB5DQgfMozqUxR8axTA84xSt VAgsXVAkAQ5Tc+IHJ5f9MOBPZjFZCQ7y8hZ3sBPtvNrvCjoZv0yoaale7CHwH4QK6OOT AhI3rfrdpdkDYcvAMCMfR7zFaHL48442h9uOX9g7IML1uxQMyxPFXDngfJcdqcmGSyP+ aRwHQ5QrOUiDrnQKhvbBKkp8Tvbf+RehVUVoQCPfvgZFv9bIx0xPaCwX4jKQMXI3Ddgl jRNxpjJ+DgqZjt0fLXkpxdZDy0mEfu4BQUvy6PTqvP3NFwSvdokF5Iy930yN7dPfa6l3 DFJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=mN+mmzw1X+D3WZ9qsFtLT/Z3Kv1MTAtU+CoxRsCGK2w=; b=UNb4uuUnfneJ/VbYHNqIOe4gTD/J45qSJNEpgt1fEaxiTkI9JZQsh/46RPy8pu1A+7 jAys+zjCJ89iCsgmbzHufKbST84KbiCDnI87qMoZwQ5T6EcbOpTUKsWriBX2RQsbNLbO 5R2Xw99yWOMTjbHYx6DJJ2hX+Z740+Nk8ZLjWoFxVijEYD8zYSNdz8u2P9b0DUUtEaad JvmlBag39XQrHzvnWAdKGa4T1DpHKgLjy0qaBsJOI9kV9z+DXzt9KzUsFMco4ZQeNYQr 3c8y6rpqbD3FJRzg+51jQ35QkYw99EA4tMpL0vYId9+iDXQOSEY9hW9plOkGngNJSmQL 2LDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KxD5vZtn; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g185-v6si5751958pgc.151.2018.09.06.15.08.20; Thu, 06 Sep 2018 15:08:38 -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=pass header.i=@linaro.org header.s=google header.b=KxD5vZtn; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730364AbeIFWsc (ORCPT + 99 others); Thu, 6 Sep 2018 18:48:32 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:40874 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729027AbeIFWsc (ORCPT ); Thu, 6 Sep 2018 18:48:32 -0400 Received: by mail-lf1-f66.google.com with SMTP id x26-v6so9859027lfi.7 for ; Thu, 06 Sep 2018 11:11:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=mN+mmzw1X+D3WZ9qsFtLT/Z3Kv1MTAtU+CoxRsCGK2w=; b=KxD5vZtnoimB07Il2ujBZzHpmwh/1B0Sa9kWSbFYhMsTpgSQpgHU34ZK/AposeDqux mNoK77kb4N0jXyqsgCPOzKCs9ZbJ9LviRj1hv06xWTfbBR09TEmWl9aETSpYtfYytF5m obSuG/Dnl8lFbPaawo+MyhCHgXnJ5npjpEtyQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=mN+mmzw1X+D3WZ9qsFtLT/Z3Kv1MTAtU+CoxRsCGK2w=; b=EpRc2WMu41lLZnvJ5jNPnaR9et89WzS0HJXdLz4D+4x1hLePmcFfWyIYvL521WpHJK 8SI5/IrxfZ8j9X3xldXohrmvFBFMyNZ2GeRU29PNrj3KhbqE2SIiaqudGfiSnRZmmKcx 6MEbDSm/Fq9Jxmr7qoI2kCok7sOwQKQrcBn+7lHjmmFAtMGvQ7CXIo9STDOEusRV8TvT XG+M4vWg3UXFgs4jCq566y0A4VHywdlgPmUiwC1RnaEvoYybNDDKg0RzKwYt3TXwlrP+ zQ0tpZJQL4Z+OxM7EddtcdzGXfsZQ2ibwsLsGy3G6zoucVo34xfmJYQYwO7LCWgANkD1 dh+g== X-Gm-Message-State: APzg51AFsrA2kXUI5ko3BnBkm8stCRonGcsnzZA5WLorTff7ekgGz8UK Kr3J20E2DqIJ68QCPOK+iXaIv4ZUqd9vvEVMT1H9OA== X-Received: by 2002:a19:2a91:: with SMTP id q17-v6mr2830666lfq.74.1536257511546; Thu, 06 Sep 2018 11:11:51 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:9a94:0:0:0:0:0 with HTTP; Thu, 6 Sep 2018 11:11:50 -0700 (PDT) In-Reply-To: <20180906164358.GI5659@atomide.com> References: <20180906164358.GI5659@atomide.com> From: Naresh Kamboju Date: Thu, 6 Sep 2018 23:41:50 +0530 Message-ID: Subject: Re: Regression in next with filesystem context concept To: Tony Lindgren Cc: David Howells , linux-fsdevel@vger.kernel.org, open list , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Stephen Rothwell Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6 September 2018 at 22:13, Tony Lindgren wrote: > Hi, > > 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"). I have noticed this problem on beaglebone x15 running next-20180906. > > Here's what happens for me on MMC for example: > > Waiting for root device /dev/mmcblk0p2... > mmc0: host does not support reading read-only switch, assuming write-enable > mmc1: new SDIO card at address 0001 > mmc0: new high speed SDXC card at address e624 > mmcblk0: mmc0:e624 SU64G 59.5 GiB > mmcblk0: p1 p2 p3 > VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -2 > Please append a correct "root=" boot option; here are the available partitions: > ... > b302 60298240 mmcblk0p2 000b9930-02 > ... > Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) > > And NFSroot fails with: > > Unable to handle kernel NULL pointer dereference at virtual address 00000000 > pgd = (ptrval) > [00000000] *pgd=00000000 > Internal error: Oops: 5 [#1] SMP ARM > Modules linked in: > CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.19.0-rc1-00104-gfd0002870b45 #867 > Hardware name: Generic OMAP4 (Flattened Device Tree) > PC is at nfs_fs_mount+0x4d4/0x9dc > LR is at nfs_fs_mount+0x450/0x9dc > pc : [] lr : [] psr: 60000153 > sp : ee8bde10 ip : 00000000 fp : 00000400 > r10: 00001000 r9 : 00008001 r8 : 00000000 > r7 : eefc7110 r6 : c0d08948 r5 : eefdc000 r4 : eefc7000 > r3 : 00000000 r2 : 00000002 r1 : eefc71a0 r0 : eefc710c > Flags: nZCv IRQs on FIQs off Mode SVC_32 ISA ARM Segment none > Control: 10c5387d Table: 8000404a DAC: 00000051 > Process swapper/0 (pid: 1, stack limit = 0x(ptrval)) > ... > [] (nfs_fs_mount) from [] (legacy_get_tree+0x2c/0xe4) > [] (legacy_get_tree) from [] (vfs_get_tree+0x70/0x1a0) > [] (vfs_get_tree) from [] (do_mount+0x788/0xb18) > [] (do_mount) from [] (ksys_mount+0x8c/0xb4) > [] (ksys_mount) from [] (mount_root+0x70/0x158) > [] (mount_root) from [] (prepare_namespace+0x160/0x1c4) > [] (prepare_namespace) from [] (kernel_init_freeable+0x444/0x4b4) > [] (kernel_init_freeable) from [] (kernel_init+0x8/0x114) > [] (kernel_init) from [] (ret_from_fork+0x14/0x20) > Exception stack(0xee8bdfb0 to 0xee8bdff8) > dfa0: 00000000 00000000 00000000 00000000 > dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 > Code: e352000a 1a000001 e6bf3fb3 e1c730b2 (e5d83000) > > Regards, > > Tony - Naresh