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

John Baldwin jhb at freebsd.org
Mon Dec 23 19:44:00 UTC 2013


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


More information about the freebsd-current mailing list