[OpenAFS-devel] Mac OS X 10.7 Lion: Omitting -dynroot breaks Finder

Derrick Brashear shadow@gmail.com
Mon, 25 Jul 2011 22:59:27 -0400


I can reproduce it. Sadly, the vfs (and for that matter the vnode, tho
that doesn't matter for the volume case) getattrlist routines we
provide are not what's producing this error. When I reproduce it, we
have returned nothing but success for any getattrlist call.

I can tell you nothing beyond that, at this point.

On Mon, Jul 25, 2011 at 4:05 AM, Marcus Crestani
<crestani@informatik.uni-tuebingen.de> wrote:
> [Resend from an address on the list and with an smaller attachment.]
>
> When I remove the `-dynroot' flag from afsd's command line flags with
> OpenAFS-1.6.0pre7 on Mac OS X 10.7 Lion, e.g.:
>
> OPTIONS=3D"-chunksize 18 -afsdb -stat 5000 -dcache 800 -daemons 8 -volume=
s 70 -fakestat-all"
>
> the Finder does not show the AFS folder's name in / nor any content of
> any AFS volume (see the attached screenshot). =A0Console shows the
> following error messages when starting afsd:
>
> 7/23/11 9:43:34.000 AM kernel: org.openafs.filesystems.afs kext
> loaded; 228 pages at 0xffffff7f819fb000 (load tag 120).
> 7/23/11 9:43:35.000 AM kernel: Starting AFS cache scan...found 0 non-empt=
y cache files (0%).
> 7/23/11 9:43:36.245 AM mds: CarbonCore: getattrlist(/afs, ATTR_VOL_CAPABI=
LITIES, ...) failed (-1) with errno 22
> 7/23/11 9:43:36.248 AM Finder: CarbonCore: getattrlist(/afs, ATTR_VOL_CAP=
ABILITIES, ...) failed (-1) with errno 22
> 7/23/11 9:43:36.248 AM Finder: CarbonCore: getattrlist(/afs, ATTR_VOL_CAP=
ABILITIES, ...) failed (-1) with errno 22
> 7/23/11 9:43:36.248 AM Finder: CarbonCore: getattrlist(/afs, ATTR_VOL_CAP=
ABILITIES, ...) failed (-1) with errno 22
>
> Using `ls' on AFS volume in the Terminal works as expected, though.
>
> Doing a `afs.rc stop' blocks forever on "Unmounting /afs".
>
> Does anybody know what could cause this problem and how to fix it?
>
> Please let me know if you need more information, I am happy to help
> debugging the problem.
>
> --
> Marcus
>
>



--=20
Derrick