Subject: port-amd64/36670: DIAGNOSTIC assertion loading a LKM
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 07/20/2007 17:15:00
>Number:         36670
>Category:       port-amd64
>Synopsis:       DIAGNOSTIC assertion loading a LKM
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 20 17:15:00 +0000 2007
>Originator:     Juan RP
>Release:        NetBSD 4.99.24
Juan Romero Pardines	- The NetBSD Project	- NetBSD/pkgsrc news in Spanish
System: NetBSD nocturno 4.99.24 NetBSD 4.99.24 (Nocturno) #567: Fri Jul 20 18:50:19 CEST 2007 juan@nocturno:/home/juan/build/src/obj/sys/arch/amd64/compile/Nocturno amd64
Architecture: x86_64
Machine: amd64

	Loading a LKM with a DIAGNOSTIC/LOCKDEBUG kernel results in a
	panic with a KASSERT in line 607 of uvm_km.c:

	KASSERT(!pmap_extract(pmap_kernel(), loopva, NULL));

	Build a kernel with DIAGNOSTIC/LOCKDEBUG and modload /usr/lkm/pf.o.