Subject: Strange behaviour after installing arla
To: None <port-alpha@netbsd.org>
From: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
List: port-alpha
Date: 06/08/2003 19:58:19
Dear list,

I hope somebody of you have a quick guess what is wrong here. I have a
Personal Workstation 433 with fresh installed NetBSD 1.6.1:

NetBSD 1.6.1 (GENERIC) #0: Mon Apr 7 07:59:37 UTC 2003

Welcome to NetBSD!

Terminal type is xterm.
We recommend creating a non-root account and using su(1) for root access.
wpdu2# pkg_delete arla
wpdu2# mount /proc
mount_procfs: procfs on /proc: Operation not supported by device
wpdu2# mount /kern
mount_kernfs: kernfs on /kern: Operation not supported by device
wpdu2# cat /etc/fstab
/dev/sd0a / ffs rw 1 1
/dev/sd0b none swap sw 0 0
/dev/sd0d /usr ffs rw 1 2
kern            /kern     kernfs  rw              0 0
proc            /proc     procfs  rw              0 0
wpdu2# pkg_info -a
bash-2.05.2         The GNU Bourne Again Shell
wpdu2# pkg_add
ftp://ftp.leo.org/pub/NetBSD/packages/1.6.1/alpha/All/arla-0.35.12pre1.tgz
setenv PKG_PATH='ftp://ftp.leo.org/pub/NetBSD/packages/1.6.1/alpha/All'
Installing configuration files for arla-0.35.12pre1:

[...]

wpdu2# pkg_info -a
bash-2.05.2         The GNU Bourne Again Shell
arla-0.35.12pre1    Free AFS implementation from KTH
wpdu2# startarla
modload: can't reserve memory: Operation not permitted
mount_xfs: mount: Operation not supported by device
wpdu2# cat `which startarla`
#!/bin/sh
#
# A simple startupscript to start arla for *BSD.
#
# You must have a path that includes, modload, ld,
# mount_xfs, and arlad.
#
# $Id: startarla.in,v 1.18.2.6 2002/08/30 01:35:57 ahltorp Exp $
#


PATH=/sbin:/usr/sbin:/usr/bin:/bin
SBINDIR=/usr/pkg/sbin
LKMDIR=/usr/pkg/lkm
CACHEDIR=/usr/pkg/cache
LIBEXECDIR=/usr/pkg/libexec
VARDB=/var/db

if [ ! -e $CACHEDIR ] ; then
    mkdir $CACHEDIR
    chmod 700 $CACHEDIR
    chown root $CACHEDIR
fi

if test -f  $LKMDIR/xfs.ko; then
   if test ! -c /dev/xfs0; then
     mknod /dev/xfs0 c 128 0
   fi
   kldload $LKMDIR/xfs.ko
elif test -x /sbin/kextload; then
   rm -f $VARDB/xfs_sym
   kextload -s $VARDB $LKMDIR/xfs.kext
   kextstat > $VARDB/xfs_modstat 2>&1
elif test -x /sbin/sysconfig; then
   /sbin/sysconfig -c xfs
   if test ! -c /dev/xfs0; then
     SYSCALL=`/sbin/sysconfig -q xfs major | awk '{print $3}'`
     mknod /dev/xfs0 c ${SYSCALL} 0
   fi
elif test -x /sbin/modload; then
   rm -f $VARDB/xfs_sym
   modload -o $VARDB/xfs_sym -e xfs_mod -p $SBINDIR/xfs_makedev \
         $LKMDIR/xfs_mod.o
   modstat > $VARDB/xfs_modstat 2>&1
else
   echo "Couldn't figure out how to load your kernel module"
   exit 1
fi
test -d /afs || mkdir /afs
${SBINDIR}/mount_xfs /dev/xfs0 /afs
${LIBEXECDIR}/arlad -z /dev/xfs0
wpdu2# uname -a
NetBSD wpdu2 1.6.1 NetBSD 1.6.1 (GENERIC) #0: Mon Apr  7 07:59:37 UTC
2003
autobuild@cs20.apochromatic.org:/autobuilder/build/netbsd-1-6/alpha/OBJ/autobuilder/build/netbsd-1-6/src/sys/arch/alpha/compile/GENERIC
alpha
wpdu2#

Anybody any idea? Any help is very much appreciated.

Best regards,

     Torsten
-- 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                                <>
<> Torsten Harenberg            harenberg@physik.uni-wuppertal.de <>
<> FB Physik                                                      <>
<> Bergische Universitaet       Tel.: (0202) 439-2740             <>
<> Gaussstr. 20                 Fax : (0202) 439-2811             <>
<> D-42097 Wuppertal                                              <>
<>                                                                <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>