From owner-freebsd-afs@FreeBSD.ORG Fri Jul 23 10:30:40 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 F3AF61065673 for ; Fri, 23 Jul 2010 10:30:39 +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 858478FC1A for ; Fri, 23 Jul 2010 10:30:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id DF1219080C; Fri, 23 Jul 2010 12:30:37 +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 VrYX0W3Bog2H; Fri, 23 Jul 2010 12:30:37 +0200 (CEST) Received: from nb895.math (g224010139.adsl.alicedsl.de [92.224.10.139]) (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 90A7B90630; Fri, 23 Jul 2010 12:30:37 +0200 (CEST) Message-ID: <4C496F43.60205@janh.de> Date: Fri, 23 Jul 2010 12:30:27 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100721 Thunderbird/3.0.6 MIME-Version: 1.0 To: afs-list freebsd Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: OpenAFS on FreeBSD 8.1 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: Fri, 23 Jul 2010 10:30:40 -0000 I did not expect my problems to have vanished, but I wanted to try again. Should I use the git based port http://stuff.mit.edu/afs/sipb.mit.edu/user/kaduk/freebsd/openafs/openafs-devel.shar.txt you pointed me to earlier for testing? Or should I always use http://web.mit.edu/freebsd/openafs/openafs.shar that you posted to the Quarterly Status Report? With both, I run into the same problem compiling on FreeBSD 8.1. http://svn.freebsd.org/viewvc/base?view=revision&revision=209524 changed the definition of ifa_ifwithnet. In rx/rx_kernel.h, FreeBSD 8.1 needs the same definition of rx_ifaddr_withnet as AFS_OBSD46_ENV (while FreeBSD 8.0 needs the generic one). Should FreeBSD 8.0 still be supported? With the git based port, I get an error on "kldload libafs": "can't load libafs: Exec format error" (missing symbol?) -- openafs-1.5.75 (the other port) does not seem to have this problem. Starting afsd, I realized that I had not updated my CellServDB and thus tried to shutdown afsd, which complained about afs still being mounted. Trying to umount /afs, I got a segfault in the kernel. (I had not actually accessed /afs before doing that.) I guess restarting the afsd is not possible for now. (No big deal.) I listed a few directories without blocks for longer periods of time as with my last testing. Good. Copying a huge file from AFS was terribly slow (even for my DSL connection), but it steadily progressed and I was able to abort it without deadlocking or crashing. Copying a 16MB file to AFS blocked a parallel "ls -l" on the same directory I was copying to, but it eventually finished. The file was not corrupted. Great. The main differences besides being on FreeBSD 8.1 now and using a newer version of the OpenAFS port are that this time I was testing from a slow DSL connection (over a WLAN) and not the LAN connection in my university and I was testing against the AFS of a different department. I will try to repeat under the same conditions as the last tests (aside from the software versions) later. pagsh does not immediately crash anymore -- another improvement, even if it is minor compared to FreeBSD not crashing anymore using AFS. BTW: Thanks for all your work! Cheers, Jan Henrik From owner-freebsd-afs@FreeBSD.ORG Fri Jul 23 13:10: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 F01B6106566B for ; Fri, 23 Jul 2010 13:10:42 +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 800988FC19 for ; Fri, 23 Jul 2010 13:10:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 7149D90847; Fri, 23 Jul 2010 15:10:41 +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 kM6ej7RHnwD8; Fri, 23 Jul 2010 15:10:41 +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 5BD7290843; Fri, 23 Jul 2010 15:10:41 +0200 (CEST) Message-ID: <4C4994E5.90207@janh.de> Date: Fri, 23 Jul 2010 15:11:01 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100721 Thunderbird/3.0.6 MIME-Version: 1.0 To: afs-list freebsd References: <4C496F43.60205@janh.de> In-Reply-To: <4C496F43.60205@janh.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: OpenAFS on FreeBSD 8.1 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: Fri, 23 Jul 2010 13:10:43 -0000 On 07/23/2010 12:30, Jan Henrik Sylvester wrote: > I listed a few directories without blocks for longer periods of time as > with my last testing. Good. Copying a huge file from AFS was terribly > slow (even for my DSL connection), but it steadily progressed and I was > able to abort it without deadlocking or crashing. Copying a 16MB file to > AFS blocked a parallel "ls -l" on the same directory I was copying to, > but it eventually finished. The file was not corrupted. Great. I did more testing from University to both of the AFS' I had been testing before. Copying a few MB from AFS and copying a 16MB file to AFS was both fine (showing 6MB/s while copying). Trying to copy a 512MB file to AFS locked all AFS after two seconds that it was showing copy rates of 40MB/s (while the network is only 100Mbit/s). After increasing the AFS cache size to 512MB, almost all of the file got copied before AFS would lock. With a cache of 1GB, the file got copied without a deadlock or corruption. (All this is on MP, I have not tried to disable all but one core.) Rebooting the machine after having done nothing but the successful copy of the 512MB file, I got: Fatal trap 12: page fault while in kernel mode cpuid = 3; apic id = 05 fault virtual address = 0x290 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff805959ae stack pointer = 0x28:0xffffff807500c6c0 frame pointer = 0x28:0xffffff807500c6e0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1944 (afsd) trap number = 12 panic: page fault cpuid = 3 Overall, the only problems I got during my tests were copying files larger than the cache size and shutting down afsd. So far, AFS seems to become usable for me (even on MP). Thanks again, Jan Henrik