[OpenAFS] open AFS on Solaris 8 on x86

John Tang Boyland boyland@solomons.cs.uwm.edu
Tue, 11 Sep 2001 13:46:44 -0500


Thanks for the patches. I'm working through them.
Some, however, do not seem to be appropriate,
For example, consider the following changes:

--- /openafs-1.0.4a/src/venus/Makefile  Wed Jul 11 10:36:50 2001
+++ /openafs-1.0.4a/src/venus/Makefile.orig     Mon Apr 23 09:53:14 2001
@@ -84,7 +84,7 @@
                for f in kdump.IP??; \
                do ${INSTALL} -s $$f ${DESTDIR}etc/$$f || exit $$? ; \
                done ;; \
-       sun4x_57|sunx86_57 ) \
+       sun4x_57 ) \
                ${INSTALLex} -f kdump.sh.solaris7 $@; \
                ${INSTALL} -s -f $? ${DESTDIR}etc/kdump32;; \
        *linux* ) \
@@ -101,7 +101,7 @@
 ${DESTDIR}etc/kdump64: kdump64
        -set -x; \
        case ${SYS_NAME} in \
-       sun4x_57 | sunx86_57|hp_ux11* ) \
+       sun4x_57 | hp_ux11* ) \
                ${INSTALL} -s $? $@ ;;\
        * ) \
                echo skipping kdump64 for ${SYS_NAME} ;; \

(More changes to this file omitted)

I don't believe that sunx86_57 or sunx86_58 have 64 bit versions
(but I may be mistaken).  Also the kdump.sh.solaris7 seems
to be a sparcv9 hack (and should apply to sun4x_57+sun4x_58
and not to sunx86_57 or sunx86_58.)

Finally the param.sunx86_57_usr.h
file seems strange to me:

---------------------
[...]
#ifndef _PARAM_SUN4C_51_H_
#define _PARAM_SUN4C_51_H_

[...]
#define AFS_USR_SUN6_ENV        1
[...]
---------------------

Why the strange ifdef ?
Why not SUN7 too ?

John