[OpenAFS-devel] OpenAFS and OpenSolaris
Jeffrey Altman
jaltman@secure-endpoints.com
Thu, 11 Jun 2009 08:10:38 -0400
Klas Heggemann wrote:
> Dale Ghent skrev:
>>
>> Try trussing it to see what errno bind() is failing with. That error
>> would be a start in figuring out what's wrong.
>
> Unfortunatly truss does not show what happens in kernel space, and this
> code seems to be
> in the kernel module. Truss just shows the afs-syscall and the return.
>
>
> afsd calls rx_InitHost whic calls rxi_getHostUDPPort which I think calls
> rxk_NewSocket, if I figured this right. Why this fails I have not
> figured out.
>
> Is there no one running afs on later versions of opensolaris?
>
> /Klas
The code you are interested in is src/rx/SOLARIS/rx_knet.c and
rxk_NewSocketHost() which uses modlookup() to load function pointers
for a number of functions. If the function names changed or are
no longer present, then rxk_NewSocketHost() will fail immediately.