xfstests ext4/054 will BUG_ON

Bug #2015213 reported by Thadeu Lima de Souza Cascardo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Triaged
Medium
Unassigned
linux (Ubuntu)
Invalid
Undecided
Unassigned
Xenial
Opinion
Undecided
Unassigned

Bug Description

When running xfstests ext4/054 test, the kernel will BUG_ON. This requires a mangled filesystem (the test uses debugfs, the tool, not the kernel filesystem).

[23967.165615] ------------[ cut here ]------------
[23967.169587] kernel BUG at /build/linux-aws-wwoDm1/linux-aws-4.4.0/fs/ext4/mballoc.c:3222!
[23967.169587] invalid opcode: 0000 [#1] SMP
[23967.169587] Modules linked in: binfmt_misc serio_raw ib_iser rdma_cm iw_cm ib_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi autofs4 btrfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd
[23967.169587] CPU: 0 PID: 4559 Comm: xfs_io Not tainted 4.4.0-1155-aws #170-Ubuntu
[23967.169587] Hardware name: Xen HVM domU, BIOS 4.2.amazon 08/24/2006
[23967.169587] task: ffff8800cce02a00 ti: ffff8800d43f4000 task.ti: ffff8800d43f4000
[23967.169587] RIP: 0010:[<ffffffff812dec7e>] [<ffffffff812dec7e>] ext4_mb_normalize_request.constprop.29+0x40e/0x4c0
[23967.169587] RSP: 0018:ffff8800d43f7860 EFLAGS: 00010246
[23967.169587] RAX: 0000000000000000 RBX: ffff8800c2fbecb8 RCX: 0000000000001500
[23967.169587] RDX: 0000000000001500 RSI: ffff8800d43f79e8 RDI: ffff8800e14b8080
[23967.169587] RBP: ffff8800d43f78b0 R08: 000000000000000a R09: 0000000000000001
[23967.169587] R10: 0000000000000001 R11: 0000000000000800 R12: ffff8800e14b8080
[23967.169587] R13: 0000000000000000 R14: 0000000000001500 R15: ffff8800c2fbecb8
[23967.169587] FS: 00007fec45ce6700(0000) GS:ffff88010b200000(0000) knlGS:0000000000000000
[23967.169587] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[23967.169587] CR2: 0000000001250000 CR3: 00000000c0e8a000 CR4: 0000000000160670
[23967.169587] Stack:
[23967.169587] ffff8800d43f79e8 0000000000000000 ffff8800c2fbea60 ffff8800e559c800
[23967.169587] 0000150000000000 ffff8800e559c800 ffff8800d43f79c4 ffff8800e5599800
[23967.169587] ffff8800d43f79e8 ffff8800e14b8080 ffff8800d43f7960 ffffffff812e5096
[23967.169587] Call Trace:
[23967.169587] [<ffffffff812e5096>] ext4_mb_new_blocks+0x5d6/0xac0
[23967.169587] [<ffffffff812d394d>] ? __read_extent_tree_block+0xcd/0x140
[23967.169587] [<ffffffff812d3c57>] ? ext4_ext_search_right+0x297/0x2f0
[23967.169587] [<ffffffff812d3c57>] ? ext4_ext_search_right+0x297/0x2f0
[23967.169587] [<ffffffff812d997d>] ext4_ext_map_blocks+0x63d/0xfe0
[23967.169587] [<ffffffff818414a1>] ? __schedule+0x341/0x810
[23967.169587] [<ffffffff81400001>] ? cfq_group_served+0x3e1/0x4b0
[23967.169587] [<ffffffff812a7dd4>] ext4_map_blocks+0x1b4/0x5b0
[23967.169587] [<ffffffff811f6ddc>] ? kmem_cache_alloc+0x1cc/0x1f0
[23967.169587] [<ffffffff812511e1>] ? alloc_buffer_head+0x21/0x60
[23967.169587] [<ffffffff812a828e>] _ext4_get_block+0xbe/0x220
[23967.169587] [<ffffffff812a8406>] ext4_get_block+0x16/0x20
[23967.169587] [<ffffffff812a6783>] ext4_block_write_begin+0x193/0x4e0
[23967.169587] [<ffffffff812a83f0>] ? _ext4_get_block+0x220/0x220
[23967.169587] [<ffffffff812dc65d>] ? __ext4_journal_start_sb+0x6d/0x120
[23967.169587] [<ffffffff812aca7a>] ext4_write_begin+0x19a/0x460
[23967.169587] [<ffffffff81195ebe>] generic_perform_write+0xce/0x1d0
[23967.169587] [<ffffffff812347cc>] ? file_update_time+0xcc/0x110
[23967.169587] [<ffffffff81197622>] __generic_file_write_iter+0x1a2/0x1e0
[23967.169587] [<ffffffff812a0f24>] ext4_file_write_iter+0x1c4/0x4b0
[23967.169587] [<ffffffff8120cea9>] ? mem_cgroup_try_charge+0x69/0x1d0
[23967.169587] [<ffffffff811a7067>] ? lru_cache_add_active_or_unevictable+0x27/0xa0
[23967.169587] [<ffffffff81218765>] new_sync_write+0xa5/0xf0
[23967.169587] [<ffffffff812187d9>] __vfs_write+0x29/0x40
[23967.169587] [<ffffffff81218f69>] vfs_write+0xa9/0x1a0
[23967.169587] [<ffffffff81219e15>] SyS_pwrite64+0x95/0xb0
[23967.169587] [<ffffffff818464db>] entry_SYSCALL_64_fastpath+0x22/0xd0
[23967.169587] Code: d0 49 29 c5 e9 ca fd ff ff 41 bd 00 80 00 00 e9 8e fd ff ff 8b 56 10 31 c0 e9 70 fd ff ff 0f 0b 41 bd 00 00 01 00 e9 77 fd ff ff <0f> 0b 0f 0b 0f 0b 41 bd 00 00 02 00 e9 66 fd ff ff 0f 0b 41 bd
[23967.169587] RIP [<ffffffff812dec7e>] ext4_mb_normalize_request.constprop.29+0x40e/0x4c0
[23967.169587] RSP <ffff8800d43f7860>
[23967.533188] ---[ end trace 7e0e603d5fd1fa33 ]---

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :

We should skip this test when running xfstests on ext4 on 4.4 kernels.

Changed in linux (Ubuntu Xenial):
status: New → Opinion
Changed in linux (Ubuntu):
status: New → Invalid
Changed in ubuntu-kernel-tests:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.