[OpenAFS] Install OpenAFS on ppc64?

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Tue, 23 Aug 2011 14:50:25 -0400


do you have /proc/fs/openafs/afs_ioctl? i believe your kernel is new
enough that you shouldnt be using the traditional syscall interface.

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

> Hello,
>=20
>   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:
>=20
> Cache bypass pathed libafs module init.
>=20
>  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.)
>=20
> Regards,
> Ting-jen
>=20
>=20
> =A9=F3 =A4@=A1A2011-08-22 =A9=F3 13:08 -0400=A1Achas williams - CONTRAC=
TOR =B4=A3=A8=EC=A1G
> > i believe we have one ppc64 machine running openafs.  the biggest dea=
l
> > 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 st=
art
> > > 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/cacheinf=
o'...
> > > 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 =
listener
> > > 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=
 basic
> > > initialization.
> > >=20
> > >   Anybody could help me with this?  I tried 1.4.7, 1.4.14, 1.5.78, =
and
> > > 1.6.0-pre1, and all with the same result.  Other machines with x86_=
64
> > > work fine.
> > >=20
> >=20
>=20
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>=20