From owner-freebsd-afs@FreeBSD.ORG Tue Jun 17 19:25:04 2008 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 7C6421065670 for ; Tue, 17 Jun 2008 19:25:04 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 26DBB8FC1C for ; Tue, 17 Jun 2008 19:25:03 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1K8gne-000IYO-2i for freebsd-afs@FreeBSD.org; Tue, 17 Jun 2008 23:25:02 +0400 Received: from bsam by bs1.sp34.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1K8goG-0006bA-MA for freebsd-afs@FreeBSD.org; Tue, 17 Jun 2008 23:25:40 +0400 To: freebsd-afs@FreeBSD.org From: Boris Samorodov Date: Tue, 17 Jun 2008 23:25:40 +0400 Message-ID: <62956155@bs1.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: net/openafs-server and/or kernel module (7.0-STABLE-i386) 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, 17 Jun 2008 19:25:04 -0000 Hello, with the help of wiki (http://wiki.freebsd.org/afs-server) I managed to install and configure net/openafs-server a little. What doesn't work is "now restart the bosserver and see if authentication works:" ----- # uname -a FreeBSD bs1.sp34.ru 7.0-STABLE FreeBSD 7.0-STABLE #0: Sun May 25 20:15:26 MSD 2008 root@bs1.sp34.ru:/usr/obj/usr/src/sys/BSM i386 # bos status -server bs1.sp34.ru -long -noauth Instance buserver, (type is simple) currently running normally. Process last started at Tue Jun 17 22:29:36 2008 (1 proc starts) Command 1 is '/usr/local/libexec/openafs/buserver' Instance ptserver, (type is simple) currently running normally. Process last started at Tue Jun 17 22:30:36 2008 (1 proc starts) Command 1 is '/usr/local/libexec/openafs/ptserver' Instance vlserver, (type is simple) currently running normally. Process last started at Tue Jun 17 22:31:36 2008 (1 proc starts) Command 1 is '/usr/local/libexec/openafs/vlserver' # bos shutdown bs1.sp34.ru Bad system call (core dumped) ----- Here is the very end of "ktruss bos shutdown bs1.sp34.ru": ----- open("/usr/local/etc/openafs/CellAlias",O_RDONLY,0666) ERR#2 'No such file or directory' open("/usr/local/etc/openafs/KeyFile",O_RDONLY,01005262440) = 4 (0x4) read(4,"\0\0\0\^B\0\0\0\^A\^U/\M-Bg\M-?"...,100) = 28 (0x1c) close(4) = 0 (0x0) stat("/usr/local/etc/openafs/CellServDB",{mode=-rw-r--r-- ,inode=247779,size=88,blksize=4096}) = 0 (0x0) stat("/usr/local/etc/openafs/CellServDB",{mode=-rw-r--r-- ,inode=247779,size=88,blksize=4096}) = 0 (0x0) open("/root/.AFSSERVER",O_RDONLY,0666) ERR#2 'No such file or directory' open("/.AFSSERVER",O_RDONLY,0666) ERR#2 'No such file or directory' #339(0x14,0x0,0x800c5608,0xbfbfb8d0,0x0,0x0) ERR#78 'Function not implemented' SIGNAL 12 (SIGSYS) ----- If I use (kldload) the kernel module from net/arla port this command succeeds. I noticed that building of self module for net/openafs-server is disabled at the Makefile (and indeed it doesn't build if enabled). So the question is: should a kernel module from net/arla (or something else) be used? WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve