Tomas Olsson | 7 Nov 10:06 2005
Picon
Picon

Re: nnpfs_lock on FreeBSD 5.4 with Arla-0.40

Marcus Crestani <crestani <at> informatik.uni-tuebingen.de> writes:
> MC> load: 0.43   cmd: xemacs 983 [nnpfs_lock] 1.88u 0.15s 2% 16320k
> MC>
>
It seems that freebsd isn't happy with how we do VOP_PUTPAGES, and so it
tries again, and again. While holding the vnode lock.

It's a great reproducer. Thanks for reminding me now that I got a fsbd box
to play with... I'll see what I can do.

/t

Tomas Olsson | 7 Nov 17:21 2005
Picon
Picon

Re: nnpfs_lock on FreeBSD 5.4 with Arla-0.40

Tomas Olsson <tol <at> stacken.kth.se> writes:
> It seems that freebsd isn't happy with how we do VOP_PUTPAGES, and so it
> tries again, and again. While holding the vnode lock.
> 
Ok, running current arla it now seems to work. 

see
  cvs rdiff -r1.147 -r1.148 arla/nnpfs/bsd/nnpfs_vnodeops-bsd.c
or
  http://cvsweb.stacken.kth.se/cvsweb.cgi/arla/nnpfs/bsd/nnpfs_vnodeops-bsd.c.diff?r1=1.147;r2=1.148

The same changes should work with 0.40, too. Let me know if you find any
problems with the patch (or otherwise).

thanks
        /t

Marcus Crestani | 8 Nov 12:18 2005
Picon

Re: nnpfs_lock on FreeBSD 5.4 with Arla-0.40

>>>>> TO == Tomas Olsson writes:
TO> Ok, running current arla it now seems to work.

Thanks for your help, Tomas.  I'll test your patch and report back, but it 
may take a few days until I get to it.
--

-- 
Marcus

Tomas Olsson | 8 Nov 16:44 2005
Picon
Picon

roken and heimdal dependencies

Hi all,
I need your feedback on a few things.

Short version:
1. Do you use arla with some kerberos implementation other than heimdal?
2. Would you be upset if arla was to depend on heimdal being installed?
3. What's your OS/version/platform?

Private replies are quite ok :)

Thanks
        /t

Long version:

Arla has always had a tight connection to heimdal, and since way back
libroken has provided necessary support to make arla portable across such a
wide range of platforms. The roken libraries are developed in heimdal, and
from time to time we have copied the latest versions to the arla tree. My
question is:

 Should we remove the libroken copy from arla, and depend explicitly on
 heimdal?

While there in theory always has been the possibility of building arla
without heimdal, we haven't tested arla with other kerberos distributions
for a long time. And either way one still needs kafs or krbafs for the
pioctl interface that is needed for 'fs' and authentication to work at all.

In other words, we are already fairly close to a dependency on heimdal.
(Continue reading)

Garrett Wollman | 8 Nov 17:29 2005
Picon
Picon

roken and heimdal dependencies

<<On 08 Nov 2005 16:44:26 +0100, Tomas Olsson <tol <at> stacken.kth.se> said:

> Short version:
> 1. Do you use arla with some kerberos implementation other than heimdal?

I wish it were possible, so that I didn't have to install static
Heimdal libraries in a non-standard $PREFIX in order to compile Arla.

> 2. Would you be upset if arla was to depend on heimdal being installed?

Already does, near as I can tell.  At least, I've never found a way to
compile against MIT Kerberos.

> 3. What's your OS/version/platform?

FreeBSD 5.4 and 6.0 on i386 and amd64.

At some point, what I'd really like to have is the Arla client and the
OpenAFS utilities on the same machine.  Right now I have to ssh to a
Lignux machine to do any sort of AFS administration, since the Arla
utilities are so incomplete.

-GAWollman

Alec Kloss | 8 Nov 18:02 2005

Re: roken and heimdal dependencies

On 2005-11-08 11:29, Garrett Wollman wrote:
> <<On 08 Nov 2005 16:44:26 +0100, Tomas Olsson <tol <at> stacken.kth.se> said:
> 
> > Short version:
> > 1. Do you use arla with some kerberos implementation other than heimdal?
> 
> I wish it were possible, so that I didn't have to install static
> Heimdal libraries in a non-standard $PREFIX in order to compile Arla.
> 
> > 2. Would you be upset if arla was to depend on heimdal being installed?
> 
> Already does, near as I can tell.  At least, I've never found a way to
> compile against MIT Kerberos.
> 
> > 3. What's your OS/version/platform?
> 
> FreeBSD 5.4 and 6.0 on i386 and amd64.
> 
> At some point, what I'd really like to have is the Arla client and the
> OpenAFS utilities on the same machine.  Right now I have to ssh to a
> Lignux machine to do any sort of AFS administration, since the Arla
> utilities are so incomplete.
> 
> -GAWollman
> 
> 

To answer the poll:  1. no, I always use Arla with heimdal.
2. no.  3. FreeBSD 5.4 on i386.  

(Continue reading)

Horst Birthelmer | 8 Nov 22:54 2005
Picon

Re: roken and heimdal dependencies

On Nov 8, 2005, at 4:44 PM, Tomas Olsson wrote:
> Hi all,
> I need your feedback on a few things.
>
> Short version:
> 1. Do you use arla with some kerberos implementation other than  
> heimdal?

No.

> 2. Would you be upset if arla was to depend on heimdal being  
> installed?

No. I already use 'em together. I wouldn't mind ;-)

> 3. What's your OS/version/platform?

FreeBSD 5.3 i386
Linux (Kernel 2.6.x) i386
MacOS Tiger (it works, thanks ...)

Horst

Michael Milligan | 9 Nov 04:29 2005

Re: roken and heimdal dependencies

Tomas Olsson wrote:
> Hi all,
> I need your feedback on a few things.
> 
> Short version:
> 1. Do you use arla with some kerberos implementation other than heimdal?

Yes.  MIT Kerberos... krb5 1.3.6.

> 2. Would you be upset if arla was to depend on heimdal being installed?

No because it already depends on heimdal libraries, so that is a loaded 
question.  ;-)

> 3. What's your OS/version/platform?

Ubuntu (Debian) Linux, 5.04 and 5.10, on i386 and amd64.

I'm tempted to switch back to the OpenAFS client.  But I like the 
architecture of the Arla client better...  keep the kernel space driver 
as simple (and non-blocking) as possible.

Regards,
Mike

--

-- 
Michael Milligan                                   -> milli <at> acmeps.com

Henry B. Hotz | 10 Nov 03:20 2005
Picon
Picon

Re: roken and heimdal dependencies

Seems to me the issue is whether Arla will require you to build/install  
a specific Kerberos 5 implementation, or will it use the one that comes  
with the OS?

Generically I would prefer that Arla be "self contained" so I don't  
need to install another package as a prerequisite.  I happen to like  
Heimdal a bit better than MIT, but not enough to bother installing  
Heimdal if MIT is already there.

Tomas Olsson wrote:
> Hi all,
> I need your feedback on a few things.
------------------------------------------------------------------------ 
----
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz <at> jpl.nasa.gov, or hbhotz <at> oxy.edu

Keith Johnston | 10 Nov 04:03 2005
Picon
Picon
Picon

arla-0.41pre for tiger

Hi
	Firstly I would like to say that I have run your packaged client  for 
a few days using a script to test it by repeatedly copying a 300MB 
directory from a local disk into afs and then deleting it, and it has 
run pretty flawlessly for the full time I have had tokens for.
	I have made the change to  /Library/Preferences/edu.mit.Kerberos Love 
mentioned to enable using the MIT Kerberos infrastructure and I can 
obtain tickets and tokens at login.
	However if I obtain  my tickets and tokens from the command line  the 
MIT Kerberos gui is reporting that the tickets are not-valid or expired 
because "before start time". If I obtain tickets and tokens using the 
MIT kerberos gui and Afslog they are seen as OK by the Kerberos  gui 
Although they seem to allow access to the places I should have access 
to all right no matter which ever way I obtain them.

Keith
                          -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Keith Johnston									xtn: 87977
Computer Support
Computer Science Department					Rm 395

	This email is brought to you by the letters OS X and the number 10,3 
and 9
                          =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Gmane