Arla nnpfs fails to load on NetBSD/macppc 3.0

Manuel Bouyer bouyer at antioche.eu.org
Tue Jan 24 22:01:20 CET 2006


On Mon, Jan 23, 2006 at 11:46:25PM -0600, Jonathan A. Kollasch wrote:
> Hi,
> 
> uname -a:
> NetBSD sqornshellous.kollasch.net 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:25:38 UTC 2005  builds at 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 at NetBSD.org.  This isn't a
> high priority for me, but it'd be nice if it worked.

On ppc, pmap_is_modified() is a #define and not a function. You'll have to
include the right file to get it:
powerpc/include/ibm4xx/pmap.h
or
powerpc/include/oea/pmap.h

-- 
Manuel Bouyer <bouyer at antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--


More information about the Arla-drinkers mailing list