[OpenAFS] openafs problem on Solaris 8

Chas Williams chas@cmf.nrl.navy.mil
Fri, 12 Jan 2001 10:17:39 -0500

>does not work on a 32-bit environment, such as my Sparc 20 running
>32-bit version of Solaris 8.  :-(

i reboot the ultra 10 in 32-bit mode and afs again ran fine for me.
coud you try the kernel modules i am using?  you can download them from

my build tree is slightly different from openafs 1.0.1 but i shouldnt
think its all that different (i did an import/merge of the openafs 1.0.1
code so it should be fairly close)

>By the way, during compilation, I find that the 32-bit AFS kernel driver
>(libafs.nonfs.o, under root.client/usr/vice/etc/modload) is eventually
>over-written by the 64-bit AFS driver.  If you take a look at the
>resultant files, you can see that libafs.nonfs.o and libafs64.nonfs.o

i see the bug, its in MakefileProto.SOLARIS.  apply this diff:

Index: MakefileProto.SOLARIS
RCS file: /afs/cmf/project/cvsroot/openafs/src/libafs/MakefileProto.SOLARIS,v
retrieving revision
diff -u -u -r1.1.1.2 MakefileProto.SOLARIS
--- MakefileProto.SOLARIS       2001/01/04 15:58:47
+++ MakefileProto.SOLARIS       2001/01/12 15:15:08
@@ -106,7 +106,7 @@
 LIBAFS = libafs.o
 LIBAFSNONFS = libafs.nonfs.o
-<all -sun4x_57 sun4x_58>
+<all -sun4x_57 -sun4x_58>
 DEST_LIBAFS = ${DESTDIR}/root.client/usr/vice/etc/modload/${LIBAFS}
 DEST_LIBAFSNONFS = ${DESTDIR}/root.client/usr/vice/etc/modload/${LIBAFSNONFS}