Subject: kern/4299: kernel can't handle more than 4 VFS LKMs
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 10/19/1997 23:31:41
>Number: 4299
>Category: kern
>Synopsis: kernel can't handle more than 4 VFS LKMs
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 19 14:35:03 1997
>Last-Modified:
>Originator: Matthias Scheler
>Organization:
Matthias Scheler http://home.owl.de/~tron/
>Release: 971015
>Environment:
System: NetBSD lyssa 1.2G NetBSD 1.2G (LYSSA) #2: Sun Oct 19 23:22:12 MEST 1997 tron@lyssa:/src/allsrc/sys/arch/i386/compile/LYSSA i386
>Description:
A kernel based on 971015 sources can't handle more than 5 Virtual Filesystem
loadable kernel modules.
>How-To-Repeat:
Try to load 6 VFS LKMs.
>Fix:
[This patch will make it possible to load 16 VFS LKMs. That will be enough
for a while but it might be necessary to increase the reserved space in
future.]
*** src/sys/kern/vfs_conf.c.orig Mon Oct 6 13:26:24 1997
--- src/sys/kern/vfs_conf.c Sun Oct 19 23:20:57 1997
*************** struct vfsops *vfssw[] = {
*** 171,176 ****
--- 171,188 ----
NULL,
NULL,
NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
#endif
0
};
>Audit-Trail:
>Unformatted: