public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: linux-kernel@vger.kernel.org, xfs@oss.sgi.com
Subject: Re: xfs bug in 2.6.26-rc9
Date: Fri, 11 Jul 2008 18:42:49 +1000	[thread overview]
Message-ID: <20080711084248.GU29319@disturbed> (raw)
In-Reply-To: <alpine.DEB.1.10.0807110939520.30192@uplift.swm.pp.se>

On Fri, Jul 11, 2008 at 09:46:47AM +0200, Mikael Abrahamsson wrote:
>
> I received this when running xfs_fsr to defragment my xfs volume (which  
> resides on a crypted lvm).

Hmmmm. XFS has a history of triggering unique bugs in crypted
volumes - thank you for letting us know up front that this is
what you are using.

> Could it be that something is wrong with my xfs volume and this is not  
> being properly handled (since it seems to refer to getbmap below?).

Could be - xfs_check will tell you if there is anything wrong with
it.

> Kernel is configured with oldconfig from ubuntu hardy stock kernel plus  
> Alsa. Hardware can be seen at  
> <https://bugs.launchpad.net/ubuntu/+source/linux/+bug/235074>.
>
> Kernel oopsed (caps lock+other flashing when I woke up this morning),  
> don't know if it's related to the below bug or if it's something else.  
> Screensaver was on so I couldn't see any text to see more info.
>
> Jul  8 04:44:56 via kernel: [554197.888008] ------------[ cut here ]------------
> Jul  8 04:44:56 via kernel: [554197.888008] kernel BUG at fs/xfs/support/debug.c:81!
> Jul  8 04:44:56 via kernel: [554197.888008] invalid opcode: 0000 [#1] SMP
> Jul  8 04:44:56 via kernel: [554197.888008] Modules linked in: soundcore  
> ac97_bus isofs udf crc_itu_t nvidia(P) af_packet rfcomm l2c
                               ^^^^^^^^^

That could also be a factor.

>  Pid: 16200, comm: xfs_fsr Tainted: P          (2.6.26-rc8 #1)
>  EIP: 0060:[<f956201b>] EFLAGS: 00010282 CPU: 0
>  EIP is at assfail+0x1b/0x20 [xfs]
             ^^^^^^^

Oh - you must be running a debug XFS.  CONFIG_XFS_DEBUG was only
introduced in 2.6.26-rc1 and defaults to 'N', so you must have
selected the non-default option when prompted. This will cause your
machine to oops at the slightest inconsistency that is found,
regardless of whether it is fatal or not. Like the help text says,
don't set this unless you are an XFS developer....

That aside, what was the assert failure reported prior to the oops? i.e.
paste the lines in the log before the ---[ cut here ]--- line?
One of them will start with 'Assertion failed:', I think....

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

  reply	other threads:[~2008-07-11  8:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-11  7:46 xfs bug in 2.6.26-rc9 Mikael Abrahamsson
2008-07-11  8:42 ` Dave Chinner [this message]
2008-07-11 10:21   ` Mikael Abrahamsson
2008-07-14  7:30     ` Dave Chinner
2008-07-14  8:16       ` Mikael Abrahamsson
2008-07-14  7:34     ` Lachlan McIlroy
2008-07-14 12:13       ` Dave Chinner
2008-07-15  2:12         ` Lachlan McIlroy
2008-07-15  3:18           ` Dave Chinner
2008-07-15  6:17         ` Nick Piggin
2008-07-15 12:22           ` Christoph Hellwig
2008-07-16  4:12             ` Nick Piggin
2008-07-11 19:02   ` Sebastian Siewior
2008-07-11 19:52     ` Eric Sandeen
2008-07-11 23:22     ` Dave Chinner
2008-07-12  5:06       ` Sebastian Siewior

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=20080711084248.GU29319@disturbed \
    --to=david@fromorbit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=swmike@swm.pp.se \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox