[OpenAFS] Install OpenAFS on ppc64?

Ting-jen Yen yentj@infowrap.com.tw
Tue, 23 Aug 2011 08:56:11 +0800


Hello,

  I know that judging from those error code -1 of the debug output,
it looks like the problem is about module.  However, I can see
openafs module from lsmod even after the failure.  'dmesg' also shows:

Cache bypass pathed libafs module init.

 Moreover, as I mentioned, I compiled those RPMs from the SRPM, and
all of those RPMs are ppc64 arch.
(Though I did notice when I used 'file' to check those binary files,
more of them are reported as 32-bit.  The module itself is 64-bit.)

Regards,
Ting-jen


=A9=F3 =A4@=A1A2011-08-22 =A9=F3 13:08 -0400=A1Achas williams - CONTRACTO=
R =B4=A3=A8=EC=A1G
> i believe we have one ppc64 machine running openafs.  the biggest deal
> was to make sure that the binaries were built 64-bit.  the 32-bit
> versions of the ucontext syscalls are broken/incomplete.
>=20
> just based on your errors though it looks like the afs module isnt
> loaded?
>=20
> On Mon, 22 Aug 2011 12:49:51 +0800
> Ting-jen Yen <yentj@infowrap.com.tw> wrote:
>=20
> > Hello,
> >=20
> >   Has anyone successfully installed OpenAFS on RHEL5 machines with
> > ppc64 arch? (Power6 CPU, virtualized by PowerVM).
> >   I was using SRPMs from the OpenAFS site.  Rpmbuild showed some
> > errors, and I have to specify to build userspace, modules, and
> > authlibs packages, then modify the source, 'flock64' to 'flock' in
> > src/afs/afs.h.  This way, I could build the RPMs, and install
> > them.  However, even though the installation succeeded, I cannot star=
t
> > the client service.
> >=20
> >   If I added options '-debug' and '-verbose' to afsd, it will show
> >=20
> >=20
> > afsd: enabling dynamically allocated vcaches
> > afsd: My home cell is 'mycell'
> > ParseCacheInfoFile: Opening cache info file '/usr/vice/etc/cacheinfo'=
...
> > ParseCacheInfoFile: Cache info file successfully parsed:
> >         cacheMountDir: '/afs'
> >         cacheBaseDir: '/usr/vice/cache'=20
> >         cacheBlocks: 100000
> > afsd: cacheFiles autotuned to 3125=20
> > afsd: dCacheSize autotuned to 2000
> > afsd: cacheStatEntries autotuned to 3000
> > SScall(137, 28, 35)=3D-1 SScall(137, 28, 17)=3D-1 afsd: Forking rx li=
stener
> > daemon.
> > SScall(137, 28, 48)=3D-1 afsd: Forking rx callback listener.
> > SScall(137, 28, 0)=3D-1 afsd: Forking rxevent daemon.
> > SScall(137, 28, 19)=3D-1 SScall(137, 28, 36)=3D-1 afsd: Error -1 in b=
asic
> > initialization.
> >=20
> >   Anybody could help me with this?  I tried 1.4.7, 1.4.14, 1.5.78, an=
d
> > 1.6.0-pre1, and all with the same result.  Other machines with x86_64
> > work fine.
> >=20
>=20