[OpenAFS-devel] OpenAFS-1.3.76 on Solaris 10/x86

Alf Wachsmann alfw@slac.stanford.edu
Thu, 16 Dec 2004 14:21:37 -0800 (PST)


I am trying to get OpenAFS-1.3.76 working on Solaris 10/x86 (build 72).

I have a uni-processor i686 PC running the 32-bit version and a Sun V20z
dual-Opteron machine running the 64-bit version of this Solaris 10
version.

The 32-bit OpenAFS version sort of works on the 32-bit OS but I am
unable to even load the 64-bit kernel module into the 64-bit OS.

I am using the Sun Studio 10 (build 21) compiler with the -xarch=amd64
option and some manual convincing of the configure/compile process.

The error messages I get when loading the module are tons like these:
	[ID 387338 kern.notice]  symbol afs_global_lock:
	[ID 780736 kern.notice]  value 0xffffffffc00a90f0 does not fit
	[ID 754994 kern.notice] relocation error: 10:
	[ID 397992 kern.notice]  file /kernel/fs/amd64/afs

On Linux, messages like these indicate that the kernel headers don't
match the running kernel but I have never seen this on Solaris before.

Could someone please indicate where this problem might be caused:
in the OpenAFS source code, the Solaris kernel headers, Solaris, the
compiler?

Many thanks,
                   Alf.

-----------------------------------------------------------------------
  Alf Wachsmann                       | e-mail: alfw@slac.stanford.edu
  SLAC Computing Service              | Phone:  +1-650-926-4802
  2575 Sand Hill Road, M/S 97         | FAX:    +1-650-926-3329
  Menlo Park, CA 94025, USA           | Office: Bldg. 50/323
-----------------------------------------------------------------------
                http://www.slac.stanford.edu/~alfw (PGP)
-----------------------------------------------------------------------