openvz and openafs [message #2961] |
Wed, 03 May 2006 19:37 |
liamr
Messages: 10 Registered: April 2006
|
Junior Member |
|
|
Has anyone gotten openafs built on a machine using the openvz 2.6.8 patched kernel? We need openafs for our hosting environment, but can't get it to build on the patched kernel. Seems to work w/ the normal unpatched 2.6.8 kernel sources.
thx
Liam
|
|
|
|
|
Re: openvz and openafs [message #2987 is a reply to message #2979] |
Fri, 05 May 2006 05:42 |
Vasily Tarasov
Messages: 1345 Registered: January 2006
|
Senior Member |
|
|
> I'm not sure what you mean when you ask if we use it from mainstream.. we're trying to build 1.4.x from source downloaded from www.openafs.org.
There is some implementation of AFS in mainstream (vanilla) kernel 2.6.8 and consequently in openVZ kernel. May be it pass your needs?
You can download openVZ sources and .config file, add
CONFIG_AFS_FS=m
string to .config file and compile kernel.
> We generated a local patch that seemed to let openafs build, and afs is working on the host machine, but not in any of the VPSes.
So, you were able to mount AFS on host machine? And you also were
able to work with files on mounted AFS on host machine?
> Mounting /afs in the vps using...
> # mount --bind /afs /vz/root/777/afs
>doesn't result in a useable afs instance, probably because the kernel module isn't loaded in the vps, which I'm not sure I can even do:
> May 4 10:16:24 vps1 kernel: No module symbols loaded - kernel modules not enabled.
It's impossible and must not be necessary to load modules inside VPS...
So, please, investigate, what about mainstream AFS?
I will try to set up AFS on my node, asap.
Thanks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: openvz and openafs [message #32092 is a reply to message #2961] |
Sun, 20 July 2008 20:43 |
|
I have another problem with openafs-1.4.7 kernel module.
Firstly - it just not compiles in one place (even with 2.6.26 patch), because of 'for_each_process' in afs_osi.c. As your wiki says, I tried to change it to for_each_process_all (or _ve - results was the same).
But the worst problem is that module just not responding. It even not prints any dmesg output (normally, kernel argues on module license (tried on other machine)).
I tried to upgrade attached patch, but it not help. I'm using 2.6.26 kernel from git master branch.
This is error (maybe solution must be more complex, then simply add _all/_ve?):
src/libafs/MODLOAD-2.6.26-SP/afs_osi.c: In function `afs_osi_TraverseProcTable':
src/libafs/MODLOAD-2.6.26-SP/afs_osi.c:852: error: implicit declaration of function `for_each_task'
src/libafs/MODLOAD-2.6.26-SP/afs_osi.c:852: error: syntax error before "if"
src/libafs/MODLOAD-2.6.26-SP/afs_osi.c: At top level:
src/libafs/MODLOAD-2.6.26-SP/afs_osi.c:864: error: syntax error before "if"
I can't understand anything, why it could be, may be anyone have ideas?
[Updated on: Sun, 20 July 2008 21:13] Report message to a moderator
|
|
|