From owner-freebsd-fs@FreeBSD.ORG Sun Mar 18 07:50:06 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D1A2106566C for ; Sun, 18 Mar 2012 07:50:06 +0000 (UTC) (envelope-from kmtong@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B01888FC0A for ; Sun, 18 Mar 2012 07:50:05 +0000 (UTC) Received: by wern13 with SMTP id n13so6642334wer.13 for ; Sun, 18 Mar 2012 00:50:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=TTyq9gyfOQ53JK/R8a9hayKA4LKvnF3Dg+rffvkpeZs=; b=eRU2wYcdl+i1yMROG418DOAnWe6f3ItV4SQIxMirx/HKZ+vPLXGO6iomd8TSM6Jrtw u17Cc9Ttx9yZZi1QyvYP+VYTOuEXR1Lzv3P8VBnDqxJAHd0NL8pFCWLimJwaYRecnvAL TqGTMlquYZ/Go5evApqubftUUyq570Rgv2Tw4MN3Dcc0rRfRTy+HGTKSRbzGXikaUQkn Y92Upag+VgHl5QUanoRQJWDIjRjRP2ewukeL3V2597suU5bvd6aduAmJm8dbCdauGDQe wsAUvU6MQlR0fwTZresbdiJDfYh1JtcPsVpXMY3wwPdbrnG3RPRk4ctYukoTQF3Y5rVv uBpA== MIME-Version: 1.0 Received: by 10.216.131.2 with SMTP id l2mr4809988wei.3.1332057004676; Sun, 18 Mar 2012 00:50:04 -0700 (PDT) Received: by 10.216.166.201 with HTTP; Sun, 18 Mar 2012 00:50:04 -0700 (PDT) Date: Sun, 18 Mar 2012 15:50:04 +0800 Message-ID: From: Ka Man Tong To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ZFS kernel panic at zio_ddt_free X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2012 07:50:06 -0000 Hi, We are using FreeBSD 9.0 on amd64. Recently we have encountered many kernel panic. And now when the ZFS is mounted (and lastly re-imported using a fresh installation of FreeBSD on i386), the kernel hangs with the stack dump. ... #6 0xc7490154 at zio_ddt_free+0x54 #7 0xc7490411 at zio_execute+0xa1 #8 0xc0a571ba at taskqueue_run_locked+0xca #9 0xc0a580ac at taskqueue_thread_loop+0xbc #10 0xc09ea997 at fork_exit+0x97 #11 0xc0d32b04 at fork_trampoline+0x8 After google for a while, it seems that the function zio_ddt_free is not handled correctly. http://mail.opensolaris.org/pipermail/zfs-discuss/2012-February/050972.html We don't know whether our case is the same as the case in zfs-discuss group. And we would like to take a try on the patch first. Any help would be appreciated. Thanks.