From owner-freebsd-fs@FreeBSD.ORG Thu May 15 18:50:01 2014 Return-Path: Delivered-To: freebsd-fs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B07C7E31 for ; Thu, 15 May 2014 18:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9BDA5270E for ; Thu, 15 May 2014 18:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4FIo0nv037649 for ; Thu, 15 May 2014 18:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4FIo0wI037636; Thu, 15 May 2014 18:50:00 GMT (envelope-from gnats) Date: Thu, 15 May 2014 18:50:00 GMT Message-Id: <201405151850.s4FIo0wI037636@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org Cc: From: Radim Kolar Subject: RE: kern/189355: zfs panic on 10-stable Reply-To: Radim Kolar X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2014 18:50:01 -0000 The following reply was made to PR kern/189355; it has been noted by GNATS. From: Radim Kolar To: Steven Hartland , "freebsd-fs@FreeBSD.org" , "bug-followup@freebsd.org" Cc: Subject: RE: kern/189355: zfs panic on 10-stable Date: Thu, 15 May 2014 18:44:37 +0000 --_3fd876d8-95d2-45ec-9c06-a4c1351e561f_ Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable crash stack from patched kernel #7 0xc092336c in calltrap () at /usr/src/sys/i386/i386/exception.s:170 #8 0xc069345d in kdb_enter (why=3D0xc09a7ef8 "panic"=2C msg=3D) at cpufunc.h:71 #9 0xc065710f in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:823 #10 0xc0939acb in dblfault_handler () at /usr/src/sys/i386/i386/trap.c:1072 #11 0xc0cb8187 in vdev_queue_io_to_issue (vq=3D0xc46ab300) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f= s/zfs/vdev_queue.c:489 #12 0xc0cb8119 in vdev_queue_io (zio=3D0xc486c5b8) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f= s/zfs/vdev_queue.c:768 #13 0xc0cd8704 in zio_vdev_io_start (ziop=3D) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f= s/zfs/zio.c:2617 #14 0xc0cd4e28 in zio_execute (zio=3D0xc486c5b8) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f= s/zfs/zio.c:1357 #15 0xc0cb7604 in vdev_mirror_io_start (zio=3D0xc476f000) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f= s/zfs/vdev_mirror.c:284 #16 0xc0cd854f in zio_vdev_io_start (ziop=3D) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f= s/zfs/zio.c:2537 #17 0xc0cd4e28 in zio_execute (zio=3D0xc476f000) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f= s/zfs/zio.c:1357 #18 0xc0ca0ddc in spa_load_verify_cb (zilog=3D0x0=2C bp=3D=2C dnp=3D0xc4b0fa00=2C arg=3D) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f= s/zfs/spa.c:1887 #19 0xc0c5eb79 in traverse_visitbp (td=3D0xd93f1120=2C dnp=3D0xc46ab300=2C bp=3D0xc4b18100=2C zb=3D0xd93f06b0) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f= s/zfs/dmu_traverse.c:272 #20 0xc0c5edb0 in traverse_visitbp (td=3D0xd93f1120=2C dnp=3D0xc4b0fa00=2C = bp=3D0x80=2C zb=3D0xd93f07a8) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f= s/zfs/dmu_traverse.c:306 failing line 489 is: if (avl_numnodes(&vq->vq_active_tree) >=3D zfs_vdev_max_active) return (ZIO_PRIORITY_NUM_QUEUEABLE)=3B = --_3fd876d8-95d2-45ec-9c06-a4c1351e561f_ Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable
crash stack from patched kernel<= br>
#7 =3B 0xc092336c in calltrap () at /usr/src/sys/i386/i386/excep= tion.s:170
#8 =3B 0xc069345d in kdb_enter (why=3D0xc09a7ef8 "panic"= =2C
 =3B =3B =3B msg=3D<=3Bvalue optimized out>=3B) at c= pufunc.h:71
#9 =3B 0xc065710f in panic (fmt=3D<=3Bvalue optimized = out>=3B)
 =3B =3B =3B at /usr/src/sys/kern/kern_shutdown.c= :823
#10 0xc0939acb in dblfault_handler () at /usr/src/sys/i386/i386/tra= p.c:1072
#11 0xc0cb8187 in vdev_queue_io_to_issue (vq=3D0xc46ab300)
&= nbsp=3B =3B =3B at /usr/src/sys/modules/zfs/../../cddl/contrib/open= solaris/uts/common/fs/zfs/vdev_queue.c:489
#12 0xc0cb8119 in vdev_queue_= io (zio=3D0xc486c5b8)
 =3B =3B =3B at /usr/src/sys/modules/z= fs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c:768
#13= 0xc0cd8704 in zio_vdev_io_start (ziop=3D<=3Bvalue optimized out>=3B) =3B =3B =3B at /usr/src/sys/modules/zfs/../../cddl/contrib/o= pensolaris/uts/common/fs/zfs/zio.c:2617
#14 0xc0cd4e28 in zio_execute (z= io=3D0xc486c5b8)
 =3B =3B =3B at /usr/src/sys/modules/zfs/..= /../cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:1357
#15 0xc0cb7604= in vdev_mirror_io_start (zio=3D0xc476f000)
 =3B =3B =3B at = /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/v= dev_mirror.c:284
#16 0xc0cd854f in zio_vdev_io_start (ziop=3D<=3Bvalue= optimized out>=3B)
 =3B =3B =3B at /usr/src/sys/modules/z= fs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:2537
#17 0xc0c= d4e28 in zio_execute (zio=3D0xc476f000)
 =3B =3B =3B at /usr= /src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c= :1357
#18 0xc0ca0ddc in spa_load_verify_cb (zilog=3D0x0=2C bp=3D<=3Bva= lue optimized out>=3B=2C
 =3B =3B =3B dnp=3D0xc4b0fa00=2C = arg=3D<=3Bvalue optimized out>=3B)
 =3B =3B =3B at /usr/= src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c:= 1887
#19 0xc0c5eb79 in traverse_visitbp (td=3D0xd93f1120=2C dnp=3D0xc46a= b300=2C
 =3B =3B =3B bp=3D0xc4b18100=2C zb=3D0xd93f06b0)
=  =3B =3B =3B at /usr/src/sys/modules/zfs/../../cddl/contrib/ope= nsolaris/uts/common/fs/zfs/dmu_traverse.c:272
#20 0xc0c5edb0 in traverse= _visitbp (td=3D0xd93f1120=2C dnp=3D0xc4b0fa00=2C bp=3D0x80=2C
 =3B&n= bsp=3B =3B zb=3D0xd93f07a8)
 =3B =3B =3B at /usr/src/sys= /modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_traverse.= c:306

failing line 489 is:

 =3B =3B =3B =3B&n= bsp=3B =3B =3B if (avl_numnodes(&=3Bvq->=3Bvq_active_tree) >= =3B=3D zfs_vdev_max_active)
 =3B =3B =3B =3B =3B&nbs= p=3B =3B =3B =3B =3B =3B =3B =3B =3B = =3B return (ZIO_PRIORITY_NUM_QUEUEABLE)=3B


= --_3fd876d8-95d2-45ec-9c06-a4c1351e561f_--