Re: panic with deactivated geom mirror (both 9.2 and 10.0-RC2)

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 23 Dec 2013 11:56:47 -0500
On Wednesday, December 18, 2013 11:52:54 pm Kurt Lidl wrote:
> Greetings all -
> 
> I've got a completely reproducible panic when issuing a
> 'gmirror status' command on a recently deactivated gmirror.
> 
> NOTE:  This only happens on a machine with more than 1 CPU.
> 
> I filed a bug report on it:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=184985
> 
> Script to reproduce the panic:
> (assumes /dev/ada0p3 is a scratch partition)
> 
> while :
> do
>    gmirror label -v scratch /dev/ada0p3
>    newfs /dev/mirror/scratch
>    mount /dev/mirror/scratch /mnt
>    umount -f /mnt
>    gmirror deactivate scratch /dev/ada0p3
>    gmirror status scratch
> done
> 
> I've attached the core.txt.0 file from the crash under 10.0-RC2.
> Probably stripped by the mailing list. A copy is at
> 	http://www.pix.net/staff/lidl/freebsd/core.txt.0

Can you do 'frame 9' and then 'p *gp' and 'p *sc' in kgdb?

-- 
John Baldwin
Received on Mon Dec 23 2013 - 18:44:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:45 UTC