From owner-freebsd-current@FreeBSD.ORG Sun May 18 03:49:54 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1253C37B401 for ; Sun, 18 May 2003 03:49:51 -0700 (PDT) Received: from thalia.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D21D43FA3 for ; Sun, 18 May 2003 03:49:50 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a024.otenet.gr [212.205.215.24]) by thalia.otenet.gr (8.12.9/8.12.9) with ESMTP id h4IAnioA010916 for ; Sun, 18 May 2003 13:49:45 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.9/8.12.9) with ESMTP id h4IAniv1035071 for ; Sun, 18 May 2003 13:49:44 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.9/8.12.9/Submit) id h4IAniRh035070 for current@freebsd.org; Sun, 18 May 2003 13:49:44 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 18 May 2003 13:49:43 +0300 From: Giorgos Keramidas To: current@freebsd.org Message-ID: <20030518104943.GA35028@gothmog.gr> References: <20030514232428.GA731@gothmog.gr> <20030518053557.GA223@HAL9000.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030518053557.GA223@HAL9000.homeunix.com> Subject: Re: Panic with swap-backed md devices X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 10:49:54 -0000 On 2003-05-17 22:35, David Schultz wrote: > On Thu, May 15, 2003, Giorgos Keramidas wrote: > > Trying to create and destroy a swap-backed md device results in panics > > with today's CURRENT. I was trying to make a new -t swap md disk to > > test the problem described in a PR. Using the following small shell > > script I noticed that it always causes a panic when mdconfig -d is run: > > > > mdconfig -a -t swap -s 100m -u 10 > > disklabel -r -w md10 auto > > newfs -O 1 -b 8192 -s 1024 md10 > > mount /dev/md10 /mnt > > mount > > umount /mnt > > mount > > mdconfig -d -u 10 > > The following patch should fix the panic, but there's a small > vm_object leak that's still unfixed. I'll look into that. Thanks :) I'm CVSup'ing now and will build a kernel to test it in 1-2 hours.