From owner-freebsd-afs@FreeBSD.ORG Mon Apr 12 10:24:33 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5483106564A for ; Mon, 12 Apr 2010 10:24:33 +0000 (UTC) (envelope-from me@janh.de) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 67A948FC1C for ; Mon, 12 Apr 2010 10:24:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id A6F419003D; Mon, 12 Apr 2010 12:04:59 +0200 (CEST) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id mJ-5a6trVgZ8; Mon, 12 Apr 2010 12:04:59 +0200 (CEST) Received: from pc861.math.uni-hamburg.de (pc861.math.uni-hamburg.de [134.100.222.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id 8DC8690056; Mon, 12 Apr 2010 12:04:59 +0200 (CEST) Message-ID: <4BC2F059.2090201@janh.de> Date: Mon, 12 Apr 2010 12:05:13 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100331 Thunderbird/3.0.4 MIME-Version: 1.0 To: fs-list freebsd References: <4BBEE3E7.8040201@janh.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: afs-list freebsd Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2010 10:24:33 -0000 > On 4/9/10, Jan Henrik Sylvester wrote: >> [Repost from freebsd-questions as I was told to ask here.] >> >> I tried to get an AFS client on my 8.0-RELEASE (or 8-STABLE) system. >> >> What is the status of AFS on FreeBSD? >> >> Neither OpenAFS nor Arla seem to be in ports. >> >> I found the freebsd-afs mailing list with many posting from 2008/Dec but >> nothing from 2009 or 2010. The port-freebsd list on openafs.org has >> nothing newer, either. >> >> http://wiki.freebsd.org/afs has instructions for Arla, but the build >> fails on 8.0-RELEASE. >> >> http://wiki.freebsd.org/afs-server seems to be even older. >> >> http://wiki.freebsd.org/AFS_using_OpenAFS_%2B_Arla gives me: "You are >> not allowed to view this page." >> >> Is there anything more current that I missed? >> >> Thanks, >> Jan Henrik On 04/09/2010 14:36, aditya sarawgi wrote: > Hi, > openafs-client is not stable on freebsd 8, or 9 but i think it is > usable on freebsd 7.X. That was my impression from the sources I found, too. Unfortunately, all my machines are running 8.0-RELEASE or 8-STABLE. I wonder what happened to the effort on freebsd-afs (Cc) that had an abrupt end at the end of 2008. Has the port been given up? Cheers, Jan Henrik From owner-freebsd-afs@FreeBSD.ORG Mon Apr 12 10:38:41 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 742F4106566B; Mon, 12 Apr 2010 10:38:41 +0000 (UTC) (envelope-from hugo@chem.leidenuniv.nl) Received: from fwncism4.wks.gorlaeus.net (fwncism4.gorlaeus.net [132.229.170.49]) by mx1.freebsd.org (Postfix) with ESMTP id 350EC8FC12; Mon, 12 Apr 2010 10:38:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by localhost.gorlaeus.net (Postfix) with ESMTP id DF67B2848F; Mon, 12 Apr 2010 12:21:04 +0200 (CEST) Received: from fwncism4.wks.gorlaeus.net ([127.0.0.1]) by localhost (fwncism4.wks.gorlaeus.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0qXuRKbSPOVk; Mon, 12 Apr 2010 12:21:01 +0200 (CEST) Received: from fwnc6122.wks.gorlaeus.net (fwnc6122.wks.gorlaeus.net [132.229.173.38]) by fwncism4.wks.gorlaeus.net (Postfix) with ESMTP id AC9A7284B6; Mon, 12 Apr 2010 12:21:01 +0200 (CEST) Message-ID: <4BC2F4D1.5050607@chem.leidenuniv.nl> Date: Mon, 12 Apr 2010 12:24:17 +0200 From: Hugo Meiland User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: Jan Henrik Sylvester References: <4BBEE3E7.8040201@janh.de> <4BC2F059.2090201@janh.de> In-Reply-To: <4BC2F059.2090201@janh.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-virus-scanned: by Gorlaeus.net Scanner Cc: fs-list freebsd , afs-list freebsd Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2010 10:38:41 -0000 >>> >>> >>> http://wiki.freebsd.org/afs has instructions for Arla, but the build >>> fails on 8.0-RELEASE. sorry, haven't been checking/updating that one..... I'll look into that as soon as I can... >>> >>> http://wiki.freebsd.org/afs-server seems to be even older. well, is about the same age ;) >>> >>> http://wiki.freebsd.org/AFS_using_OpenAFS_%2B_Arla gives me: "You are >>> not allowed to view this page." yep, haven't been able to get rid of that page, if some_one can remove that one, please do so... Hugo From owner-freebsd-afs@FreeBSD.ORG Mon Apr 12 12:56:23 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3475F106568F for ; Mon, 12 Apr 2010 12:56:23 +0000 (UTC) (envelope-from shadow@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 08B1B8FC12 for ; Mon, 12 Apr 2010 12:56:22 +0000 (UTC) Received: by pwi9 with SMTP id 9so4764447pwi.13 for ; Mon, 12 Apr 2010 05:56:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zXks8PH04BMMjXNBgrMXiB4OKhA8q7qmvoz9XFZVBgo=; b=OD5Y5Jz4XYhXUZhS7oR7iaYp8WxIjXfoiI8JkMEvHwbZVt9ubi+b+MnvTmekqIJwZZ vD/ocVsVGyds3eejXWxr1yXoOkoI2z/FJuydX70QADRJWhMSXtyom/qg2WnZAI3rmnWP 6ZADPfi1WYCEVVVe0NFK0xYUdmCPaXHxHNbc4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=GTBOVZpdOW4tG/hnq3pvnLnl35ZX4JNM9RIRoe5I+QmKT6TWatOLDGTbR+FaOJwJWC wsXhhofHNSRGKpGub3fmEAcY5h3kBuHUwZqf7kqFNU0l1x3Io8XSWJhhagGKBi3JWOWZ ZifKP2DzEbAqxGiX5IoAZMeG1HHFze3yFNtJI= MIME-Version: 1.0 Received: by 10.140.166.18 with HTTP; Mon, 12 Apr 2010 05:26:31 -0700 (PDT) In-Reply-To: <4BC2F059.2090201@janh.de> References: <4BBEE3E7.8040201@janh.de> <4BC2F059.2090201@janh.de> Date: Mon, 12 Apr 2010 08:26:31 -0400 Received: by 10.140.87.23 with SMTP id k23mr3104201rvb.108.1271075191531; Mon, 12 Apr 2010 05:26:31 -0700 (PDT) Message-ID: From: Derrick Brashear To: Jan Henrik Sylvester Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: afs-list freebsd Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2010 12:56:23 -0000 Try the current head of git with memcache. We're still working on vnode locking issues. On Mon, Apr 12, 2010 at 6:05 AM, Jan Henrik Sylvester wrote: >> On 4/9/10, Jan Henrik Sylvester =A0wrote: >>> >>> [Repost from freebsd-questions as I was told to ask here.] >>> >>> I tried to get an AFS client on my 8.0-RELEASE (or 8-STABLE) system. >>> >>> What is the status of AFS on FreeBSD? >>> >>> Neither OpenAFS nor Arla seem to be in ports. >>> >>> I found the freebsd-afs mailing list with many posting from 2008/Dec bu= t >>> nothing from 2009 or 2010. The port-freebsd list on openafs.org has >>> nothing newer, either. >>> >>> http://wiki.freebsd.org/afs has instructions for Arla, but the build >>> fails on 8.0-RELEASE. >>> >>> http://wiki.freebsd.org/afs-server seems to be even older. >>> >>> http://wiki.freebsd.org/AFS_using_OpenAFS_%2B_Arla gives me: "You are >>> not allowed to view this page." >>> >>> Is there anything more current that I missed? >>> >>> Thanks, >>> Jan Henrik > > On 04/09/2010 14:36, aditya sarawgi wrote: >> Hi, >> openafs-client is not stable on freebsd 8, or 9 but i think it is >> usable on freebsd 7.X. > > That was my impression from the sources I found, too. Unfortunately, all = my > machines are running 8.0-RELEASE or 8-STABLE. > > I wonder what happened to the effort on freebsd-afs (Cc) that had an abru= pt > end at the end of 2008. Has the port been given up? > > Cheers, > Jan Henrik > _______________________________________________ > freebsd-afs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-afs > To unsubscribe, send any mail to "freebsd-afs-unsubscribe@freebsd.org" > --=20 Derrick From owner-freebsd-afs@FreeBSD.ORG Mon Apr 12 19:57:03 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7049C106566C for ; Mon, 12 Apr 2010 19:57:03 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id 0016C8FC0A for ; Mon, 12 Apr 2010 19:57:02 +0000 (UTC) Received: by ewy24 with SMTP id 24so1207647ewy.33 for ; Mon, 12 Apr 2010 12:57:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=Iz+YZfyUJ7Mevz1AYATaabqyrLa/0VdvWsbyG2RWntk=; b=GQNZ8PXSVphc0zqe8rm7LayZKDv7kgWiBUWW64xHhzv5gPxXDAA+vfKyQxYtQYJ0C/ YqixCYgG+WqbQ3yvELe3sKE9SRli14uhQiKEVgCw+mI445eIHZNevM4ID0iPY5n2TCBl NgQzIpiq5IThA0vFK73owpgr7o0A4DJVJQZ/Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=O75Ue2up1lv1b3UTGLXy4nitkNyigrxEMFbw9CR4r6q8cL7TDCSFtMlLxYt90rSgww qLFpESYwZejrr4xLeMnRTM1lGJVeCWfOao2BSYTltImzGW6g91lPG+ML2KBEDR1y458l kNO5cXXHYgdlIvKh6TMHiC7pnI/yU0nOyg9hM= MIME-Version: 1.0 Received: by 10.213.16.139 with HTTP; Mon, 12 Apr 2010 12:33:28 -0700 (PDT) In-Reply-To: References: <4BBEE3E7.8040201@janh.de> <4BC2F059.2090201@janh.de> Date: Mon, 12 Apr 2010 15:33:28 -0400 Received: by 10.213.109.149 with SMTP id j21mr2180661ebp.73.1271100808466; Mon, 12 Apr 2010 12:33:28 -0700 (PDT) Message-ID: From: Ben Kaduk To: Jan Henrik Sylvester Content-Type: text/plain; charset=ISO-8859-1 Cc: afs-list freebsd Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2010 19:57:03 -0000 On Mon, Apr 12, 2010 at 8:26 AM, Derrick Brashear wrote: > Try the current head of git with memcache. We're still working on > vnode locking issues. You may want to try http://stuff.mit.edu/afs/sipb.mit.edu/user/kaduk/freebsd/openafs/openafs-devel.shar.txt , which is some somewhat hackish freebsd packaging around openafs git head. As Derrick implies, it is working for some people, and not for others. -Ben Kaduk From owner-freebsd-afs@FreeBSD.ORG Tue Apr 13 15:41:04 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 044ED1065670 for ; Tue, 13 Apr 2010 15:41:04 +0000 (UTC) (envelope-from me@janh.de) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 7FD0A8FC14 for ; Tue, 13 Apr 2010 15:41:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id C7C37901F6; Tue, 13 Apr 2010 17:41:01 +0200 (CEST) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NIPT5GmHgs4k; Tue, 13 Apr 2010 17:41:01 +0200 (CEST) Received: from pc861.math.uni-hamburg.de (pc861.math.uni-hamburg.de [134.100.222.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id A3C0490027; Tue, 13 Apr 2010 17:41:01 +0200 (CEST) Message-ID: <4BC4909F.5000000@janh.de> Date: Tue, 13 Apr 2010 17:41:19 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100331 Thunderbird/3.0.4 MIME-Version: 1.0 To: Ben Kaduk References: <4BBEE3E7.8040201@janh.de> <4BC2F059.2090201@janh.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: afs-list freebsd Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 15:41:04 -0000 On 04/12/2010 21:33, Ben Kaduk wrote: > On Mon, Apr 12, 2010 at 8:26 AM, Derrick Brashear wrote: >> Try the current head of git with memcache. We're still working on >> vnode locking issues. > > You may want to try > http://stuff.mit.edu/afs/sipb.mit.edu/user/kaduk/freebsd/openafs/openafs-devel.shar.txt > , which is some somewhat hackish freebsd packaging around openafs git > head. As Derrick implies, it is working for some people, and not for > others. Thank you. On which FreeBSD is it "supposed" to compile? I just tried 8.0-RELEASE/i386 and got: src/config/config src/libafs/MakefileProto.FBSD src/libafs/Makefile i386_fbsd_80 Wrote new makefile 'src/libafs/Makefile'. cd src && cd libafs && make all mkdir MODLOAD rm MODLOAD/Makefile MODLOAD/Makefile.common rm: MODLOAD/Makefile: No such file or directory rm: MODLOAD/Makefile.common: No such file or directory *** Error code 1 (ignored) ln -fs ../Makefile MODLOAD/Makefile ln -fs ../Makefile.common MODLOAD/Makefile.common rm -f h net netinet rpc ufs nfs machine sys vm ln -fs /usr/src/sys/net net ln -fs /usr/src/sys/i386/include machine ln -fs /usr/src/sys/netinet netinet ln -fs /usr/src/sys/nfs nfs ln -fs /usr/src/sys/rpc rpc ln -fs /usr/src/sys/sys sys ln -fs /usr/src/sys/ufs/ufs ufs ln -fs /usr/src/sys/sys h ln -fs /usr/src/sys/vm vm touch MODLOAD/sec_net.h cd MODLOAD ; echo make DESTDIR= single_compdir_libafs; make DESTDIR= single_compdir_libafs make DESTDIR= single_compdir_libafs awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p cc -I. -I.. -I../nfs -I/usr/ports/net/openafs-devel/work/openafs/src -I/usr/ports/net/openafs-devel/work/ openafs/src/afs -I/usr/ports/net/openafs-devel/work/openafs/src/afs/FBSD -I/usr/ports/net/openafs-devel/w ork/openafs/src/config -I/usr/ports/net/openafs-devel/work/openafs/src/rx/FBSD -I/usr/ports/net/openafs-d evel/work/openafs/src/rxkad -I/usr/ports/net/openafs-devel/work/openafs/src/rxkad/domestic -I/usr/ports/n et/openafs-devel/work/openafs/src/util -I/usr/ports/net/openafs-devel/work/openafs/src -I/usr/ports/net/o penafs-devel/work/openafs/src/afs -I/usr/ports/net/openafs-devel/work/openafs/src/afs/FBSD -I/usr/ports/n et/openafs-devel/work/openafs/src/util -I/usr/ports/net/openafs-devel/work/openafs/src/rxkad -I/usr/ports /net/openafs-devel/work/openafs/src/config -I/usr/ports/net/openafs-devel/work/openafs/src/fsint -I/usr/p orts/net/openafs-devel/work/openafs/src/vlserver -I/usr/ports/net/openafs-devel/work/openafs/include -I/u sr/ports/net/openafs-devel/work/openafs/include/afs -O -I. -I.. -I/usr/ports/net/openafs-devel/work/openaf s/src/config -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT -Wall -nostdinc -I/usr /include -D_KERNEL -DKLD_MODULE -elf -mno-align-long-strings -fno-common -ffreestanding -I/usr/obj/usr/s rc/sys/GENERIC -include opt_global.h -fno-strict-aliasing -O2 -o afs_atomlist.o -c /usr/ports/net/openafs -devel/work/openafs/src/util/afs_atomlist.c cc1: error: opt_global.h: No such file or directory *** Error code 1 Or are there any missing dependencies? Were is opt_global.h supposed to come from? Cheers, Jan Henrik From owner-freebsd-afs@FreeBSD.ORG Tue Apr 13 15:46:31 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 256A1106566B for ; Tue, 13 Apr 2010 15:46:31 +0000 (UTC) (envelope-from shadow@gmail.com) Received: from mail-pz0-f197.google.com (mail-pz0-f197.google.com [209.85.222.197]) by mx1.freebsd.org (Postfix) with ESMTP id EBB1B8FC2E for ; Tue, 13 Apr 2010 15:46:30 +0000 (UTC) Received: by pzk35 with SMTP id 35so135470pzk.3 for ; Tue, 13 Apr 2010 08:46:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=45BlkWS8vXoA2SsuzP89ya0ikFIxk4JJPEStOAn84Ds=; b=K/LiTXBCvJKhMx3sov1rpAO7bac2fk7IsSJcA6wMaPRSLSqDtjY3TE5D9YAD3ogNXx hxXNY/mwwMlJ8HAIvaDmZPgyY1olURzZSMlus5Q2osre+J70TyxBXcRTh6m1ceY9Hbeg Kwms01g642B5buwFDK9+lYCRjMCOc/uQcK9hg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=QRcEr5JU0O3Zv1jgAFUzgt2ND2+PLKO1la0Aa/io8y6YSznJqzDqq++ZBuiAn+QO3s 07Il+DW7Gpe4jEHxLj0A6++K+befAI9LKviz5P+9PPu8r/CINzhQ4OriuyvrGi8+xlDQ 5q7I0h/as7LY+dZ24z9FRJtuAAC/w6MdC5dHg= MIME-Version: 1.0 Received: by 10.140.166.18 with HTTP; Tue, 13 Apr 2010 08:46:29 -0700 (PDT) In-Reply-To: <4BC4909F.5000000@janh.de> References: <4BBEE3E7.8040201@janh.de> <4BC2F059.2090201@janh.de> <4BC4909F.5000000@janh.de> Date: Tue, 13 Apr 2010 11:46:29 -0400 Received: by 10.141.90.10 with SMTP id s10mr5557610rvl.287.1271173589836; Tue, 13 Apr 2010 08:46:29 -0700 (PDT) Message-ID: From: Derrick Brashear To: Jan Henrik Sylvester Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: afs-list freebsd Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 15:46:31 -0000 On Tue, Apr 13, 2010 at 11:41 AM, Jan Henrik Sylvester wrote: > On 04/12/2010 21:33, Ben Kaduk wrote: >> >> On Mon, Apr 12, 2010 at 8:26 AM, Derrick Brashear >> =A0wrote: >>> >>> Try the current head of git with memcache. We're still working on >>> vnode locking issues. >> >> You may want to try >> >> http://stuff.mit.edu/afs/sipb.mit.edu/user/kaduk/freebsd/openafs/openafs= -devel.shar.txt >> , which is some somewhat hackish freebsd packaging around openafs git >> head. =A0As Derrick implies, it is working for some people, =A0and not f= or >> others. > > Thank you. > > On which FreeBSD is it "supposed" to compile? I just tried 8.0-RELEASE/i3= 86 > and got: > > src/config/config src/libafs/MakefileProto.FBSD src/libafs/Makefile > i386_fbsd_80 > Wrote new makefile 'src/libafs/Makefile'. > cd src && cd libafs && make all > mkdir MODLOAD > rm MODLOAD/Makefile MODLOAD/Makefile.common > rm: MODLOAD/Makefile: No such file or directory > rm: MODLOAD/Makefile.common: No such file or directory > *** Error code 1 (ignored) > ln -fs ../Makefile MODLOAD/Makefile > ln -fs ../Makefile.common MODLOAD/Makefile.common > rm -f =A0h net netinet rpc ufs nfs =A0machine sys vm > ln -fs /usr/src/sys/net net > ln -fs /usr/src/sys/i386/include machine > ln -fs /usr/src/sys/netinet netinet > ln -fs /usr/src/sys/nfs nfs > ln -fs /usr/src/sys/rpc rpc > ln -fs /usr/src/sys/sys sys > ln -fs /usr/src/sys/ufs/ufs ufs > ln -fs /usr/src/sys/sys h > ln -fs /usr/src/sys/vm vm > touch MODLOAD/sec_net.h > cd MODLOAD ; =A0echo make DESTDIR=3D single_compdir_libafs; =A0make DESTD= IR=3D > single_compdir_libafs > make DESTDIR=3D single_compdir_libafs > awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h > awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q > awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p > cc -I. -I.. -I../nfs =A0-I/usr/ports/net/openafs-devel/work/openafs/src > -I/usr/ports/net/openafs-devel/work/ > openafs/src/afs -I/usr/ports/net/openafs-devel/work/openafs/src/afs/FBSD > -I/usr/ports/net/openafs-devel/w > ork/openafs/src/config > -I/usr/ports/net/openafs-devel/work/openafs/src/rx/FBSD > -I/usr/ports/net/openafs-d > evel/work/openafs/src/rxkad > -I/usr/ports/net/openafs-devel/work/openafs/src/rxkad/domestic > -I/usr/ports/n > et/openafs-devel/work/openafs/src/util > -I/usr/ports/net/openafs-devel/work/openafs/src =A0-I/usr/ports/net/o > penafs-devel/work/openafs/src/afs > -I/usr/ports/net/openafs-devel/work/openafs/src/afs/FBSD =A0-I/usr/ports/= n > et/openafs-devel/work/openafs/src/util > -I/usr/ports/net/openafs-devel/work/openafs/src/rxkad =A0-I/usr/ports > /net/openafs-devel/work/openafs/src/config > -I/usr/ports/net/openafs-devel/work/openafs/src/fsint =A0-I/usr/p > orts/net/openafs-devel/work/openafs/src/vlserver > -I/usr/ports/net/openafs-devel/work/openafs/include =A0-I/u > sr/ports/net/openafs-devel/work/openafs/include/afs =A0-O -I. -I.. > -I/usr/ports/net/openafs-devel/work/openaf > s/src/config =A0-DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUO= TA > -DGETMOUNT -Wall -nostdinc -I/usr > /include -D_KERNEL -DKLD_MODULE =A0-elf =A0-mno-align-long-strings -fno-c= ommon > -ffreestanding =A0-I/usr/obj/usr/s > rc/sys/GENERIC -include opt_global.h -fno-strict-aliasing =A0-O2 =A0-o > afs_atomlist.o -c /usr/ports/net/openafs > -devel/work/openafs/src/util/afs_atomlist.c > cc1: error: opt_global.h: No such file or directory > *** Error code 1 > > Or are there any missing dependencies? Were is opt_global.h supposed to c= ome > from? it's in the objdir of your kernel build. --=20 Derrick From owner-freebsd-afs@FreeBSD.ORG Tue Apr 13 16:07:42 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C42D106566C for ; Tue, 13 Apr 2010 16:07:42 +0000 (UTC) (envelope-from kaduk@mit.edu) Received: from dmz-mailsec-scanner-4.mit.edu (DMZ-MAILSEC-SCANNER-4.MIT.EDU [18.9.25.15]) by mx1.freebsd.org (Postfix) with ESMTP id B662F8FC14 for ; Tue, 13 Apr 2010 16:07:41 +0000 (UTC) X-AuditID: 1209190f-b7b20ae000003f85-58-4bc493475316 Received: from mailhub-auth-2.mit.edu (MAILHUB-AUTH-2.MIT.EDU [18.7.62.36]) by dmz-mailsec-scanner-4.mit.edu (Symantec Brightmail Gateway) with SMTP id 28.17.16261.74394CB4; Tue, 13 Apr 2010 11:52:39 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id o3DFqct1028856; Tue, 13 Apr 2010 11:52:39 -0400 Received: from multics.mit.edu (MULTICS.MIT.EDU [18.187.1.73]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o3DFqbWR003314 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 13 Apr 2010 11:52:38 -0400 (EDT) Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id o3DFqaTF009867; Tue, 13 Apr 2010 11:52:36 -0400 (EDT) Date: Tue, 13 Apr 2010 11:52:36 -0400 (EDT) From: Benjamin Kaduk To: Jan Henrik Sylvester In-Reply-To: Message-ID: References: <4BBEE3E7.8040201@janh.de> <4BC2F059.2090201@janh.de> <4BC4909F.5000000@janh.de> User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-588357308-1271173956=:29136" X-Brightmail-Tracker: AAAAAA== Cc: afs-list freebsd Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 16:07:42 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-588357308-1271173956=:29136 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 13 Apr 2010, Derrick Brashear wrote: > On Tue, Apr 13, 2010 at 11:41 AM, Jan Henrik Sylvester wrote= : >> -DGETMOUNT -Wall -nostdinc -I/usr >> /include -D_KERNEL -DKLD_MODULE =A0-elf =A0-mno-align-long-strings -fno-= common >> -ffreestanding =A0-I/usr/obj/usr/s >> rc/sys/GENERIC -include opt_global.h -fno-strict-aliasing =A0-O2 =A0-o >> afs_atomlist.o -c /usr/ports/net/openafs >> -devel/work/openafs/src/util/afs_atomlist.c >> cc1: error: opt_global.h: No such file or directory >> *** Error code 1 >> >> Or are there any missing dependencies? Were is opt_global.h supposed to = come >> from? > > it's in the objdir of your kernel build. The port Makefile hardcodes the objdir for GENERIC; you will need to=20 change that if you use a custom kernel configuration. (You will also need to have an object tree from a kernel build sitting=20 around, if that was not initially clear.) -Ben ---559023410-588357308-1271173956=:29136-- From owner-freebsd-afs@FreeBSD.ORG Tue Apr 13 16:21:41 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A52E106567A for ; Tue, 13 Apr 2010 16:21:41 +0000 (UTC) (envelope-from kaduk@mit.edu) Received: from dmz-mailsec-scanner-5.mit.edu (DMZ-MAILSEC-SCANNER-5.MIT.EDU [18.7.68.34]) by mx1.freebsd.org (Postfix) with ESMTP id 554228FC2D for ; Tue, 13 Apr 2010 16:21:40 +0000 (UTC) X-AuditID: 12074422-b7c13ae000003829-b5-4bc49a14cc7c Received: from mailhub-auth-3.mit.edu (MAILHUB-AUTH-3.MIT.EDU [18.9.21.43]) by dmz-mailsec-scanner-5.mit.edu (Symantec Brightmail Gateway) with SMTP id 6E.31.14377.41A94CB4; Tue, 13 Apr 2010 12:21:40 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id o3DGLd33029486; Tue, 13 Apr 2010 12:21:39 -0400 Received: from multics.mit.edu (MULTICS.MIT.EDU [18.187.1.73]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o3DGLbRi013270 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 13 Apr 2010 12:21:38 -0400 (EDT) Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id o3DGLbLw010384; Tue, 13 Apr 2010 12:21:37 -0400 (EDT) Date: Tue, 13 Apr 2010 12:21:37 -0400 (EDT) From: Benjamin Kaduk To: "Matt W. Benjamin" In-Reply-To: <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> Message-ID: References: <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Brightmail-Tracker: AAAAAA== Cc: afs-list freebsd , Jan Henrik Sylvester Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 16:21:41 -0000 On Tue, 13 Apr 2010, Matt W. Benjamin wrote: > > ----- "Benjamin Kaduk" wrote: > >> On Tue, 13 Apr 2010, Derrick Brashear wrote: >> >>>> >>>> Or are there any missing dependencies? Were is opt_global.h >> supposed to come >>>> from? >>> >>> it's in the objdir of your kernel build. >> >> The port Makefile hardcodes the objdir for GENERIC; you will need to >> change that if you use a custom kernel configuration. > > I don't think it used to. However, you do need to make one symlink into > the object tree. I think that's in the README. This is a large portion of the "somewhat hackish" in "somewhat hackish freebsd packaging". -Ben From owner-freebsd-afs@FreeBSD.ORG Tue Apr 13 16:30:20 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 336A51065677 for ; Tue, 13 Apr 2010 16:30:20 +0000 (UTC) (envelope-from matt@linuxbox.com) Received: from aa.linuxbox.com (aa.linuxbox.com [134.215.213.37]) by mx1.freebsd.org (Postfix) with ESMTP id B01F38FC1E for ; Tue, 13 Apr 2010 16:30:19 +0000 (UTC) Received: from thunderbeast.private.linuxbox.com (thunderbeast.private.linuxbox.com [10.1.1.55]) by aa.linuxbox.com (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id o3DGJm07008117; Tue, 13 Apr 2010 12:19:48 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by thunderbeast.private.linuxbox.com (Postfix) with ESMTP id 1BC223FC834F; Tue, 13 Apr 2010 12:19:48 -0400 (EDT) X-Virus-Scanned: amavisd-new at linuxbox.com Received: from thunderbeast.private.linuxbox.com ([127.0.0.1]) by localhost (thunderbeast.private.linuxbox.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vX5AWFuu67KM; Tue, 13 Apr 2010 12:19:47 -0400 (EDT) Received: from thunderbeast.private.linuxbox.com (thunderbeast.private.linuxbox.com [10.1.1.55]) by thunderbeast.private.linuxbox.com (Postfix) with ESMTP id EB6C03FC834E; Tue, 13 Apr 2010 12:19:46 -0400 (EDT) Date: Tue, 13 Apr 2010 12:19:46 -0400 (EDT) From: "Matt W. Benjamin" To: Benjamin Kaduk Message-ID: <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.1.1.213] X-Mailer: Zimbra 6.0.5_GA_2180.CentOS5_64 (ZimbraWebClient - FF3.0 (Linux)/6.0.5_GA_2180.CentOS5_64) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (aa.linuxbox.com [10.1.1.1]); Tue, 13 Apr 2010 12:19:48 -0400 (EDT) Cc: afs-list freebsd , Jan Henrik Sylvester Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 16:30:20 -0000 ----- "Benjamin Kaduk" wrote: > On Tue, 13 Apr 2010, Derrick Brashear wrote: > > >> > >> Or are there any missing dependencies? Were is opt_global.h > supposed to come > >> from? > > > > it's in the objdir of your kernel build. > > The port Makefile hardcodes the objdir for GENERIC; you will need to > change that if you use a custom kernel configuration. I don't think it used to. However, you do need to make one symlink into the object tree. I think that's in the README. > > (You will also need to have an object tree from a kernel build sitting > > around, if that was not initially clear.) > > -Ben > _______________________________________________ > freebsd-afs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-afs > To unsubscribe, send any mail to "freebsd-afs-unsubscribe@freebsd.org" -- Matt Benjamin The Linux Box 206 South Fifth Ave. Suite 150 Ann Arbor, MI 48104 http://linuxbox.com tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309 From owner-freebsd-afs@FreeBSD.ORG Tue Apr 13 17:12:14 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CC371065676 for ; Tue, 13 Apr 2010 17:12:14 +0000 (UTC) (envelope-from me@janh.de) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 98C978FC14 for ; Tue, 13 Apr 2010 17:12:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 9126F901F6; Tue, 13 Apr 2010 19:12:12 +0200 (CEST) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AR-dpDDfSROZ; Tue, 13 Apr 2010 19:12:12 +0200 (CEST) Received: from pc861.math.uni-hamburg.de (pc861.math.uni-hamburg.de [134.100.222.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id 4B07390147; Tue, 13 Apr 2010 19:12:12 +0200 (CEST) Message-ID: <4BC4A5F1.6050406@janh.de> Date: Tue, 13 Apr 2010 19:12:17 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100331 Thunderbird/3.0.4 MIME-Version: 1.0 To: Benjamin Kaduk References: <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: afs-list freebsd Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 17:12:14 -0000 On 04/13/2010 18:21, Benjamin Kaduk wrote: > On Tue, 13 Apr 2010, Matt W. Benjamin wrote: > >> >> ----- "Benjamin Kaduk" wrote: >> >>> On Tue, 13 Apr 2010, Derrick Brashear wrote: >>> >>>>> >>>>> Or are there any missing dependencies? Were is opt_global.h >>> supposed to come >>>>> from? >>>> >>>> it's in the objdir of your kernel build. >>> >>> The port Makefile hardcodes the objdir for GENERIC; you will need to >>> change that if you use a custom kernel configuration. >> >> I don't think it used to. However, you do need to make one symlink >> into the object tree. I think that's in the README. > > This is a large portion of the "somewhat hackish" in "somewhat hackish > freebsd packaging". With a kernel build, I was able to build OpenAFS. First experience: afsd was complaining about /usr/local/etc/openafs/cacheinfo missing. After I copied that from a Linux OpenAFS install (and modified it to something suitable), I was able to start afsd, but /afs was missing. Creating that and starting afsd again locked the machine completely (for some reason, fsck on reboot took very long even though I got journaling). Having rebooted, I was able to start afsd and browse to some public afs directory -- 'ls' took quite some time, but eventually, I was able to list that directory. About the port: pkg-plist differs quite a bit from what actually got installed. I will try to create "my pkg-plist" later. I will to more testing tomorrow -- especially with Kerberos. Thanks for your help! Jan Henrik From owner-freebsd-afs@FreeBSD.ORG Tue Apr 13 17:20:38 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 952561065673 for ; Tue, 13 Apr 2010 17:20:38 +0000 (UTC) (envelope-from kaduk@mit.edu) Received: from dmz-mailsec-scanner-3.mit.edu (DMZ-MAILSEC-SCANNER-3.MIT.EDU [18.9.25.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4FA0C8FC12 for ; Tue, 13 Apr 2010 17:20:37 +0000 (UTC) X-AuditID: 1209190e-b7b82ae000005260-07-4bc4a7e59067 Received: from mailhub-auth-3.mit.edu (MAILHUB-AUTH-3.MIT.EDU [18.9.21.43]) by dmz-mailsec-scanner-3.mit.edu (Symantec Brightmail Gateway) with SMTP id DE.7F.21088.5E7A4CB4; Tue, 13 Apr 2010 13:20:37 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id o3DHKa1x004770; Tue, 13 Apr 2010 13:20:37 -0400 Received: from multics.mit.edu (MULTICS.MIT.EDU [18.187.1.73]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o3DHKZ1l001847 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 13 Apr 2010 13:20:36 -0400 (EDT) Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id o3DHKYcm011125; Tue, 13 Apr 2010 13:20:34 -0400 (EDT) Date: Tue, 13 Apr 2010 13:20:34 -0400 (EDT) From: Benjamin Kaduk To: Jan Henrik Sylvester In-Reply-To: <4BC4A5F1.6050406@janh.de> Message-ID: References: <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> <4BC4A5F1.6050406@janh.de> User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Brightmail-Tracker: AAAAAA== Cc: afs-list freebsd Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 17:20:38 -0000 On Tue, 13 Apr 2010, Jan Henrik Sylvester wrote: > > With a kernel build, I was able to build OpenAFS. First experience: > > afsd was complaining about /usr/local/etc/openafs/cacheinfo missing. After I Yes, that needs to be specified; I either forgot to or didn't feel like packaging a default setup. > copied that from a Linux OpenAFS install (and modified it to something > suitable), I was able to start afsd, but /afs was missing. Creating that and Arguably I should create /afs in the packaging. > starting afsd again locked the machine completely (for some reason, fsck on I have seen a page fault on startup like that (once); I have a coredump but haven't had time to dig through it. > reboot took very long even though I got journaling). Having rebooted, I was > able to start afsd and browse to some public afs directory -- 'ls' took quite > some time, but eventually, I was able to list that directory. Is the CellServDB up-to-date for your cell of choice? Needing to do DNS queries could make that take a while. > > About the port: pkg-plist differs quite a bit from what actually got > installed. I will try to create "my pkg-plist" later. Hm, I am pretty sure it was correct (or very nearly so) for me. Please do send me your differences (private mail is fine). > I will to more testing tomorrow -- especially with Kerberos. I note that with recent opeanfs snapshots from git, I've been getting heap corruption in aklog, so that it dumps core after getting tokens for the first cell in the list. It's annoying, but it has still been getting tokens for me. Whether or not you see that same behaviour would be good to know. -Ben From owner-freebsd-afs@FreeBSD.ORG Tue Apr 13 18:11:38 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FF6E106566B for ; Tue, 13 Apr 2010 18:11:38 +0000 (UTC) (envelope-from shadow@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 73C6E8FC0C for ; Tue, 13 Apr 2010 18:11:38 +0000 (UTC) Received: by pvc7 with SMTP id 7so4409966pvc.13 for ; Tue, 13 Apr 2010 11:11:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=unlbvYQLLz7e4ugZ9FSJzSBvk+It1gdzF4c7RT6fxwI=; b=kihics315JVZsixRWhLu3VcO4+SL1td6dcsHLJm/1+yL11RcehblJsGg/S6SINnBL2 aFHhTtZ8vzZc2GLWLObZKxddDXsrgL2UIsI5r1Ji0aYGVWtFAkdKllakHgcQ14Y+ksgG bnSkAmbCpRTWYt22C8M03HIBTbJ+ezGc3x2Ec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=n5z/CaTZQXeNnxtoeoPkkgxqX7tOSOpH/Cf/K0OhyB9wc7U25jJC6+gDUiImTcSnmU rRgzQDDhfUK7BF8PwdsI/MJ4W9sUbnjUtWt6vfPvDRMDdJE92qtCk14OgELmKsYKJSnq tn5FJTPklQSYh1anpQyutWPuQaciXnv366/bY= MIME-Version: 1.0 Received: by 10.140.166.18 with HTTP; Tue, 13 Apr 2010 11:11:37 -0700 (PDT) In-Reply-To: <4BC4A5F1.6050406@janh.de> References: <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> <4BC4A5F1.6050406@janh.de> Date: Tue, 13 Apr 2010 14:11:37 -0400 Received: by 10.141.107.15 with SMTP id j15mr5953425rvm.288.1271182297913; Tue, 13 Apr 2010 11:11:37 -0700 (PDT) Message-ID: From: Derrick Brashear To: Jan Henrik Sylvester Content-Type: text/plain; charset=ISO-8859-1 Cc: afs-list freebsd , Benjamin Kaduk Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 18:11:38 -0000 On Tue, Apr 13, 2010 at 1:12 PM, Jan Henrik Sylvester wrote: > On 04/13/2010 18:21, Benjamin Kaduk wrote: >> >> On Tue, 13 Apr 2010, Matt W. Benjamin wrote: >> >>> >>> ----- "Benjamin Kaduk" wrote: >>> >>>> On Tue, 13 Apr 2010, Derrick Brashear wrote: >>>> >>>>>> >>>>>> Or are there any missing dependencies? Were is opt_global.h >>>> >>>> supposed to come >>>>>> >>>>>> from? >>>>> >>>>> it's in the objdir of your kernel build. >>>> >>>> The port Makefile hardcodes the objdir for GENERIC; you will need to >>>> change that if you use a custom kernel configuration. >>> >>> I don't think it used to. However, you do need to make one symlink >>> into the object tree. I think that's in the README. >> >> This is a large portion of the "somewhat hackish" in "somewhat hackish >> freebsd packaging". > > With a kernel build, I was able to build OpenAFS. First experience: > > afsd was complaining about /usr/local/etc/openafs/cacheinfo missing. that's local configuration; you get to configure it, or it bombs. >After I > copied that from a Linux OpenAFS install (and modified it to something > suitable), I was able to start afsd, but /afs was missing. Did you reboot, run afsd -shutdown first, or just rerun afsd? if the latter, that almost certainly doesn't work. it probably shoudl cope better, but... the rc script's "stop" does the right thing. >Creating that and > starting afsd again locked the machine completely (for some reason, fsck on > reboot took very long even though I got journaling). Having rebooted, I was > able to start afsd and browse to some public afs directory -- 'ls' took > quite some time, but eventually, I was able to list that directory. > About the port: pkg-plist differs quite a bit from what actually got > installed. I will try to create "my pkg-plist" later. > > I will to more testing tomorrow -- especially with Kerberos. > > Thanks for your help! > Jan Henrik > _______________________________________________ > freebsd-afs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-afs > To unsubscribe, send any mail to "freebsd-afs-unsubscribe@freebsd.org" > -- Derrick From owner-freebsd-afs@FreeBSD.ORG Tue Apr 13 20:37:33 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AD641065674 for ; Tue, 13 Apr 2010 20:37:33 +0000 (UTC) (envelope-from me@janh.de) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id A66EE8FC25 for ; Tue, 13 Apr 2010 20:37:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 887F8901A0; Tue, 13 Apr 2010 22:37:31 +0200 (CEST) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id q1Swv7rQmO9j; Tue, 13 Apr 2010 22:37:31 +0200 (CEST) Received: from pc861.math.uni-hamburg.de (pc861.math.uni-hamburg.de [134.100.222.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id 679269009D; Tue, 13 Apr 2010 22:37:31 +0200 (CEST) Message-ID: <4BC4D612.40706@janh.de> Date: Tue, 13 Apr 2010 22:37:38 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100331 Thunderbird/3.0.4 MIME-Version: 1.0 To: Benjamin Kaduk References: <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> <4BC4A5F1.6050406@janh.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: afs-list freebsd Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 20:37:33 -0000 On 04/13/2010 19:20, Benjamin Kaduk wrote: > On Tue, 13 Apr 2010, Jan Henrik Sylvester wrote: >> starting afsd again locked the machine completely (for some reason, >> fsck on > > I have seen a page fault on startup like that (once); I have a coredump > but haven't had time to dig through it. There is no coredump -- the machine froze. Anyhow, as Derrick was observing, I should have issued an "afsd -shutdown" before starting afsd again. >> 'ls' took quite some time, but eventually, I was able to list that >> directory. > > Is the CellServDB up-to-date for your cell of choice? Needing to do DNS > queries could make that take a while. I did not change the default config for the first test, but I will look into that tomorrow. >> About the port: pkg-plist differs quite a bit from what actually got >> installed. I will try to create "my pkg-plist" later. > > Hm, I am pretty sure it was correct (or very nearly so) for me. > Please do send me your differences (private mail is fine). - There is a conflict with security/heimdal, as they both install bin/kpasswd and bin/pagsh. - share/openafs/C/afszcm.cat did not get installed for me. - There are many files missing from the pkg-plist, 316 files in share/man/man?/ and these: bin/afs_compile_et bin/aklog bin/asetkey bin/klog.krb5 bin/restorevol etc/CellServDB etc/ThisCell etc/openafs/CellServDB etc/openafs/ThisCell lib/libafsauthent.so lib/libafsauthent.so.1 lib/libafsauthent.so.1.1 lib/libafsauthent_pic.a lib/libafsrpc.so lib/libafsrpc.so.1 lib/libafsrpc.so.1.1 lib/libafsrpc_pic.a lib/libkopenafs.a lib/libkopenafs.so lib/libkopenafs.so.1 lib/libkopenafs.so.1.0 sbin/fssync-debug sbin/salvsync-debug sbin/state_analyzer The etc/* stuff is probably taken care of by the @exec and @unexec magic, but for everything else I do not see anything in pkg-plist. Cheers, Jan Henrik From owner-freebsd-afs@FreeBSD.ORG Tue Apr 13 20:48:03 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A037A1065679 for ; Tue, 13 Apr 2010 20:48:03 +0000 (UTC) (envelope-from kaduk@mit.edu) Received: from dmz-mailsec-scanner-8.mit.edu (DMZ-MAILSEC-SCANNER-8.MIT.EDU [18.7.68.37]) by mx1.freebsd.org (Postfix) with ESMTP id 599AF8FC21 for ; Tue, 13 Apr 2010 20:48:03 +0000 (UTC) X-AuditID: 12074425-b7d00ae000002295-60-4bc4d8825b04 Received: from mailhub-auth-1.mit.edu (MAILHUB-AUTH-1.MIT.EDU [18.9.21.35]) by dmz-mailsec-scanner-8.mit.edu (Symantec Brightmail Gateway) with SMTP id 4D.46.08853.288D4CB4; Tue, 13 Apr 2010 16:48:02 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id o3DKm2O6011709; Tue, 13 Apr 2010 16:48:02 -0400 Received: from multics.mit.edu (MULTICS.MIT.EDU [18.187.1.73]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o3DKm07Q005059 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 13 Apr 2010 16:48:01 -0400 (EDT) Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id o3DKlxLP014684; Tue, 13 Apr 2010 16:47:59 -0400 (EDT) Date: Tue, 13 Apr 2010 16:47:59 -0400 (EDT) From: Benjamin Kaduk To: Jan Henrik Sylvester In-Reply-To: <4BC4D612.40706@janh.de> Message-ID: References: <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> <4BC4A5F1.6050406@janh.de> <4BC4D612.40706@janh.de> User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Brightmail-Tracker: AAAAAA== Cc: afs-list freebsd Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 20:48:03 -0000 On Tue, 13 Apr 2010, Jan Henrik Sylvester wrote: > On 04/13/2010 19:20, Benjamin Kaduk wrote: >> On Tue, 13 Apr 2010, Jan Henrik Sylvester wrote: >>> starting afsd again locked the machine completely (for some reason, >>> fsck on >> >> I have seen a page fault on startup like that (once); I have a coredump >> but haven't had time to dig through it. > > There is no coredump -- the machine froze. Anyhow, as Derrick was observing, > I should have issued an "afsd -shutdown" before starting afsd again. Okay, so not what I had seen, and a known issue. > >>> About the port: pkg-plist differs quite a bit from what actually got >>> installed. I will try to create "my pkg-plist" later. >> >> Hm, I am pretty sure it was correct (or very nearly so) for me. >> Please do send me your differences (private mail is fine). > > - There is a conflict with security/heimdal, as they both install bin/kpasswd > and bin/pagsh. That's unfortunate, and might require some trickery in the Makefile. At least the heimdal in base is no longer the ancient 0.6.3 ... > - share/openafs/C/afszcm.cat did not get installed for me. > - There are many files missing from the pkg-plist, 316 files in > share/man/man?/ and these: The manpages should not be listed in pkg-plist, they should get included by MAN1, MAN3, etc. variables in the Makefile, which I conveniently did not include. (I forgot about the manpages, 'tis true. I bet I have a Makefile.man floating around somewhere that got missed, though.) > > bin/afs_compile_et > bin/aklog > bin/asetkey > bin/klog.krb5 > bin/restorevol > etc/CellServDB > etc/ThisCell > etc/openafs/CellServDB > etc/openafs/ThisCell > lib/libafsauthent.so > lib/libafsauthent.so.1 > lib/libafsauthent.so.1.1 > lib/libafsauthent_pic.a > lib/libafsrpc.so > lib/libafsrpc.so.1 > lib/libafsrpc.so.1.1 > lib/libafsrpc_pic.a > lib/libkopenafs.a > lib/libkopenafs.so > lib/libkopenafs.so.1 > lib/libkopenafs.so.1.0 > sbin/fssync-debug > sbin/salvsync-debug > sbin/state_analyzer > > The etc/* stuff is probably taken care of by the @exec and @unexec magic, but > for everything else I do not see anything in pkg-plist. Okay, I'll double check that before I next update things. Thanks, Ben From owner-freebsd-afs@FreeBSD.ORG Wed Apr 14 16:34:52 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A49D81065673 for ; Wed, 14 Apr 2010 16:34:52 +0000 (UTC) (envelope-from me@janh.de) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 1F5568FC29 for ; Wed, 14 Apr 2010 16:34:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 3267A901ED; Wed, 14 Apr 2010 18:34:50 +0200 (CEST) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Rm8vQ6uYZtz0; Wed, 14 Apr 2010 18:34:50 +0200 (CEST) Received: from pc861.math.uni-hamburg.de (pc861.math.uni-hamburg.de [134.100.222.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id 12F3190049; Wed, 14 Apr 2010 18:34:50 +0200 (CEST) Message-ID: <4BC5EEB5.5050109@janh.de> Date: Wed, 14 Apr 2010 18:35:01 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100331 Thunderbird/3.0.4 MIME-Version: 1.0 To: Benjamin Kaduk References: <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> <4BC4A5F1.6050406@janh.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: afs-list freebsd Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 16:34:52 -0000 On 04/13/2010 19:20, Benjamin Kaduk wrote: > On Tue, 13 Apr 2010, Jan Henrik Sylvester wrote: >> I will to more testing tomorrow -- especially with Kerberos. > > I note that with recent opeanfs snapshots from git, I've been getting > heap corruption in aklog, so that it dumps core after getting tokens for > the first cell in the list. It's annoying, but it has still been getting > tokens for me. Whether or not you see that same behaviour would be good > to know. Yes, I do see the same behavior. Sometimes access to afs takes a long time, for example the first 'ls' for a server after 'cd /afs/SOMESERVER' takes a few minutes. The next few commands only took a minute each, until it was at reasonable speed. Copying down a large file from secured afs worked pretty well (with about half of the possible 100mbit bandwidth). The CPU system load was pretty high, though: 12% on a C2Q. Then I tried to copy a file to afs... since then, afs hangs (even 'cd /afs' in a different terminal hangs). Even if nothing uses afs, 'umount /afs' hangs, too, but I can still issue 'afsd -shutdown' in a different terminal after that. Restarting afsd freezes the machine, though. Overall, afs does not seem to be usable, but you did not promise anything else. Is there any way to cleanly shut down afs and restart it for further tests without reboot the machine? Where can I get the rc script Derrick was talking about? Any ideas for improvements? Should 8-STALBE instead of 8.0-RELEASE work better? Any configuration changes I should try? Thanks, Jan Henrik From owner-freebsd-afs@FreeBSD.ORG Wed Apr 14 16:52:20 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78E331065672 for ; Wed, 14 Apr 2010 16:52:20 +0000 (UTC) (envelope-from kaduk@mit.edu) Received: from dmz-mailsec-scanner-5.mit.edu (DMZ-MAILSEC-SCANNER-5.MIT.EDU [18.7.68.34]) by mx1.freebsd.org (Postfix) with ESMTP id 319C68FC22 for ; Wed, 14 Apr 2010 16:52:19 +0000 (UTC) X-AuditID: 12074422-b7c13ae000003829-55-4bc5f2c38e8b Received: from mailhub-auth-2.mit.edu (MAILHUB-AUTH-2.MIT.EDU [18.7.62.36]) by dmz-mailsec-scanner-5.mit.edu (Symantec Brightmail Gateway) with SMTP id 7F.DC.14377.3C2F5CB4; Wed, 14 Apr 2010 12:52:19 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id o3EGqIXK028380; Wed, 14 Apr 2010 12:52:19 -0400 Received: from multics.mit.edu (MULTICS.MIT.EDU [18.187.1.73]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o3EGqGHg028790 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 14 Apr 2010 12:52:17 -0400 (EDT) Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id o3EGqFvK001278; Wed, 14 Apr 2010 12:52:15 -0400 (EDT) Date: Wed, 14 Apr 2010 12:52:15 -0400 (EDT) From: Benjamin Kaduk To: Jan Henrik Sylvester In-Reply-To: <4BC5EEB5.5050109@janh.de> Message-ID: References: <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> <4BC4A5F1.6050406@janh.de> <4BC5EEB5.5050109@janh.de> User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Brightmail-Tracker: AAAAAA== Cc: afs-list freebsd Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 16:52:20 -0000 On Wed, 14 Apr 2010, Jan Henrik Sylvester wrote: > On 04/13/2010 19:20, Benjamin Kaduk wrote: >> On Tue, 13 Apr 2010, Jan Henrik Sylvester wrote: > > Sometimes access to afs takes a long time, for example the first 'ls' for a > server after 'cd /afs/SOMESERVER' takes a few minutes. The next few commands > only took a minute each, until it was at reasonable speed. > > Copying down a large file from secured afs worked pretty well (with about > half of the possible 100mbit bandwidth). The CPU system load was pretty high, > though: 12% on a C2Q. > > Then I tried to copy a file to afs... since then, afs hangs (even 'cd /afs' > in a different terminal hangs). Fascinating. I have been seeing almost precisely the reverse behavior -- I could write files into AFS without difficulty, but any attempt to read from AFS would cause the process to hang unkillably. While that was hung, other processes could traverse (at least parts of) /afs, though. > > Even if nothing uses afs, 'umount /afs' hangs, too, but I can still issue > 'afsd -shutdown' in a different terminal after that. Restarting afsd freezes > the machine, though. > > Overall, afs does not seem to be usable, but you did not promise anything > else. > > Is there any way to cleanly shut down afs and restart it for further tests > without reboot the machine? > > Where can I get the rc script Derrick was talking about? > I am given to understand that the rc script unloads and reloads the kernel module before restarting afsd; it should be in ${WRKSRC}/src/afsd/afs.rc.fbsd . That said, I haven't looked at it, and have just been rebooting my machine between tests. > Any ideas for improvements? Should 8-STALBE instead of 8.0-RELEASE work > better? Any configuration changes I should try? I don't expect -STABLE vs. -RELEASE to have much effect; I'm pretty sure these are openafs bugs. Could you send a bit of detail about your machine, though? Is it single-processor, 32-bit, etc.?