public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: James Pearson <james-p@moving-picture.com>
Cc: xfs@oss.sgi.com, James Braid <jamesb@loreland.org>
Subject: Re: New CentOS4/RHEL4-compatible xfs module rpms
Date: Wed, 08 Aug 2007 11:09:33 -0500	[thread overview]
Message-ID: <46B9EABD.9010901@sandeen.net> (raw)
In-Reply-To: <46B9E98D.9070401@moving-picture.com>

James Pearson wrote:
>>> That's odd.  You have the module on the server, exporting an xfs
>>> filesystem, and you're getting permission denied on the client?
>> Yep. And rmmod'ing the updated XFS module and insmod'ing the older  
>> module makes it work again.
> 
> The 'stock' RHEL4/CentOS4 kernels don't have xfs modules - so, I guess 
> you have rebuilt your kernel with the XFS code that is there by default?
> 
> If this is the case, then this _may be_ the cause of the problem ... the 
> updated xfs module code uses any existing XFS configs in the kernel you 
> are building against - the Makefile states:
> 
> # Set up our config.
> #
> # If the kernel already has an XFS config, use it.
> # Else if config.xfs is here, use it for our config.  Otherwise,
> # Else default to only CONFIG_XFS_FS=m (simplest config)
> 
> The problem is that the 'stock' 2.6.9 kernel doesn't define (or use) 
> CONFIG_XFS_EXPORT - but the updated xfs module code requires this to 
> allow NFS exports of a XFS file system ...
> 
> So my guess is that your re-built updated xfs modules don't use
> CONFIG_XFS_EXPORT
> 
> I guess with a bit of hacking to the Makefile, you could force 
> 'CONFIG_XFS_EXPORT=y' to be added - you might even be able to do this 
> via the rpmbuild command line ... although I don't know how.

Ah, that may well be it.  yeah, the rpm needs to set its own config
options since the centos kernel has no xfs config.  (Sorry, I just
haven't had time to look into it yet) - but I bet you're right that
setting the config option in the makefile in the rpm will fix things
right up!

-Eric

  reply	other threads:[~2007-08-08 16:09 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-08 16:04 New CentOS4/RHEL4-compatible xfs module rpms James Pearson
2007-08-08 16:09 ` Eric Sandeen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-11-19 19:07 Eric Sandeen
2006-12-07 17:25 ` Geir A. Myrestrand
2006-12-07 17:52   ` Eric Sandeen
2006-12-07 18:17     ` Geir A. Myrestrand
2006-12-07 23:26       ` David Chinner
2006-12-08  2:58         ` Geir A. Myrestrand
2006-12-07 18:19     ` Geir A. Myrestrand
2006-12-07 20:51     ` Geir A. Myrestrand
2006-12-07 21:11       ` Nathan Scott
2006-12-07 21:35         ` Geir A. Myrestrand
2006-12-07 21:40           ` Nathan Scott
2006-12-07 21:51             ` Geir A. Myrestrand
2006-12-07 22:06               ` Nathan Scott
2006-12-07 22:16                 ` Geir A. Myrestrand
2006-12-07 22:18                   ` Eric Sandeen
2006-12-07 22:25                     ` Geir A. Myrestrand
2006-12-07 22:30                       ` Eric Sandeen
2006-12-07 22:52                         ` Geir A. Myrestrand
2006-12-07 22:53                           ` Eric Sandeen
2006-12-07 23:08                             ` Geir A. Myrestrand
2007-07-19 14:37 ` James Braid
2007-07-19 15:15   ` Eric Sandeen
2007-07-21  3:34     ` James Braid
2007-07-21 14:58       ` Eric Sandeen
2007-07-21 15:36         ` James Braid

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=46B9EABD.9010901@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=james-p@moving-picture.com \
    --cc=jamesb@loreland.org \
    --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