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

Alf Wachsmann alfw@slac.stanford.edu
Fri, 17 Dec 2004 09:50:08 -0800 (PST)


On Fri, 17 Dec 2004, Derrick J Brashear wrote:
> On Thu, 16 Dec 2004, Alf Wachsmann wrote:
> > I am trying to get OpenAFS-1.3.76 working on Solaris 10/x86 (build 72).
> > [...]
> > 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.
>
> not shocking, i bet the x86 version of param.h (in src/config) needs
> changes similar to those in the sparc version, to compile on 64 bit
> machines; src/libafs/MakefileProto.SOLARIS.in may also need changes, as
> may src/cf/osconf.m4

It's not that it wouldn't compile - it does.
I can't load it into the kernel.

The error messages show that the symbols from the kernel module don't
work with the 64-bit kernel. I see messages like these
	genunix: [ID 387338 kern.notice]  symbol rx_rpc_stats:
	genunix: [ID 780736 kern.notice]  value 0xffffffffc00a2378 does not fit
	genunix: [ID 754994 kern.notice] relocation error: 10:
	genunix: [ID 397992 kern.notice]  file /kernel/fs/amd64/afs
for pretty much every symbol from the AFS kernel module.

-- 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)
-----------------------------------------------------------------------