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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35EB1CCA481 for ; Fri, 15 Jul 2022 12:01:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234554AbiGOMBa (ORCPT ); Fri, 15 Jul 2022 08:01:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232603AbiGOMB2 (ORCPT ); Fri, 15 Jul 2022 08:01:28 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CF737BE3F for ; Fri, 15 Jul 2022 05:01:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BA9CBB82BB2 for ; Fri, 15 Jul 2022 12:01:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 5E3BDC385A5 for ; Fri, 15 Jul 2022 12:01:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657886482; bh=8w8giGQTSNxEcEarEpi54SAUhuW3YtzZd7ovMPxsFIU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vLxT2ohhENzK7pcyrEHxzjCwuqz+pzjaie91JTDOAADnU20VpETh+W70+q/tVUiG/ BDv15rvPeyNNz5JsepUV11vTBwUp9/VnYs/Qlr4/P1Rn+3BRXQd+2sMIBWQbn2aFw3 Fl9vPf0GiYZshInGpU4JpztnBbgxulQ4PA2On6NJkYezzg/AoA1F4RNfc/GjKlWPuP HHmozKgzAloi6ARyQSYvzwS6+xfWEgIl6UNniDdsYPWd0WLgiGaYWrZXtKkvlAsXTI ZI0sVhl5T9ugiKBvmKUKN4Z5+YZAhwzaP6Jz3WcXtbNJXwsQ+dALSdh2zzyJ40OLhB q3EwVlIyTeUvA== Received: by aws-us-west-2-korg-bugzilla-1.web.codeaurora.org (Postfix, from userid 48) id 4EBB8CC13AD; Fri, 15 Jul 2022 12:01:22 +0000 (UTC) From: bugzilla-daemon@kernel.org To: linux-ext4@vger.kernel.org Subject: [Bug 216251] kernel BUG at fs/jbd2/transaction.c:1629 Date: Fri, 15 Jul 2022 12:01:22 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: AssignedTo fs_ext4@kernel-bugs.osdl.org X-Bugzilla-Product: File System X-Bugzilla-Component: ext4 X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chengzhihao1@huawei.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: fs_ext4@kernel-bugs.osdl.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org https://bugzilla.kernel.org/show_bug.cgi?id=3D216251 --- Comment #3 from Zhihao Cheng (chengzhihao1@huawei.com) --- Find an environment with xfs(actually, no ext4 is okay) rootfs. 1. Apply delay_diff to linux kernel source and make kernel image 2. Run kernel, compile and run a.c [ 225.700954] ext4 filesystem being mounted at /root/temp supports timesta= mps until 2038 (0x7fffffff) [ 225.789487] jbd2_journal_dirty_metadata: set jh ffff88810185f258 BJ_Metadata, trans ffff8881027e0100 [ 225.791319] jbd2_journal_dirty_metadata: set jh ffff88810185f168 BJ_Metadata, trans ffff8881027e0100 [ 225.825894] jbd2_journal_commit_transaction: wait process jh ffff88810185f258 in trans ffff8881027e0100 [ 226.812338] do_get_write_access: set jh ffff88810185f258 frozen data, tr= ans ffff8881027e0100 [ 226.813643] jbd2_journal_dirty_metadata: jh ffff88810185f258 trans ffff8881027e0100 wait trans changed [ 227.801122] EXT4-fs (sda): shut down requested (2) [ 227.802322] Aborting journal on device sda-8. [ 227.826759] abort journal [ 227.905176] jbd2_journal_commit_transaction: wait done process jh ffff88810185f258 in trans ffff8881027e0100 [ 227.906940] jbd2_journal_dirty_metadata: jh ffff88810185f258 trans ffff88817d11c000 wait done trans changed [ 227.908690] ------------[ cut here ]------------ [ 227.909523] kernel BUG at fs/jbd2/transaction.c:1629! [ 227.910466] invalid opcode: 0000 [#1] PREEMPT SMP [ 227.911306] CPU: 2 PID: 584 Comm: unlink Tainted: G W=20=20=20=20= =20=20=20=20 5.19.0-rc6-00115-g4a57a8400075-dirty #697 [ 227.913010] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS ?-20190727_073836-buildvm-ppc64le-16.ppc.fedoraproject.org-3.f4 [ 227.915264] RIP: 0010:jbd2_journal_dirty_metadata+0x3c5/0x470 [ 227.916286] Code: 44 24 10 48 83 05 2a 15 97 0b 01 41 83 f8 01 0f 85 89 = 78 9f 00 48 83 05 30 15 97 0b 01 e9 32 ff ff ff 48 83 05 eb 154 [ 227.918779] RSP: 0018:ffffc90000be7ce0 EFLAGS: 00010202 [ 227.919284] RAX: 0000000001116019 RBX: ffff8881027df000 RCX: ffff88817d11c000 [ 227.919967] RDX: 0000000000000018 RSI: ffffffff82c73015 RDI: 0000000000000000 [ 227.920653] RBP: ffff888101852270 R08: 0000000000000000 R09: ffffc90000be7b70 [ 227.921331] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88810185f258 [ 227.922015] R13: 0000000000000000 R14: ffff88810185f260 R15: ffff88817d11c000 [ 227.922705] FS: 00007fa2fbc564c0(0000) GS:ffff888237c80000(0000) knlGS:0000000000000000 [ 227.923472] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 227.924031] CR2: 000055623fe24008 CR3: 000000017c264000 CR4: 00000000000006e0 [ 227.924725] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 227.925408] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 227.926086] Call Trace: [ 227.926339] [ 227.926558] __ext4_handle_dirty_metadata+0xa0/0x290 [ 227.927042] ext4_handle_dirty_dirblock+0x10c/0x1d0 [ 227.927515] ext4_delete_entry+0x104/0x200 [ 227.927912] __ext4_unlink+0x22b/0x360 [ 227.928276] ? __ext4_journal_start_sb+0x1af/0x1f0 [ 227.928745] ext4_unlink+0x275/0x390 [ 227.929097] vfs_unlink+0x20b/0x4c0 [ 227.929439] do_unlinkat+0x42f/0x4c0 [ 227.929792] __x64_sys_unlink+0x37/0x50 [ 227.930159] do_syscall_64+0x35/0x80 [ 227.930514] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 227.931009] RIP: 0033:0x7fa2fb701b77 [ 227.931369] Code: f0 ff ff 73 01 c3 48 8b 0d 0e d3 2c 00 f7 d8 64 89 01 = 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 57 00 008 [ 227.933120] RSP: 002b:00007ffce6ef4f28 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 [ 227.933826] RAX: ffffffffffffffda RBX: 00007ffce6ef5028 RCX: 00007fa2fb701b77 [ 227.934485] RDX: 0000000000000001 RSI: 0000000000000002 RDI: 00007ffce6ef5537 [ 227.935150] RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000 [ 227.935822] R10: fffffffffffff40d R11: 0000000000000246 R12: 00007fa2fb9cf1e4 [ 227.936480] R13: 00007ffce6ef5020 R14: 0000000000000000 R15: 0000000000000000 [ 227.937158] [ 227.937380] Modules linked in: [ 227.937706] ---[ end trace 0000000000000000 ]--- --=20 You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.=