Subject: kern/5014: msdosfs LKM won't load into a UVM kernel
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@bga.com>
List: netbsd-bugs
Date: 02/18/1998 02:45:27
>Number: 5014
>Category: kern
>Synopsis: msdosfs LKM won't load into a UVM kernel
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 18 00:50:01 1998
>Last-Modified:
>Originator: Dave Huang
>Organization:
Name: Dave Huang | Mammal, mammal / their names are called /
INet: khym@bga.com | they raise a paw / the bat, the cat /
FurryMUCK: Dahan | dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 22 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Release: NetBSD-current as of February 17, 1998
>Environment:
System: NetBSD dahan.metonymy.com 1.3C NetBSD 1.3C (SPIFF) #185: Tue Feb 17 17:25:49 CST 1998 khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/SPIFF i386
>Description:
The msdosfs LKM won't load into a UVM kernel.
>How-To-Repeat:
# modload msdosfs.o
msdosfs.o: Undefined symbol `_vnode_pager_setsize' referenced from text segment
msdosfs.o: Undefined symbol `_vnode_pager_uncache' referenced from text segment
msdosfs.o: Undefined symbol `_vnode_pager_setsize' referenced from text segment
msdosfs.o: Undefined symbol `_vnode_pager_uncache' referenced from text segment
modload: can't prelink `msdosfs.o' creating `msdosfs'
>Fix:
--- /usr/src/sys/lkm/vfs/msdosfs/Makefile Mon Oct 14 11:40:59 1996
+++ Makefile Wed Feb 18 02:36:48 1998
@@ -13,3 +13,8 @@
SRCS+= msdosfs_vfsops.c msdosfs_vnops.c
.include <bsd.kmod.mk>
+
+# XXX
+.if defined(UVM)
+CPPFLAGS+= -DUVM
+.endif
>Audit-Trail:
>Unformatted: