[OpenAFS-devel] OpenAFS and OpenSolaris

Klas Heggemann klas@nada.kth.se
Thu, 11 Jun 2009 15:32:43 +0200


Jeffrey Altman skrev:
> 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.
>   
Ok. Tnx.

I tried adding some printfs in this code, but that gave me no output
(when looking in messages-file.)

Is there anyone working with Solaris kernel that would like to take a look?


/Klas