Re: [OpenAFS] Need help with translator

2010-12-03 Thread Karen Eldredge
I don't think the translator code gets built by default, and your
error suggests it's not compiled in.  Try removing or commenting out
the line that defines AFS_NONFSTRANS in src/config/param.linux26.h and
rebuilding.

Thanks Marc that did the trick.  Now to make sure it works like our production
translator.  Thanks again for your help.


_
This message and any attachments are solely for the intended recipient and may 
contain confidential or privileged information. If you are not the intended 
recipient, any disclosure, copying, use, or distribution of the information 
included in this message and any attachments is prohibited. If you have 
received this communication in error, please notify us by reply e-mail and 
immediately and permanently delete this message and any attachments. Thank 
you. 
_
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Need help with translator

2010-12-03 Thread Simon Wilkinson


On 3 Dec 2010, at 18:36, Karen Eldredge karen.eldre...@infoprint.com wrote:

 I don't think the translator code gets built by default, and your
 error suggests it's not compiled in.  Try removing or commenting out
 the line that defines AFS_NONFSTRANS in src/config/param.linux26.h and
 rebuilding.
 
 Thanks Marc that did the trick.  Now to make sure it works like our production
 translator.  Thanks again for your help.

At this point, it's only fair to point out that the problems with building the 
Linux NFS translator on recent kernels means that it gets very little love, or 
testing. It also seems very unlikely that the Linux kernel community will 
provide the interfaces that we require in the future. So, the translator in 
it's current form is a bit of a dead end. Please consider this before you 
deploy it in a production environment!

There have been proposals made for implementing a user-space translator, which 
would free us from kernel politics. At present, I'm not aware of anyone with 
the right combination of time, money and interest to take this work forwards.

Simon.

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Need help with translator

2010-12-02 Thread Karen Eldredge
The changes in the kernel that makes us unable to build the NFS
translator appeared in 2.6.29.  So I would guess that SLES 11 (no SP)
would work (2.6.27), but that SLES 11 SP1 (2.6.32), OpenSUSE 11.3
(2.6.34) or anything newer would not.

Marc

I tried with SLES 11 (no SP) and still get the same error.  Is there anything
else I can try to get this to work?  Any help is appreciated.  Thanks for your
time.



_
This message and any attachments are solely for the intended recipient and may 
contain confidential or privileged information. If you are not the intended 
recipient, any disclosure, copying, use, or distribution of the information 
included in this message and any attachments is prohibited. If you have 
received this communication in error, please notify us by reply e-mail and 
immediately and permanently delete this message and any attachments. Thank 
you. 
_
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Need help with translator

2010-12-02 Thread Marc Dionne
On Thu, Dec 2, 2010 at 6:15 PM, Karen Eldredge
karen.eldre...@infoprint.com wrote:
The changes in the kernel that makes us unable to build the NFS
translator appeared in 2.6.29.  So I would guess that SLES 11 (no SP)
would work (2.6.27), but that SLES 11 SP1 (2.6.32), OpenSUSE 11.3
(2.6.34) or anything newer would not.

Marc

 I tried with SLES 11 (no SP) and still get the same error.  Is there anything
 else I can try to get this to work?  Any help is appreciated.  Thanks for your
 time.

I don't think the translator code gets built by default, and your
error suggests it's not compiled in.  Try removing or commenting out
the line that defines AFS_NONFSTRANS in src/config/param.linux26.h and
rebuilding.

Marc
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Need help with translator

2010-11-24 Thread Karen Eldredge
Do you think if I use SLES 11 SP1 it will work?  What version do you suggest
using?

Thanks,
Karen



   
 Derrick Brashear  
 sha...@gmail.com
To 
 11/23/2010 04:51 PM Karen Eldredge
 karen.eldre...@infoprint.com
cc 
 openafs-info@openafs.org  
   Subject 
 Re: [OpenAFS] Need help with  
 translator
   
   
   
   
   
   




On Tue, Nov 23, 2010 at 6:14 PM, Karen Eldredge
karen.eldre...@infoprint.com wrote:


 I've compiled OpenAFS 1.5.77 on OpenSuSE 11.3 and added the these lines in
 afs.rc:

 /sbin/modprobe sunrpc  $MODLOADDIR/libafs.map 21
 authtab=`awk '/[ \t]authtab[ \t]/ {print $1}'  /proc/kallsyms`
 /sbin/insmod $MODLOADDIR/$LIBAFS ${authtab:+authtab_addr=0x$authtab}  
 $MODLOADDIR/libafs.map

 I added set -x to afs.rc and echo authtab, MODLOADDIR  LIBAFS and it looks
 like they are getting set.  I get the error libafs: Unknown parameter
 'authtab_addr' in /var/log/messages.   Is there something else I need to do
to
 get this to work?  Any help is greatly appreciated.

the interesting question is going to be what kernel version OpenSuSE
11.3 is; i suspect it's one new enough that the
structures and functions needed to support the NFS translator are no
longer exported.

--
Derrick



_
This message and any attachments are solely for the intended recipient and may 
contain confidential or privileged information. If you are not the intended 
recipient, any disclosure, copying, use, or distribution of the information 
included in this message and any attachments is prohibited. If you have 
received this communication in error, please notify us by reply e-mail and 
immediately and permanently delete this message and any attachments. Thank 
you. 
_
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Need help with translator

2010-11-24 Thread Marc Dionne
On Wed, Nov 24, 2010 at 7:53 AM, Karen Eldredge
karen.eldre...@infoprint.com wrote:
 Do you think if I use SLES 11 SP1 it will work?  What version do you suggest
 using?

 Thanks,
 Karen

The changes in the kernel that makes us unable to build the NFS
translator appeared in 2.6.29.  So I would guess that SLES 11 (no SP)
would work (2.6.27), but that SLES 11 SP1 (2.6.32), OpenSUSE 11.3
(2.6.34) or anything newer would not.

Marc
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Need help with translator

2010-11-24 Thread Karen Eldredge
Thank you so much.  I will give it a try with the kernel level you suggested.



_
This message and any attachments are solely for the intended recipient and may 
contain confidential or privileged information. If you are not the intended 
recipient, any disclosure, copying, use, or distribution of the information 
included in this message and any attachments is prohibited. If you have 
received this communication in error, please notify us by reply e-mail and 
immediately and permanently delete this message and any attachments. Thank 
you. 
_
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] Need help with translator

2010-11-23 Thread Karen Eldredge


I've compiled OpenAFS 1.5.77 on OpenSuSE 11.3 and added the these lines in
afs.rc:

/sbin/modprobe sunrpc  $MODLOADDIR/libafs.map 21
authtab=`awk '/[ \t]authtab[ \t]/ {print $1}'  /proc/kallsyms`
/sbin/insmod $MODLOADDIR/$LIBAFS ${authtab:+authtab_addr=0x$authtab}  
$MODLOADDIR/libafs.map

I added set -x to afs.rc and echo authtab, MODLOADDIR  LIBAFS and it looks
like they are getting set.  I get the error libafs: Unknown parameter
'authtab_addr' in /var/log/messages.   Is there something else I need to do to
get this to work?  Any help is greatly appreciated.


_
This message and any attachments are solely for the intended recipient and may 
contain confidential or privileged information. If you are not the intended 
recipient, any disclosure, copying, use, or distribution of the information 
included in this message and any attachments is prohibited. If you have 
received this communication in error, please notify us by reply e-mail and 
immediately and permanently delete this message and any attachments. Thank 
you. 
_
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Need help with translator

2010-11-23 Thread Derrick Brashear
On Tue, Nov 23, 2010 at 6:14 PM, Karen Eldredge
karen.eldre...@infoprint.com wrote:


 I've compiled OpenAFS 1.5.77 on OpenSuSE 11.3 and added the these lines in
 afs.rc:

 /sbin/modprobe sunrpc  $MODLOADDIR/libafs.map 21
 authtab=`awk '/[ \t]authtab[ \t]/ {print $1}'  /proc/kallsyms`
 /sbin/insmod $MODLOADDIR/$LIBAFS ${authtab:+authtab_addr=0x$authtab}  
 $MODLOADDIR/libafs.map

 I added set -x to afs.rc and echo authtab, MODLOADDIR  LIBAFS and it looks
 like they are getting set.  I get the error libafs: Unknown parameter
 'authtab_addr' in /var/log/messages.   Is there something else I need to do 
 to
 get this to work?  Any help is greatly appreciated.

the interesting question is going to be what kernel version OpenSuSE
11.3 is; i suspect it's one new enough that the
structures and functions needed to support the NFS translator are no
longer exported.

-- 
Derrick
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info