From owner-freebsd-amd64@FreeBSD.ORG Wed Apr 18 16:40:03 2012 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67193106564A for ; Wed, 18 Apr 2012 16:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 276D98FC1E for ; Wed, 18 Apr 2012 16:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q3IGe3s3022149 for ; Wed, 18 Apr 2012 16:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3IGe34g022148; Wed, 18 Apr 2012 16:40:03 GMT (envelope-from gnats) Resent-Date: Wed, 18 Apr 2012 16:40:03 GMT Resent-Message-Id: <201204181640.q3IGe34g022148@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Aldo Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9C3F106566B for ; Wed, 18 Apr 2012 16:31:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id A44BF8FC12 for ; Wed, 18 Apr 2012 16:31:39 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3IGVdLV033564 for ; Wed, 18 Apr 2012 16:31:39 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q3IGVdau033563; Wed, 18 Apr 2012 16:31:39 GMT (envelope-from nobody) Message-Id: <201204181631.q3IGVdau033563@red.freebsd.org> Date: Wed, 18 Apr 2012 16:31:39 GMT From: Aldo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Wed, 18 Apr 2012 16:51:14 +0000 Cc: Subject: amd64/167067: ZFS panics the server X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2012 16:40:03 -0000 >Number: 167067 >Category: amd64 >Synopsis: ZFS panics the server >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 18 16:40:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Aldo >Release: FreeBSD 9.0-RELEASE #0. AMD64 >Organization: >Environment: FreeBSD -snip- 9.0-RELEASE FreeBSD 9.0-RELEASE #0. AMD64 >Description: Installed FreeBSD. Added the patch to not panic ZFS on "ls -la" (sorry, don't remember number/link, damn, it was related to something assuming FreeBSD in some ondisk structure if I remember) on Solaris created volumes, and recompiled zfs.ko. It mounts my pool and dataset ok. Installed Samba 3.6.4. Also tried 3.6.1, compiled with variuos options with clang or gcc 4.2. Doesn't change. If I run stress tests with scripts it runs fine. When my users try to access the Samba share, the server panics (see attach). It seems something related to concurrency. I moved 200Gb with no problems, when two people open a word document the server is gone. The panic reports it was running smbd in the moment. Pool v28 upgraded from Opensolaris v22. The picture of the dump is here http://forums.freebsd.org/showthread.php?t=31447 >How-To-Repeat: Don't really know, it surely needs several people accessing the share. Files were heavily manipulated on their permissions (setfacl). >Fix: After a full working day trying any kind of sysctl (memory, zil, limits) I decommissioned the server, since it was in production and needed to function. >Release-Note: >Audit-Trail: >Unformatted: