Subject: kern/13232: POOL_DIAGNOSTIC && pool.h
To: None <>
From: None <>
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
>Originator:     Love
>Release:        NetBSD-1.5S
	Stacken Computer Club
System: NetBSD 1.5W NetBSD 1.5W (NUTCRACKER) #24: Sat Jun 16 02:07:46 CEST 2001 i386
Architecture: i386
Machine: i386
	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.


	Try to do >Description.

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


	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.