From: Qu Wenruo <quwenruo@cn.fujitsu.com>
To: Tomasz Chmielewski <tch@virtall.com>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: kernel crashes with btrfs and busy database IO - how to debug?
Date: Mon, 15 Jun 2015 16:10:08 +0800 [thread overview]
Message-ID: <557E8860.3080307@cn.fujitsu.com> (raw)
In-Reply-To: <40998423616120fecd531f31971b0b8b@admin.virtall.com>
Now we can get the full backtrace.
That's a step forward
[45705.854778] BUG: unable to handle kernel NULL pointer dereference at
0000000000000008
[45705.854824] IP: [<ffffffffc0158b8e>]
btrfs_wait_pending_ordered+0x5e/0x110 [btrfs]
[45705.855615] Call Trace:
[45705.855637] [<ffffffffc015addb>]
btrfs_commit_transaction+0x40b/0xb60 [btrfs]
[45705.855671] [<ffffffff810c0700>] ? prepare_to_wait_event+0x100/0x100
[45705.855698] [<ffffffffc0171973>] btrfs_sync_file+0x313/0x380 [btrfs]
[45705.855721] [<ffffffff81236c26>] vfs_fsync_range+0x46/0xc0
[45705.855740] [<ffffffff81236cbc>] vfs_fsync+0x1c/0x20
[45705.855758] [<ffffffff81236cf8>] do_fsync+0x38/0x70
[45705.855777] [<ffffffff812370d0>] SyS_fsync+0x10/0x20
[45705.855796] [<ffffffff8180cbb2>] system_call_fastpath+0x16/0x75
Also the hang seems to be highly related to the bug,
would you please send a new mail reporting the hang?
Thanks,
Qu
在 2015年06月14日 15:58, Tomasz Chmielewski 写道:
> On 2015-06-14 09:30, Tomasz Chmielewski wrote:
>> On 2015-06-13 08:23, Tomasz Chmielewski wrote:
>>
>>> I did get it from /var/crash/ though - is it more useful? I don't have
>>> vmlinux for this kernel though, but have just built 4.1-rc7 with the
>>> same config, can try to get the crash there.
>>
>> I've uploaded a crash dump and vmlinux here:
>>
>> http://www.virtall.com/files/temp/201506132321/
>>
>> Let me know if it's anything useful or if you need more info.
>
> I've tried running it the same procedure to get one more crash, but it
> didn't crash this time.
>
> Instead, btrfs is hanged on any writes - any processes trying to write
> get into D state and never return; there is no write activity when
> checking for example with iostat. "sync" command does not return.
>
> Reads from this btrfs filesystem are OK.
>
> I've uploaded the output of "echo w > /proc/sysrq-trigger" here:
>
> http://www.virtall.com/files/temp/dmesg.txt
>
>
> Tomasz Chmielewski
>
next prev parent reply other threads:[~2015-06-15 8:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-11 11:33 kernel crashes with btrfs and busy database IO - how to debug? Tomasz Chmielewski
2015-06-12 7:13 ` Qu Wenruo
2015-06-12 8:35 ` Tomasz Chmielewski
2015-06-12 9:09 ` Qu Wenruo
2015-06-12 23:23 ` Tomasz Chmielewski
2015-06-14 0:30 ` Tomasz Chmielewski
2015-06-14 7:58 ` Tomasz Chmielewski
2015-06-15 8:10 ` Qu Wenruo [this message]
2015-06-15 10:31 ` Tomasz Chmielewski
2015-06-12 7:53 ` Duncan
2015-06-12 16:26 ` Chris Mason
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=557E8860.3080307@cn.fujitsu.com \
--to=quwenruo@cn.fujitsu.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=tch@virtall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.