Here is a patch to apply dirrectly to the openmosix-sources 2.4.22 for XFS filesystem capabilities. Patch was made with the help of cat_sgi (on #XFS, freenodes.net) from SGI.
Added link to the patch (see URL).
I'd suggest using the XFS USE-var. If set apply the patch, if not leave it out.
ERRRRMMM: Forbidden You don't have permission to access /~kyron/gentoo/openmosix-xfs-2.4.22-patch.tbz2 on this server. I can browse into .../gentoo but can't download the patch. Please correct that!
hrm...sorry about that, link is now accessible. The XFS USE variable has proven to be useless up to date on my system for any kernels I have tried (unfortunately), the option still didn't appear in the config menus and xfs was plainly not present.
The next patch would delete the file include/linux/version.h, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored It does not apply against vanilla, nor an openmosix-2.4.22-1 patched vanilla. Can you correct this?
Created attachment 19449 [details] openmosix-sources-2.4.22-r1.ebuild Here's the ebuild i wrote. I assume your patch is against an vanilla kernel already patched with the openmosix-patch.
1- my oops, the patch was tarred, I put another one on my site but only bzipped this time (URL changed to reflect this) 2- I am abl to apply the patch dirrectly to the openmosix-sources (2.4.22) with the following sequence: emerge openmosix-sources cd /usr/src wget http://www.jrtad.com/~kyron/gentoo/openmosix-xfs-2.4.22-patch.bz2 cd linux-2.4.22-openmosix bzcat2 ../openmosix-xfs-2.4.22-patch.bz2| patch -p1 -E And voil
1- my oops, the patch was tarred, I put another one on my site but only bzipped this time (URL changed to reflect this) 2- I am abl to apply the patch dirrectly to the openmosix-sources (2.4.22) with the following sequence: emerge openmosix-sources cd /usr/src wget http://www.jrtad.com/~kyron/gentoo/openmosix-xfs-2.4.22-patch.bz2 cd linux-2.4.22-openmosix bzcat2 ../openmosix-xfs-2.4.22-patch.bz2| patch -p1 -E And voilà! Don't hesitate to contact me if you still have issues with the patch.
Okay, we had a mid-air collision on that one. You will want to change the ebuild to use the bzipped file and not the tbz2 file...patching will most probably fail otherwise.
Sorry again, but i can't download the corrected version... Not Found The requested URL /~kyron/gentoo/openmosix-xfs-2.4.22-patch.bz2 was not found on this server.
Sorry about that, forgot to grant the correct permissions again. The link should now be accessible.
patching file include/linux/sysctl.h The next patch would delete the file include/linux/version.h, which does not exist! Assuming -R. Sorry, but i'm still getting that error...
Created attachment 19542 [details] The ebuild i'm currently using. It looks like i'm getting the error described above every time i try... Sounds very unlikely you don't get it. Please try to use this ebuild for your testing. Or tell me how the sources you are patching differ from the ones emerged by openmosix-sources-2.4.22.ebuild
please use a clean kernel source when creating patches, because the kernel_universal_unpack funktion changes some files during installation after patches have been applied (which is why your patch is failing ...) so either disable kernel_universal_unpack in the ebuild for development purposes or use a clean source base (grabbing the vanilla sources and applying the necessary patches) and please use "diff -Naur" when creating the final patch
Garh! Had i known I wouldn't have gone throught the trouble of creating the patch to lay over the openmosix patched kernel. If vanilla patches are all that are required, they can very simply be acquired from: ftp://xfs.org/mirror/SGI/patches/2.4.22 The recommended patches to get XFS functionnality are: xfs-2.4.22-split-kernel.bz2 xfs-2.4.22-split-only.bz2 If any of this isn't clear, don't hesitate to say so! XFS homepage (as a ref) http://oss.sgi.com/projects/xfs/index.html
If it would be that easy to patch vanilla with openmosix and xfs we would already have an ebuild. The problem is the following: unpack vanilla to a directory apply the openmosix patch apply the xfs-patches as they are not applied against plain vanilla some hunks from the xfs patches will fail (the files modieifed by the openmosix patch) all you have to do is the following: go through each of the failed hunks, look into the xfs patch and into the file that would be modified by the hunk. correct the xfs patch until no hunks will fail. once this is done make sure that openmosix and xfs in that patched kernel work as expected. therfore you have to copy the patched kernel into a new location and configure/compile it. once the functionality is verfied do an diff -Naur between vanilla patched with openmosix and the (not configured) kernel patched with openmosix and xfs. this will result in an xfs patch that can be applied to an kernel already patched with openmosix. I hope this clarifies the situation a bit.
Closing as i got no response.