2004年1月17日(土)

OpenAFS

気が着くと OpenAFS の 1.2.11 と 1.3.52 が release されていた。
とりあえず FreeBSD 5.2R, 4-stable, MacOSX 10.2.8 で build。

contributor のリストに Apple が載っていたり 1.2.11 のバイナリに MacOSX 10.3 用のがあったりするが、儂の環境は 10.2.8 のままだったり。

openafs 1.2.11 & macosx, freebsd 4-stable の組み合わせでは kldload, kextload に成功するところまで行ったんだが、 openafs 1.3.52 & FreeBSD 5.2R では kldload: can't load libafs.ko: No such file or directory だったり。

存在しない関数を叩いている箇所を発見。 config ファイルが古いんだな。

--- src/config/param.i386_fbsd_52.h.orig        Wed Oct  1 23:04:34 2003
+++ src/config/param.i386_fbsd_52.h     Sun Jan 18 03:42:11 2004
@@ -90,10 +90,14 @@
 #define        AFS_UIOUSER     UIO_USERSPACE
 #define        AFS_CLBYTES     CLBYTES
 #define        osi_GetTime(x)  microtime(x)
+#define AFS_KALLOC(x)   malloc(x, M_AFS, M_WAITOK)
+#define AFS_KFREE(x,y)  free(x,M_AFS)
+/*
 #define AFS_KALLOC(x)   osi_fbsd_alloc((x), 1)
 #undef AFS_KALLOC_NOSLEEP
 #define        AFS_KALLOC_NOSLEEP(x) osi_fbsd_alloc((x), 0)
 #define AFS_KFREE(x,y)  osi_fbsd_free((x))
+*/
 #define        v_count         v_usecount
 #define v_vfsp         v_mount
 #define vfs_bsize      mnt_stat.f_bsize

[referer:

Script Error

The script did not produce proper HTTP headers. Please see the error log to see the detail of the errors. Depending on the server configuration, you can also run thisscript under CGIWrap debugging. Usually, either rename or linkthe script temporarily to a file which ends with .cgidextension, or add a AddHandler cgi-script-debug .cgiline to your .htaccess file.

]

あわせて読みたい