public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Roland Eggner <edvx1@systemanalysen.net>
To: SGI Project XFS mailing list <xfs@oss.sgi.com>
Subject: Re: xfs regression in linux_2.6.28, "XFS_WANT_CORRUPTED_GOTO at line 3327 of file fs/xfs/xfs_btree.c"
Date: Fri, 16 Jan 2009 10:08:01 +0100	[thread overview]
Message-ID: <200901161008.02387.edvx1@systemanalysen.net> (raw)
In-Reply-To: <20090115221438.GF8071@disturbed>

On Thursday Jan 15th 2009 at 23:14:38 Dave Chinner wrote:
> On Thu, Jan 15, 2009 at 04:02:39AM +0100, Roland Eggner wrote:
> > Latest (so far) working linux_2.6.27.9
> > linux_2.6.28 seems to introduce a xfs regression:
> 
> You mean 2.6.29, don't you (i.e. a current TOT development kernel,
> not a stable kernel)?
I meant exactly what I have written:  linux_2.6.28

> We have received a few reports of that since 2.6.29-git2 after the
> big XFS merge occurred. Can you confirm that you are running a very
> recent unstable kernel and not a stable 2.6.28 kernel?
all 2.6.28 builds which I have tried so far are broken,
today tried linux_2.6.29-rc1 and got the same "XFS_WANT_CORRUPTED_GOTO .."
note:  SAME failure with
linux_2.6.28
linux_2.6.28-git7
linux_2.6.28-git9
linux_2.6.29-rc1

Should I compile with CONFIG_XFS_DEBUG?

If you know a 2.6.28 or 2.6.29 kernel with REALLY stable xfs:
please point me :-)

> BTW, I note your kernel is tainted (like a couple of other
> reports of this problem). Can you tell us what module you are
> running that taints the kernel so we can correlate that with
> other reports of the problem?
kernels vanilla from kernel.org
+ NVIDIA-Linux-x86-96.43.09 graphics driver
+ from loop-aes-source the kernel-2.6.27 patch
+ following patch required because of the new credentials framework
--- drivers/block/loop.c.orig   2009-01-11 00:55:28.000000000 +0100
+++ drivers/block/loop.c        2009-01-11 01:07:44.525441742 +0100
@@ -423,7 +423,7 @@
         unsigned char b[64];
     } un;

-    if(lo->lo_key_owner != current->uid && !capable(CAP_SYS_ADMIN))
+    if(lo->lo_key_owner != current_uid() && !capable(CAP_SYS_ADMIN))
         return -EPERM;

     m = (AESmultiKey *)lo->key_data;
@@ -2360,7 +2360,7 @@
        int err;
        struct loop_func_table *xfer = NULL;

-       if (lo->lo_encrypt_key_size && lo->lo_key_owner != current->uid &&
+       if (lo->lo_encrypt_key_size && lo->lo_key_owner != current_uid() &&
            !capable(CAP_SYS_ADMIN))
                return -EPERM;
        if ((unsigned int) info->lo_encrypt_key_size > LO_KEY_SIZE)
@@ -2416,7 +2416,7 @@
        if (info->lo_encrypt_key_size) {
                memcpy(lo->lo_encrypt_key, info->lo_encrypt_key,
                       info->lo_encrypt_key_size);
-               lo->lo_key_owner = current->uid;
+               lo->lo_key_owner = current_uid();
        }

        lo->lo_queue->make_request_fn = loop_make_request_real;


I believe problem is xfs related, because only xfs partitions with write
activity are affected, and the first error line in kernel log was in EVERY case
"XFS_WANT_CORRUPTED_GOTO ..".  It seems that the loop module does not matter,
because both plane xfs partitions and encrypted xfs partitions are similarly
affected.


Cheers
Roland

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

  reply	other threads:[~2009-01-16 19:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-15  3:02 xfs regression in linux_2.6.28, "XFS_WANT_CORRUPTED_GOTO at line 3327 of file fs/xfs/xfs_btree.c" Roland Eggner
2009-01-15 22:14 ` Dave Chinner
2009-01-16  9:08   ` Roland Eggner [this message]
2009-01-17  7:25     ` Dave Chinner
2009-01-30  1:18       ` Roland Eggner

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=200901161008.02387.edvx1@systemanalysen.net \
    --to=edvx1@systemanalysen.net \
    --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