public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Florian Bruhin <me@the-compiler.org>
To: Liu Bo <bo.li.liu@oracle.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: BTRFS critical / kernel BUG / high load
Date: Mon, 17 Mar 2014 11:59:24 +0100	[thread overview]
Message-ID: <20140317105924.GD21978@lupin> (raw)
In-Reply-To: <20140317104715.GB2447@localhost.localdomain>

[-- Attachment #1: Type: text/plain, Size: 1712 bytes --]

* Liu Bo <bo.li.liu@oracle.com> [2014-03-17 18:47:16 +0800]:
> On Mon, Mar 17, 2014 at 06:57:54AM +0100, Florian Bruhin wrote:
> > Hi,
> > 
> > on one of my servers running btrfs, I noticed a very high load of
> > 26/26/26. After investigating further, this happened in my logs about
> > 5 minutes before the monitoring alerted me because of the load:
> > 
> > [...]
> > 
> > So basically after that happened, my load stayed high, so probably
> > something went berzerk.
> 
> I get what makes the load stay high, but still don't know how this BUG_ON was triggered.
> 
> Or maybe by 'gdb btrfs.ko and list *btrfs_search_old_slot+0x7c4', 
> you can get where it refers to?

I'm not really experienced with debugging kernel code or modules.

That's what I tried:

$ gunzip -c /usr/lib/modules/3.13.6-1-ARCH/kernel/fs/btrfs/btrfs.ko.gz > btrfs.ko
$ gdb btrfs.ko
[...]
Reading symbols from btrfs.ko...(no debugging symbols found)...done.
(gdb) list *btrfs_search_old_slot+0x7c4
No symbol table is loaded.  Use the "file" command.
(gdb) file /boot/vmlinuz-linux
Reading symbols from /boot/vmlinuz-linux...(no debugging symbols found)...done.
(gdb) list *btrfs_search_old_slot+0x7c4
No symbol table is loaded.  Use the "file" command.

It seems the addresses shown are dependent at load-time anyways? Or
should I recompile the kernel with debugging symbols and try again,
should that work?

Florian

-- 
() ascii ribbon campaign - stop html mail    www.asciiribbon.org
/\ www.the-compiler.org  | I love long mails http://email.is-not-s.ms/
"There are some good people in it, but the orchestra as a whole is equivalent 
to a gang bent on destruction." -- John Cage, composer 

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2014-03-17 10:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-17  5:57 BTRFS critical / kernel BUG / high load Florian Bruhin
2014-03-17 10:47 ` Liu Bo
2014-03-17 10:59   ` Florian Bruhin [this message]
2014-03-17 11:16 ` Filipe David Manana
2014-03-17 12:47   ` Florian Bruhin
2014-03-17 13:08     ` Filipe David Manana

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=20140317105924.GD21978@lupin \
    --to=me@the-compiler.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox