Subject: Re: Arla nnpfs fails to load on NetBSD/macppc 3.0
To: Jonathan A. Kollasch <>
From: Manuel Bouyer <>
List: port-macppc
Date: 01/24/2006 22:01:20
On Mon, Jan 23, 2006 at 11:46:25PM -0600, Jonathan A. Kollasch wrote:
> Hi,
> uname -a:
> NetBSD 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:25:38 UTC 2005 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  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:

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference