Subject: kern/13232: POOL_DIAGNOSTIC && pool.h
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lha@stacken.kth.se>
List: netbsd-bugs
Date: 06/17/2001 22:18:11
>Number:         13232
>Category:       kern
>Synopsis:       POOL_DIAGNOSTIC && vfs-lkms
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 17 13:19:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Love
>Release:        NetBSD-1.5S
>Organization:
	Stacken Computer Club
>Environment:
	
System: NetBSD nutcracker.dynarc.se 1.5W NetBSD 1.5W (NUTCRACKER) #24: Sat Jun 16 02:07:46 CEST 2001 lha@nutcracker.dynarc.se:/usr/src/sys/arch/i386/compile/NUTCRACKER i386
Architecture: i386
Machine: i386
>Description:
	
	Kernels (I tried with 1.5W) build with POOL_DIAGNOSTIC can't
	load lkm with built w/o.

	The problem for a vfs lkm is that PNBUF_PUT uses when freeing
	part the name part of a componentname.

	At least my 1.5S computer could not build the lkm w/o
	DIAGNOSTIC, I'll update to 1.5W (or later) and check again.

>How-To-Repeat:

	Try to do >Description.

	As I understand, this will still happen with changes up to and
	including 1.27 of pool.h.

>Fix:

	Make the functions pool_put and pool_get always exist or
	(better way then running nm of the kernel) provide a way to
	find out with what options a kernel was built.
>Release-Note:
>Audit-Trail:
>Unformatted: