Re: Arla nnpfs fails to load on NetBSD/macppc 3.0

Manuel Bouyer <[email protected]>
Newsgroups gmane.os.netbsd.ports.macppc,gmane.comp.file-systems.arla.general
Message-ID <[email protected]>
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  [email protected]:/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 [email protected].  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 <[email protected]>
     NetBSD: 26 ans d'experience feront toujours la difference
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.