Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 19:26:44 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Jim Rees <rees@umich.edu>, openafs-devel@openafs.org, freebsd-fs@freebsd.org
Subject:   Re: [OpenAFS-devel] OpenAFS for FreeBSD 5.2 patch
Message-ID:  <p060204efbc74091052f0@[128.113.24.47]>
In-Reply-To: <20040309220623.853182095F@citi.umich.edu>
References:  <20040309220623.853182095F@citi.umich.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
At 5:06 PM -0500 3/9/04, Jim Rees wrote:
>Here is a patch to OpenAFS that makes the FreeBSD 5.2 client work.
>It also breaks the 4.x client.  I will commit this to OpenAFS if I
>can get it to work on 4.x.
>
>Garrett Wollman did all the work, I just cleaned it up a bit and
>fixed it so it would still build (but not necessarily run) on
>OpenBSD and 4.x.
>
>http://www.citi.umich.edu/u/rees/fbsd.diff

I downloaded the latest snapshot of the openafs repository,
applied this patch, and:

export MAKE=/usr/local/bin/gmake
/configure --with-afs-sysname=i386_fbsd_50 --enable-transarc-paths
gmake
gmake install

I then added a few config files in /usr/vice/etc that I'm used
to seeing from installations on other platforms.  Is there an
/etc/rc-type file for what is supposed to happen next?

I copied /usr/vice/etc/libafs.ko to /boot/kernel, and typed:

kldload libafs.ko
/usr/local/sbin/afsd -stat 1200 -dcache 800 -daemons 3 -volumes 70

and the system panic'ed on me right after the AFS cache scan:

Versionstring: FreeBSD 5.2-CURRENT #0: Sun Mar  7 00:53:31 EST 2004
   root@santropez.netel.rpi.edu:/usr/obj/usr/src/sys/Dual-Athlon2k
Panicstring: mtx_lock() of spin mutex (null) @ /usr/src/sys/kern/vfs_subr.c:19

This is on a dual-CPU system.  Might there be problems with that,
or did I just screw up the AFS startup?

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p060204efbc74091052f0>