Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp766531imm; Thu, 6 Sep 2018 09:46:52 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYZ963XfgsRNtJ1RUsxuqgMMUG7KxoU8rUNw6qk6M106zN+TzjFI4uleIGJy6x4Z/+ZOPAd X-Received: by 2002:a63:4106:: with SMTP id o6-v6mr3746729pga.80.1536252412059; Thu, 06 Sep 2018 09:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536252412; cv=none; d=google.com; s=arc-20160816; b=HHriKUIqB0A36tSo5mN/k32+EdXyVUMERnNZhj90r3cQobaK6rAgECIcxMFbH7k0qk rZpbqXXFaBD6YjaLNTpu9jwMZMtQaVdyfdrKUZAx+rHtYhDaFRUkpyI48UJMzKkPI9U5 mD5Hj6pY90FXp2wjetQM0gkpxb9wEJpi83ltlq53//E6+IoU/ziMmbpW6HjP8qENlYgn /DL74LoJKTJuQmEqnczPaI5Gf4CzPJqqNZgCt9K6h9v2Ji4xG6EvqZ8Es85Udt9CGFgi 4jR22FER5tG4v/Vy30lKmKAD0Scy1jTP3o+sBDiveyEw+4RxHjCn44XcE0gv5F7xkHKG jKDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=/MkB658qbaElBfB+LkvKhWzP1Lrq49AJXOTGQrkNjmk=; b=aVjmose4DgiwMM8NAauxmBUiRyZpySgbDChGojDLPD3CgisG5xCkFJt9pd2ok+LUXZ zHLD864jlM2LVDFoTWuQ+x7ispgB+YnolEAwn+l4tKKtZHMKZ0WJwgP4so3XYX7x9KOy tpS3sRU+gltoJReg7R8ryHtN4DbCqmO333UhCbTWL4RRS1/g1WaVybU1vT0wBH1wawx8 t8l2mk84oqheTI4SzWhsIlycSgoLf78xc4Nw3at6QDr5HuMbnNfHppWGVcjjYXAjqHs6 4dXE9l6h8y+2w2QhDHee69oIqxMzIbTEsaTRJWbGQ1CTZi1Zhbc4F0y4qIrB/y/0dIGB fi2g== ARC-Authentication-Results: i=1; mx.google.com; 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 u13-v6si5650056pgg.263.2018.09.06.09.46.35; Thu, 06 Sep 2018 09:46:52 -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; 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 S1728239AbeIFVUV (ORCPT + 99 others); Thu, 6 Sep 2018 17:20:21 -0400 Received: from muru.com ([72.249.23.125]:55362 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726506AbeIFVUV (ORCPT ); Thu, 6 Sep 2018 17:20:21 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 05A1A806C; Thu, 6 Sep 2018 16:48:02 +0000 (UTC) Date: Thu, 6 Sep 2018 09:43:58 -0700 From: Tony Lindgren To: David Howells Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Stephen Rothwell Subject: Regression in next with filesystem context concept Message-ID: <20180906164358.GI5659@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"). 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