12 jun 2009 kl. 16.52 skrev Klas Heggemann:


12 jun 2009 kl. 15.55 skrev Jeffrey Altman:

Klas Heggemann wrote:

Thanks. (One of these days I'm gonna start learning/using dtrace ....).

As Jeffry Altman wrote, its the code in rx/SOLARIS/rx_knet.c that is
interessting.
dtrace show that the solookup routine fails, which is confirmed if I add
extra
printf in the code. Seems like this route has changed and one need to
find out
how to adapt the code to these changes.

solookup() on which name is failing?


It's failing because the routine has changed

It 's now
        int solookup(int , int , int, struct sockparams **);

And socreate has changed to
struct sonode *socreate(struct sockparams *, int, int, int, int, int *);

which means that the rx_knet.c has to adapt to this.

/Klas


I managed to get a working afs-module by changing the decalations of these routines and the parameters given, so that it matches the new way fo doing it.

Code is #ifdefed, but right now I don't know what to use for test.
And i guess it really should be dynamic, so that the same module
could work on both earlier solaris builds and newer. I guess the sockparams
will get into some version of standard Solaris at some point.


/Klas

_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to