From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FD2AC433F5 for ; Mon, 30 May 2022 22:29:25 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C7DC56B0074; Mon, 30 May 2022 18:29:24 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C311D6B0075; Mon, 30 May 2022 18:29:24 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AF75E6B0078; Mon, 30 May 2022 18:29:24 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 9E2956B0074 for ; Mon, 30 May 2022 18:29:24 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 6E1EC60384 for ; Mon, 30 May 2022 22:29:24 +0000 (UTC) X-FDA: 79523851848.14.8A6FF78 Received: from mail104.syd.optusnet.com.au (mail104.syd.optusnet.com.au [211.29.132.246]) by imf25.hostedemail.com (Postfix) with ESMTP id CC825A004F for ; Mon, 30 May 2022 22:28:50 +0000 (UTC) Received: from dread.disaster.area (pa49-181-2-147.pa.nsw.optusnet.com.au [49.181.2.147]) by mail104.syd.optusnet.com.au (Postfix) with ESMTPS id 0EF48534941; Tue, 31 May 2022 08:29:20 +1000 (AEST) Received: from dave by dread.disaster.area with local (Exim 4.92.3) (envelope-from ) id 1nvnt1-000lxB-Uq; Tue, 31 May 2022 08:29:19 +1000 Date: Tue, 31 May 2022 08:29:19 +1000 From: Dave Chinner To: Zorro Lang Cc: linux-mm@kvack.org, linux-xfs@vger.kernel.org, linux-ext4@vger.kernel.org, nvdimm@lists.linux.dev Subject: Re: Potential regression on kernel 5.19-rc0: kernel BUG at mm/page_table_check.c:51! Message-ID: <20220530222919.GA1098723@dread.disaster.area> References: <20220530080616.6h77ppymilyvjqus@zlang-mailbox> <20220530183908.vi7u37a6irji4gnf@zlang-mailbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220530183908.vi7u37a6irji4gnf@zlang-mailbox> X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.4 cv=e9dl9Yl/ c=1 sm=1 tr=0 ts=62954542 a=ivVLWpVy4j68lT4lJFbQgw==:117 a=ivVLWpVy4j68lT4lJFbQgw==:17 a=kj9zAlcOel0A:10 a=oZkIemNP1mAA:10 a=VwQbUJbxAAAA:8 a=7-415B0cAAAA:8 a=cQWRpaAU1W1mfraSisIA:9 a=CjuIK1q_8ugA:10 a=AjGcO6oz07-iQ99wixmX:22 a=biEYGPWJfzWAr4FL6Ov7:22 X-Stat-Signature: r36hu7tssj3tdr4ndhp7inbcgiutek1a Authentication-Results: imf25.hostedemail.com; dkim=none; dmarc=none; spf=none (imf25.hostedemail.com: domain of david@fromorbit.com has no SPF policy when checking 211.29.132.246) smtp.mailfrom=david@fromorbit.com X-Rspam-User: X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: CC825A004F X-HE-Tag: 1653949730-169726 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, May 31, 2022 at 02:39:08AM +0800, Zorro Lang wrote: > On Mon, May 30, 2022 at 04:06:16PM +0800, Zorro Lang wrote: > > Hi mm folks: > > > > I reported a regression bug on latest upstream linux: > > https://bugzilla.kernel.org/show_bug.cgi?id=216047 > > > > It's about xfs/ext4 + DAX, panic at mm/page_table_check.c:51! > > > > static struct page_table_check *get_page_table_check(struct page_ext *page_ext) > > { > > ==> BUG_ON(!page_ext); > > return (void *)(page_ext) + page_table_check_ops.offset; > > } > > > > It's 100% reproducible for me, by running fstests generic/623: > > https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/tree/tests/generic/623 > > on xfs or ext4 with DAX enabled. > > > > It doesn't look like a xfs or ext4 issue, so send to linux-mm to get more > > reviewing. More details please refer to above bug link. I changed its Pruduct > > to mm, but the Assignee isn't changed by default. > > It's not a regression *recently* at least, I still can reproduce this bug on > linux v5.16. > > But I found it's related with someone kernel configuration (sorry I haven't > figured out which one config is). I've upload two kernel config files, one[1] > can build a kernel which reproduce this bug, the other[2] can't. Hope that > helps. > > Thanks, > Zorro > > [1] > https://bugzilla.kernel.org/attachment.cgi?id=301076 > > [2] > https://bugzilla.kernel.org/attachment.cgi?id=301077 Rather than make anyone looking at this download multiple files and run diff, perhaps you could just post the output of 'diff -u config.good config.bad'? Cheers, Dave. -- Dave Chinner david@fromorbit.com