[OpenAFS] modload failing, Sol10 SPARC, 1.4.14

Jeff Blaine jblaine@kickflop.net
Fri, 27 May 2011 14:27:03 -0400


I'm stumped.

bash-3.00# uname -a
SunOS rcf-afs-test.our.org 5.10 Generic_144488-12 sun4u sparc 
SUNW,Sun-Fire-280R
bash-3.00# export 
PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sfw/bin:/usr/bin:/bin
bash-3.00# /opt/SUNWspro/bin/cc -V
cc: Sun C 5.11 SunOS_sparc 2010/08/13
usage: cc [ options ] files.  Use 'cc -flags' for details
bash-3.00#
bash-3.00# cd /var/tmp/openafs-1.4.14-src
bash-3.00# ./configure --enable-transarc-paths --enable-namei-fileserver 
--disable-afsdb --with-krb5-conf=/usr/rcf-krb5/bin/krb5-config
...
bash-3.00# make dest 2>&1 | tee makedest.log
...
bash-3.00# ls -l sun4x_510/dest/root.client/usr/vice/etc/modload/
total 7626
-rw-r--r--   1 root     root        4618 Dec 17 10:58 afs.rc
-rw-r--r--   1 root     root     1907992 May 27 13:34 libafs64.nonfs.o
-rw-r--r--   1 root     root     1970568 May 27 13:34 libafs64.o
bash-3.00# cp sun4x_510/dest/root.client/usr/vice/etc/modload/libafs64.o 
/kernel/fs/sparcv9/afs
bash-3.00# chmod 755 /kernel/fs/sparcv9/afs

bash-3.00# /usr/sbin/modload /kernel/misc/sparcv9/nfssrv
bash-3.00# /usr/sbin/modload /kernel/fs/sparcv9/afs
can't load module: Invalid argument
bash-3.00# file /kernel/fs/sparcv9/afs
/kernel/fs/sparcv9/afs: ELF 64-bit MSB relocatable SPARCV9 Version 1
bash-3.00# ls -ld /kernel/fs/sparcv9/afs
-rwxr-xr-x   1 root     root     1970568 May 27 14:02 /kernel/fs/sparcv9/afs
bash-3.00#

-- 
Jeff Blaine  |  G06A/ATCC/RCF