* kernel BUG at fs/btrfs/ctree.c:3179!: btrfs_set_item_key_safe
@ 2016-11-29 17:28 Eric Wheeler
2016-11-29 18:23 ` Omar Sandoval
0 siblings, 1 reply; 2+ messages in thread
From: Eric Wheeler @ 2016-11-29 17:28 UTC (permalink / raw)
To: linux-btrfs
Hello All,
This was running on an older 4.6.5 machine. Does anyone know if this has
been fixed in newer kernels?
[340653.975882] ------------[ cut here ]------------
[340653.978481] kernel BUG at fs/btrfs/ctree.c:3179!
[340653.979757] invalid opcode: 0000 [#1]
[340653.989870] CPU: 0 PID: 12861 Comm: kworker/u97:24 Tainted: G E 4.6.5 #1
[340653.991390] Hardware name: Dell Inc. PowerEdge T420/03015M, BIOS 2.4.2 01/29/2015
[340653.992952] Workqueue: btrfs-endio-write btrfs_endio_write_helper [btrfs]
[340653.994495] task: ffff88003798c140 ti: ffff880526c74000 task.ti: ffff880526c74000
[340653.996087] RIP: 0010:[<ffffffffa039f1c2>]
[<ffffffffa039f1c2>] btrfs_set_item_key_safe+0x172/0x180 [btrfs]
[340653.997762] RSP: 0018:ffff880526c77ad0 EFLAGS: 00010246
[340653.999393] RAX: 0000000000000000 RBX: 0000000000000016 RCX: 0000015906340000
[340654.001038] RDX: 0000000000000000 RSI: ffff880526c77bee RDI: ffff880526c77aef
[340654.002699] RBP: ffff880526c77b30 R08: 0000000000001000 R09: ffff880526c77af0
[340654.004388] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880526c77ade
[340654.006072] R13: ffff880100b53150 R14: ffff880526c77bee R15: ffff8803e7e87298
[340654.007800] FS: 0000000000000000(0000) GS:ffff88041f800000(0000) knlGS:0000000000000000
[340654.009528] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[340654.011272] CR2: ffffffffff600400 CR3: 0000000191b24000 CR4: 00000000000406f0
[340654.012884] Stack:
[340654.014506] ffff88041c67e000
0101ffffa03e1d58
006c000000000000
0100000159063400
[340654.016322] 6c00000000000001
0000015906340000
00000000b33ec473
ffff880100b53150
[340654.018173] 0000000000000b3d
0000000000000000
0000015906350000
ffff8803e7e87298
[340654.020008] Call Trace:
[340654.021916] [<ffffffffa03dca36>] __btrfs_drop_extents+0x536/0xdb0 [btrfs]
[340654.023836] [<ffffffffa03e50f3>] ? set_state_bits+0x43/0xc0 [btrfs]
[340654.025780] [<ffffffffa03ca250>] insert_reserved_file_extent.constprop.64+0xb0/0x320 [btrfs]
[340654.027725] [<ffffffffa03d1d1c>] btrfs_finish_ordered_io+0x47c/0x690 [btrfs]
[340654.029707] [<ffffffffa03d2225>] finish_ordered_fn+0x15/0x20 [btrfs]
[340654.031689] [<ffffffffa03faaa0>] normal_work_helper+0xc0/0x2c0 [btrfs]
[340654.033669] [<ffffffffa03fae32>] btrfs_endio_write_helper+0x12/0x20 [btrfs]
[340654.035655] [<ffffffff810bc812>] process_one_work+0x152/0x400
[340654.037687] [<ffffffff810bd105>] worker_thread+0x125/0x4b0
[340654.039703] [<ffffffff810bcfe0>] ? rescuer_thread+0x380/0x380
[340654.041758] [<ffffffff810c2c78>] kthread+0xd8/0xf0
[340654.043830] [<ffffffff816ebcc2>] ret_from_fork+0x22/0x40
[340654.045892] [<ffffffff810c2ba0>] ? kthread_park+0x60/0x60
--
Eric Wheeler
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: kernel BUG at fs/btrfs/ctree.c:3179!: btrfs_set_item_key_safe
2016-11-29 17:28 kernel BUG at fs/btrfs/ctree.c:3179!: btrfs_set_item_key_safe Eric Wheeler
@ 2016-11-29 18:23 ` Omar Sandoval
0 siblings, 0 replies; 2+ messages in thread
From: Omar Sandoval @ 2016-11-29 18:23 UTC (permalink / raw)
To: Eric Wheeler; +Cc: linux-btrfs
On Tue, Nov 29, 2016 at 09:28:07AM -0800, Eric Wheeler wrote:
> Hello All,
>
> This was running on an older 4.6.5 machine. Does anyone know if this has
> been fixed in newer kernels?
I'm guessing that this is the issue that Josef fixed here [1][2]. It's
not in any current kernel, but it should make it into 4.10.
1: https://patchwork.kernel.org/patch/9431679/
2: https://patchwork.kernel.org/patch/9428269/
> [340653.975882] ------------[ cut here ]------------
> [340653.978481] kernel BUG at fs/btrfs/ctree.c:3179!
> [340653.979757] invalid opcode: 0000 [#1]
> [340653.989870] CPU: 0 PID: 12861 Comm: kworker/u97:24 Tainted: G E 4.6.5 #1
> [340653.991390] Hardware name: Dell Inc. PowerEdge T420/03015M, BIOS 2.4.2 01/29/2015
> [340653.992952] Workqueue: btrfs-endio-write btrfs_endio_write_helper [btrfs]
>
> [340653.994495] task: ffff88003798c140 ti: ffff880526c74000 task.ti: ffff880526c74000
> [340653.996087] RIP: 0010:[<ffffffffa039f1c2>]
> [<ffffffffa039f1c2>] btrfs_set_item_key_safe+0x172/0x180 [btrfs]
> [340653.997762] RSP: 0018:ffff880526c77ad0 EFLAGS: 00010246
> [340653.999393] RAX: 0000000000000000 RBX: 0000000000000016 RCX: 0000015906340000
> [340654.001038] RDX: 0000000000000000 RSI: ffff880526c77bee RDI: ffff880526c77aef
> [340654.002699] RBP: ffff880526c77b30 R08: 0000000000001000 R09: ffff880526c77af0
> [340654.004388] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880526c77ade
> [340654.006072] R13: ffff880100b53150 R14: ffff880526c77bee R15: ffff8803e7e87298
> [340654.007800] FS: 0000000000000000(0000) GS:ffff88041f800000(0000) knlGS:0000000000000000
> [340654.009528] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [340654.011272] CR2: ffffffffff600400 CR3: 0000000191b24000 CR4: 00000000000406f0
> [340654.012884] Stack:
> [340654.014506] ffff88041c67e000
> 0101ffffa03e1d58
> 006c000000000000
> 0100000159063400
>
> [340654.016322] 6c00000000000001
> 0000015906340000
> 00000000b33ec473
> ffff880100b53150
>
> [340654.018173] 0000000000000b3d
> 0000000000000000
> 0000015906350000
> ffff8803e7e87298
>
> [340654.020008] Call Trace:
> [340654.021916] [<ffffffffa03dca36>] __btrfs_drop_extents+0x536/0xdb0 [btrfs]
> [340654.023836] [<ffffffffa03e50f3>] ? set_state_bits+0x43/0xc0 [btrfs]
> [340654.025780] [<ffffffffa03ca250>] insert_reserved_file_extent.constprop.64+0xb0/0x320 [btrfs]
> [340654.027725] [<ffffffffa03d1d1c>] btrfs_finish_ordered_io+0x47c/0x690 [btrfs]
> [340654.029707] [<ffffffffa03d2225>] finish_ordered_fn+0x15/0x20 [btrfs]
> [340654.031689] [<ffffffffa03faaa0>] normal_work_helper+0xc0/0x2c0 [btrfs]
> [340654.033669] [<ffffffffa03fae32>] btrfs_endio_write_helper+0x12/0x20 [btrfs]
> [340654.035655] [<ffffffff810bc812>] process_one_work+0x152/0x400
> [340654.037687] [<ffffffff810bd105>] worker_thread+0x125/0x4b0
> [340654.039703] [<ffffffff810bcfe0>] ? rescuer_thread+0x380/0x380
> [340654.041758] [<ffffffff810c2c78>] kthread+0xd8/0xf0
> [340654.043830] [<ffffffff816ebcc2>] ret_from_fork+0x22/0x40
> [340654.045892] [<ffffffff810c2ba0>] ? kthread_park+0x60/0x60
>
>
>
> --
> Eric Wheeler
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-29 18:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-29 17:28 kernel BUG at fs/btrfs/ctree.c:3179!: btrfs_set_item_key_safe Eric Wheeler
2016-11-29 18:23 ` Omar Sandoval
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).