All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Michael Weissenbacher <mw@dermichi.com>
Cc: xfs@oss.sgi.com
Subject: Re: vmap allocation for size 1048576 failed
Date: Tue, 9 Nov 2010 23:07:01 +1100	[thread overview]
Message-ID: <20101109120701.GN2715@dastard> (raw)
In-Reply-To: <4CD924A6.6040200@dermichi.com>

On Tue, Nov 09, 2010 at 11:38:30AM +0100, Michael Weissenbacher wrote:
> Dear List!
> 
> On one of my machines i started getting errors like this after upgrading
> from Kernel 2.6.35 to 2.6.36.
> --- --- snip --- ---
> Nov  9 11:25:57 xxxxx kernel: [591880.880679] vmap allocation for size
> 1048576 failed: use vmalloc=<size> to increase size.
> ... (repeats a few times, with differing sizes)
> Nov  9 11:25:57 xxxxx kernel: [591880.881651] xfs_buf_get: failed to map
> pages
> ... (repeats a few times)
> Nov  9 11:25:57 xxxxx kernel: [591881.111625] Filesystem "loop0": XFS
> internal error xfs_trans_cancel at line 1796 of file fs/xfs/xfs_trans.c.
>  Caller 0xc0270288
> Nov  9 11:25:57 xxxxx kernel: [591881.111629]
> Nov  9 11:25:57 xxxxx kernel: [591881.111636] Pid: 24899, comm: rsync
> Not tainted 2.6.36 #1
> Nov  9 11:25:57 xxxxx kernel: [591881.111640] Call Trace:
> Nov  9 11:25:57 xxxxx kernel: [591881.111653]  [<c0254756>]
> xfs_error_report+0x2c/0x2e
> Nov  9 11:25:57 xxxxx kernel: [591881.111663]  [<c026c691>]
> xfs_trans_cancel+0x4b/0xc9
> Nov  9 11:25:57 xxxxx kernel: [591881.111674]  [<c0270288>] ?
> xfs_create+0x473/0x4ef

I didn't think anything other than log recovery tries to vmap
buffers. This is clearly not in log recovery. Can you post an
unedited error log, how much data you are rsyncing, the
configuration of your filesystem (xfs_info, mount options, loop dev
config, etc) to give us an idea of what you are doing to trigger
this?

> A few thoughts:
>  * It always happens when i run "rsync" on the machine.
>  * I've already tried setting vmalloc=256M and vmalloc=512M which both
> delayed the problem but didn't cure it.
>  * It's a 32-bit machine and the problem only occurs on a loop'ed XFS,
> never on the root XFS.

Can't you run on a 64-bit machine?

>  * I've used the experimental "delaylog" mount option, which may be
> important.

Should be completely irrelevant.

>  * I'm not sure if the problem is 100% related to the kernel upgrade
> because i didn't use a loop XFS on this machine before the kernel upgrade.

Can you downgrade your kernel and run the loop device there to tell
us whether this is actually a regression or not? If it is a
regression, then if you could run a bisect to find the exact patch
that causes it woul dbe very helpful....

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  parent reply	other threads:[~2010-11-09 12:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-09 10:38 vmap allocation for size 1048576 failed Michael Weissenbacher
2010-11-09 11:13 ` Michael Monnerie
2010-11-09 12:02   ` Michael Weissenbacher
2010-11-09 12:07 ` Dave Chinner [this message]
2010-11-10  8:16   ` Michael Weissenbacher
2010-11-10 12:30     ` Dave Chinner
2010-11-18 10:50       ` Michael Weissenbacher
2011-04-29  8:51       ` Michael Weissenbacher

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=20101109120701.GN2715@dastard \
    --to=david@fromorbit.com \
    --cc=mw@dermichi.com \
    --cc=xfs@oss.sgi.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.