[OpenAFS] Install OpenAFS on ppc64?

Ting-jen Yen yentj@infowrap.com.tw
Wed, 24 Aug 2011 15:23:00 +0800


Hello,

   Yes, I can see the file /proc/fs/openafs/afs_ioctl.
   For some reason, the system became unstable after I browsed
this directory.  (Could be coincident.  I don't know.)

-- Ting-jen


On Wed, 23 Aug 2011 14:50:25 -0400
chas williams - CONTRACTOR wrote:
> 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,
>>
>>    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 - CONTRA=
CTOR =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.
>>>
>>> just based on your errors though it looks like the afs module isnt
>>> loaded?
>>>
>>> On Mon, 22 Aug 2011 12:49:51 +0800
>>> Ting-jen Yen<yentj@infowrap.com.tw>  wrote:
>>>
>>>> Hello,
>>>>
>>>>    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 sta=
rt
>>>> the client service.
>>>>
>>>>    If I added options '-debug' and '-verbose' to afsd, it will show
>>>>
>>>>
>>>> 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'
>>>>          cacheBlocks: 100000
>>>> afsd: cacheFiles autotuned to 3125
>>>> 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 l=
istener
>>>> 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.
>>>>
>>>>    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_6=
4
>>>> work fine.
>>>>
>>>
>>
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>
>
>