public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Re: New CentOS4/RHEL4-compatible xfs module rpms
@ 2007-08-08 16:04 James Pearson
  2007-08-08 16:09 ` Eric Sandeen
  0 siblings, 1 reply; 27+ messages in thread
From: James Pearson @ 2007-08-08 16:04 UTC (permalink / raw)
  To: xfs, James Braid; +Cc: Eric Sandeen

>> 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.

James Pearson

^ permalink raw reply	[flat|nested] 27+ messages in thread
* New CentOS4/RHEL4-compatible xfs module rpms
@ 2006-11-19 19:07 Eric Sandeen
  2006-12-07 17:25 ` Geir A. Myrestrand
  2007-07-19 14:37 ` James Braid
  0 siblings, 2 replies; 27+ messages in thread
From: Eric Sandeen @ 2006-11-19 19:07 UTC (permalink / raw)
  To: xfs; +Cc: centos-devel

http://sandeen.net/rhel4_xfs/kernel-module-xfs-2.6.9-42.0.2.EL-0.2-1.src.rpm

rpmbuild --rebuild --target i686 
kernel-module-xfs-2.6.9-42.0.2.EL-0.2-1.src.rpm

will build against the currently running kernel, or

rpmbuild --rebuild --target i686 --define "kernel_topdir 
/lib/modules/2.6.9-42.0.2.EL/build" 
kernel-module-xfs-2.6.9-42.0.2.EL-0.2-1.src.rpm

will build against what is defined in kernel_topdir

you need matching kernel & kernel-devel rpms installed to build.

Changelog: mostly pulling in fixes sgi sent for sles9, plus specfile 
cleanups.

[root@sandeen rhel4_xfs]# rpm -qp --changelog 
kernel-module-xfs-2.6.9-42.0.2.EL-0.2-1.src.rpm
* Mon Nov 13 2006 - sandeen-centos@sandeen.net

- removed xfs_direct_io_locking.patch, RHEL4U4 has the fix now.
- Update to xfs codebase from SLES9_SP3_BRANCH_20061107171129
- xfs-kern-26347a-fix-race-on-link: fix race on link
   (191713, SGI:PV953287).
- xfs-kern-26040a-do-not-dirty-inode-being-freed:
   Don't dirty the inode if it being freed in xfs_iunpin (179117,
   SGI:PV952967).
- xfs-kern-25687a-sles9sp3-iunpin-reclaim-fix: Fix
   an inode use-after-free during an unpin (SGI:PV946321, 142533).
- xfs-kern-930841-default_acl_enospc_fix:
   Default acl ENOSPC fix (133990, SGI:PV930841).
- xfs-kern-25238a-quota-trans-diag: quota trans diag
   (131262, SGI:PV931456).
- xfs-ftruncate-stale-data: XFS ftruncate() bug
   could expose stale data (151055).
- xfs-log-diag: log_runout_diagnostics (131262,
   SGI:PV947110).
- xfs-kern-202363a-fix-xfs_finish_reclaim_all-umount-deadlock:
   fix xfs_finish_reclaim_all umount deadlock (132358,
   SGI:PV943821).
- clean up specfile:
   default to building against running kernel
   try to match fedora conventions slightly better
   re-enable debuginfo pkg building, module stripping
   fix recognition of root on xfs, (grep -i XFS)
   remove unused -source subpackage

-Eric

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2007-08-08 16:22 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-08 16:04 New CentOS4/RHEL4-compatible xfs module rpms James Pearson
2007-08-08 16:09 ` Eric Sandeen
  -- 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox