Subject: Arla nnpfs fails to load on NetBSD/macppc 3.0
To: None <arla-drinkers@stacken.kth.se>
From: Jonathan A. Kollasch <jakllsch@kollasch.net>
List: port-macppc
Date: 01/23/2006 23:46:25
Hi,

uname -a:
NetBSD sqornshellous.kollasch.net 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:25:38 UTC 2005  builds@b2.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/macppc/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/macppc/compile/GENERIC macppc

pkg_info|grep arla:
arla-0.41           Free AFS implementation from KTH

stock GENERIC kernel and netbsd-3-0-RELEASE sources, stock pkgsrc-2005Q4

after adding the example line to /etc/lkm.conf:

sqornshellous# /etc/rc.d/lkm2 onestart 
nnpfs_mod.o: /usr/pkg/lkm/nnpfs_mod.o(.text+0x902c): In function `nnpfs_putpages':
/usr/pkgsrc/net/arla/work/arla-0.41/nnpfs/bsd/nnpfs_vnodeops-bsd.c:1197: undefined reference to `pmap_is_modified'
modload: can't prelink `/usr/pkg/lkm/nnpfs_mod.o' creating `/var/db/nnpfs_sym'

I've got no idea why this doesn't also happen on i386 and sparc64.
Anyone have ideas?  This might also be a problem/oversight in the macppc
kernel so I'm cross posting to port-macppc@NetBSD.org.  This isn't a
high priority for me, but it'd be nice if it worked.

I've got an unrelated, but showstopping, stability-under-load problem
with arlad on sparc64, that's for another post.

	Jonathan Kollasch