Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2003 13:49:43 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        current@freebsd.org
Subject:   Re: Panic with swap-backed md devices
Message-ID:  <20030518104943.GA35028@gothmog.gr>
In-Reply-To: <20030518053557.GA223@HAL9000.homeunix.com>
References:  <20030514232428.GA731@gothmog.gr> <20030518053557.GA223@HAL9000.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-05-17 22:35, David Schultz <das@FreeBSD.org> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030518104943.GA35028>