NetBSD Problem Report #9101

Received: (qmail 24723 invoked from network); 1 Jan 2000 22:35:14 -0000
Message-Id: <200001012235.RAA209362@antharia.mit.edu>
Date: Sat, 1 Jan 2000 17:35:11 -0500 (EST)
From: danw@netbsd.org
Reply-To: danw@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: "panic: locking against myself" in uvm_swap.c
X-Send-Pr-Version: 3.95

>Number:         9101
>Category:       kern
>Synopsis:       "panic: locking against myself" in uvm_swap.c
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 01 14:36:00 +0000 2000
>Closed-Date:    Tue Jan 04 21:43:04 +0000 2000
>Last-Modified:  Tue Jan 04 21:44:04 +0000 2000
>Originator:     Dan Winship
>Release:        -current
>Organization:
>Environment:
System: NetBSD frotz 1.4P NetBSD 1.4P (FROTZ) #2: Sat Jan  1 11:59:59 EST 2000 danw@frotz:/usr/src/sys/arch/macppc/compile/FROTZ macppc

>Description:
	Certain swapctl failures can cause the machine to panic.
>How-To-Repeat:
	Try to enable swapping to a partition that isn't listed as a swap
	partition in the disk label
>Fix:
	I think the fix is to revert revision 1.29 of uvm_swap.c: The
	comment in sys_swapctl at line 655 says vp should already be
	locked.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wrstuden 
State-Changed-When: Tue Jan 4 13:43:04 PST 2000 
State-Changed-Why:  
Analysis was correct. Fixed in rev 1.30 -> 1.31 of uvm_swap.c. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.