From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp1040.oracle.com ([156.151.31.81]:41997 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751814AbbCXGdW (ORCPT ); Tue, 24 Mar 2015 02:33:22 -0400 Message-ID: <551104B9.2010105@oracle.com> Date: Tue, 24 Mar 2015 14:31:21 +0800 From: Anand Jain MIME-Version: 1.0 To: Rich Freeman CC: "G. Richard Bellamy" , linux-btrfs Subject: Re: Upgrade to 3.19.2 Kernel fails to boot References: <550FCD9C.1000706@oracle.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Sender: linux-btrfs-owner@vger.kernel.org List-ID: Do you have this fix .. [PATCH] Btrfs: release path before starting transaction in can_nocow_extent could you try ?. Thanks, Anand On 03/24/2015 12:37 AM, Rich Freeman wrote: > On Mon, Mar 23, 2015 at 9:22 AM, Rich Freeman > wrote: >> >> I'm having a similar problem. I'm getting some kind of btrfs >> corruption that causes a panic/reboot, and then the initramfs won't >> mount root for 3.18.9, but it will mount it for 3.18.8. >> >> Running on 3.18.8 eventually caused the panic to repeat, so I'm not >> sure that 3.18.9 is necessarily breaking things - it might just be >> fussier about not mounting a dirty fs. >> > > This continues to happen. The filesystem won't mount with 3.18.9, but > will mount with 3.18.8. > > Here is the dmesg output from dracut on 3.18.9: > > [ 240.765147] INFO: task mount:395 blocked for more than 120 seconds. > [ 240.765224] Not tainted 3.18.9-gentoo #1 > [ 240.765274] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > disables this message. > [ 240.765809] mount D ffff880427c51900 11800 395 1 0x00000004 > [ 240.765927] ffff88040d2f76a8 0000000000000082 ffff8804106170f0 > 0000000000011900 > [ 240.766181] ffff88040d2f7fd8 0000000000011900 ffff88041593d6e0 > ffff8804106170f0 > [ 240.766373] ffff88040d2f76b8 ffff8800cb505c70 ffff8800cb505cf0 > ffff8800cb505cd8 > [ 240.766556] Call Trace: > [ 240.766618] [] schedule+0x24/0x60 > [ 240.766719] [] btrfs_tree_lock+0x4d/0x1c0 [btrfs] > [ 240.766780] [] ? prepare_to_wait_event+0x100/0x100 > [ 240.766859] [] btrfs_search_slot+0x6e9/0x9f0 [btrfs] > [ 240.766939] [] btrfs_insert_empty_items+0x73/0xd0 [btrfs] > [ 240.767017] [] ? btrfs_alloc_path+0x15/0x20 [btrfs] > [ 240.767118] [] btrfs_insert_orphan_item+0x5a/0x80 [btrfs] > [ 240.767211] [] insert_orphan_item+0x65/0xa0 [btrfs] > [ 240.767301] [] replay_one_buffer+0x349/0x360 [btrfs] > [ 240.767391] [] walk_up_log_tree+0xc5/0x220 [btrfs] > [ 240.767481] [] walk_log_tree+0x9b/0x1a0 [btrfs] > [ 240.767572] [] btrfs_recover_log_trees+0x262/0x4d0 [btrfs] > [ 240.767662] [] ? replay_one_extent+0x780/0x780 [btrfs] > [ 240.767749] [] open_ctree+0x17ef/0x2100 [btrfs] > [ 240.767827] [] btrfs_mount+0x766/0x900 [btrfs] > [ 240.767886] [] mount_fs+0x3f/0x1b0 > [ 240.767940] [] ? __alloc_percpu+0x10/0x20 > [ 240.767997] [] vfs_kern_mount+0x63/0x100 > [ 240.768087] [] btrfs_mount+0x17b/0x900 [btrfs] > [ 240.768146] [] ? pcpu_alloc+0x35a/0x660 > [ 240.768201] [] mount_fs+0x3f/0x1b0 > [ 240.768255] [] ? __alloc_percpu+0x10/0x20 > [ 240.768311] [] vfs_kern_mount+0x63/0x100 > [ 240.768365] [] do_mount+0x20c/0xaf0 > [ 240.768420] [] ? __get_free_pages+0x9/0x40 > [ 240.768474] [] ? copy_mount_options+0x35/0x150 > [ 240.768528] [] SyS_mount+0x97/0xf0 > [ 240.768582] [] system_call_fastpath+0x12/0x17 > [ 240.768638] INFO: task btrfs-transacti:435 blocked for more than 120 seconds. > [ 240.768693] Not tainted 3.18.9-gentoo #1 > [ 240.768742] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > disables this message. > [ 240.768811] btrfs-transacti D ffff880427c11900 12424 435 2 0x00000000 > [ 240.768928] ffff8800cfab7dc8 0000000000000046 ffff880410f01a10 > 0000000000011900 > [ 240.769119] ffff8800cfab7fd8 0000000000011900 ffffffff81a16460 > ffff880410f01a10 > [ 240.769302] ffff8800cfab7dd8 ffff88040c7ab000 ffff8800cb554000 > ffff8800cb5301a0 > [ 240.769485] Call Trace: > [ 240.769540] [] schedule+0x24/0x60 > [ 240.769625] [] > btrfs_commit_transaction+0x275/0xa40 [btrfs] > [ 240.769698] [] ? prepare_to_wait_event+0x100/0x100 > [ 240.769784] [] transaction_kthread+0x1ad/0x240 [btrfs] > [ 240.769870] [] ? > btrfs_cleanup_transaction+0x530/0x530 [btrfs] > [ 240.769942] [] kthread+0xc4/0xe0 > [ 240.769997] [] ? kthread_create_on_node+0x190/0x190 > [ 240.770064] [] ret_from_fork+0x7c/0xb0 > [ 240.770119] [] ? kthread_create_on_node+0x190/0x190 > [ 360.832426] INFO: task mount:395 blocked for more than 120 seconds. > [ 360.832488] Not tainted 3.18.9-gentoo #1 > [ 360.832539] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > disables this message. > [ 360.832609] mount D ffff880427c51900 11800 395 1 0x00000004 > [ 360.832727] ffff88040d2f76a8 0000000000000082 ffff8804106170f0 > 0000000000011900 > [ 360.832911] ffff88040d2f7fd8 0000000000011900 ffff88041593d6e0 > ffff8804106170f0 > [ 360.833093] ffff88040d2f76b8 ffff8800cb505c70 ffff8800cb505cf0 > ffff8800cb505cd8 > [ 360.833276] Call Trace: > [ 360.833385] [] schedule+0x24/0x60 > [ 360.833495] [] btrfs_tree_lock+0x4d/0x1c0 [btrfs] > [ 360.833555] [] ? prepare_to_wait_event+0x100/0x100 > [ 360.833634] [] btrfs_search_slot+0x6e9/0x9f0 [btrfs] > [ 360.833715] [] btrfs_insert_empty_items+0x73/0xd0 [btrfs] > [ 360.833793] [] ? btrfs_alloc_path+0x15/0x20 [btrfs] > [ 360.833884] [] btrfs_insert_orphan_item+0x5a/0x80 [btrfs] > [ 360.833975] [] insert_orphan_item+0x65/0xa0 [btrfs] > [ 360.834065] [] replay_one_buffer+0x349/0x360 [btrfs] > [ 360.834155] [] walk_up_log_tree+0xc5/0x220 [btrfs] > [ 360.834245] [] walk_log_tree+0x9b/0x1a0 [btrfs] > [ 360.834349] [] btrfs_recover_log_trees+0x262/0x4d0 [btrfs] > [ 360.834440] [] ? replay_one_extent+0x780/0x780 [btrfs] > [ 360.834526] [] open_ctree+0x17ef/0x2100 [btrfs] > [ 360.834604] [] btrfs_mount+0x766/0x900 [btrfs] > [ 360.834662] [] mount_fs+0x3f/0x1b0 > [ 360.834717] [] ? __alloc_percpu+0x10/0x20 > [ 360.834773] [] vfs_kern_mount+0x63/0x100 > [ 360.834849] [] btrfs_mount+0x17b/0x900 [btrfs] > [ 360.834905] [] ? pcpu_alloc+0x35a/0x660 > [ 360.834960] [] mount_fs+0x3f/0x1b0 > [ 360.835014] [] ? __alloc_percpu+0x10/0x20 > [ 360.835069] [] vfs_kern_mount+0x63/0x100 > [ 360.835123] [] do_mount+0x20c/0xaf0 > [ 360.835179] [] ? __get_free_pages+0x9/0x40 > [ 360.835233] [] ? copy_mount_options+0x35/0x150 > [ 360.835286] [] SyS_mount+0x97/0xf0 > [ 360.835354] [] system_call_fastpath+0x12/0x17 > [ 360.835412] INFO: task btrfs-transacti:435 blocked for more than 120 seconds. > [ 360.835465] Not tainted 3.18.9-gentoo #1 > [ 360.835515] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > disables this message. > [ 360.835583] btrfs-transacti D ffff880427c11900 12424 435 2 0x00000000 > [ 360.835701] ffff8800cfab7dc8 0000000000000046 ffff880410f01a10 > 0000000000011900 > [ 360.835887] ffff8800cfab7fd8 0000000000011900 ffffffff81a16460 > ffff880410f01a10 > [ 360.836069] ffff8800cfab7dd8 ffff88040c7ab000 ffff8800cb554000 > ffff8800cb5301a0 > [ 360.836252] Call Trace: > [ 360.836315] [] schedule+0x24/0x60 > [ 360.836403] [] > btrfs_commit_transaction+0x275/0xa40 [btrfs] > [ 360.836479] [] ? prepare_to_wait_event+0x100/0x100 > [ 360.836565] [] transaction_kthread+0x1ad/0x240 [btrfs] > [ 360.836651] [] ? > btrfs_cleanup_transaction+0x530/0x530 [btrfs] > [ 360.836725] [] kthread+0xc4/0xe0 > [ 360.836780] [] ? kthread_create_on_node+0x190/0x190 > [ 360.836834] [] ret_from_fork+0x7c/0xb0 > [ 360.836891] [] ? kthread_create_on_node+0x190/0x190 > > -- > Rich > -- > 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 >