All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rich Gannon <rich@richgannon.net>
To: bo.li.liu@oracle.com
Cc: linux-btrfs@vger.kernel.org
Subject: Re: rsync causes kernel oops
Date: Tue, 03 Mar 2015 10:15:03 -0500	[thread overview]
Message-ID: <54F5CFF7.1090604@richgannon.net> (raw)
In-Reply-To: <20150303064437.GD30093@localhost.localdomain>

Hi,

I have applied the patch but once I start making the kernel, the kernel 
oopses and the process freezes.  I have removed all of the btrfs mounts 
from /etc/fstab and tried with no btrfs filesystems mounted.  I still 
get the error upon trying to build the kernel!  I don't understand how 
or why that's happening.  I tried booting up an old, previously 
known-working kernel and the server has not come back up yet.  I don't 
have physical access to it until tomorrow so this may wait until then.

Rich

On 03/03/2015 01:44 AM, Liu Bo wrote:
> On Tue, Mar 03, 2015 at 01:28:56AM -0500, Rich Gannon wrote:
>>      
>>
>> I should also mention that this is repeatable 100% of the time on this server (only 32-bit box I have) and once the trace pops up in dmesg, the filesystem will not unmount. It just hangs any process trying to unmount it. I can not even reboot/shutdown gracefully.
> Could you please try this and post the dmesg log if you can compile your own kernel?
>
> diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
> index 29850d4..148def3 100644
> --- a/fs/btrfs/extent_io.c
> +++ b/fs/btrfs/extent_io.c
> @@ -2964,6 +2964,9 @@ static int __do_readpage(struct extent_io_tree
> *tree,
>   			memset(userpage + pg_offset, 0, iosize);
>   			flush_dcache_page(page);
>   			kunmap_atomic(userpage);
> +
> +			printk(KERN_ERR "FINDING MEEEEEEEE! cur=%llu iosize=%d sum=%llu end=%llu last_byte=%llu\n", cur, (int)iosize, (cur+iosize-1), end, last_byte);
> +
>   			set_extent_uptodate(tree, cur, cur + iosize - 1,
>   					    &cached, GFP_NOFS);
>   			if (!parent_locked)
>
> Thanks,
>
> -liubo


       reply	other threads:[~2015-03-03 15:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4rlpa6pkab6a7pjvpdi76xrl.1425364136955@email.android.com>
     [not found] ` <20150303064437.GD30093@localhost.localdomain>
2015-03-03 15:15   ` Rich Gannon [this message]
2015-03-04 20:54   ` rsync causes kernel oops Rich Gannon
2015-03-03  2:43 Rich Gannon
2015-03-03  6:17 ` Liu Bo

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=54F5CFF7.1090604@richgannon.net \
    --to=rich@richgannon.net \
    --cc=bo.li.liu@oracle.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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.