From owner-freebsd-current@FreeBSD.ORG Sun Sep 7 06:47:24 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 121E9106567E; Sun, 7 Sep 2008 06:47:24 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from creme-brulee.marcuscom.com (unknown [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id B22048FC0A; Sun, 7 Sep 2008 06:47:23 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.2/8.14.2) with ESMTP id m876mrqd044091; Sun, 7 Sep 2008 02:48:53 -0400 (EDT) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: current Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-MK9IQBqjfp5dEWoiH2cu" Organization: FreeBSD, Inc. Date: Sun, 07 Sep 2008 02:47:29 -0400 Message-Id: <1220770049.10898.40.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: Pawel Jakub Dawidek Subject: Crash when loading zfs.ko X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 07 Sep 2008 06:47:24 -0000 --=-MK9IQBqjfp5dEWoiH2cu Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I'm seeing a very reproducible crash when the ZFS kernel module is loaded with today's -CURRENT. I think it has to do with an extra VOP_UNLOCK() call. Here is a backtrace: http://www.marcuscom.com/downloads/zfs.jpg And here is my proposed patch to fix it: http://www.marcuscom.com/downloads/zfs_znode.c.diff Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-MK9IQBqjfp5dEWoiH2cu Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkjDeQAACgkQb2iPiv4Uz4f4ogCgjJ+Zwwa+5p2UyLFWqLkoV08e WOoAoKXHZh7BMZCx5EZxaQ4Rb4mp144c =5c9u -----END PGP SIGNATURE----- --=-MK9IQBqjfp5dEWoiH2cu--