From owner-freebsd-fs@FreeBSD.ORG Mon May 17 19:51:30 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25BEC106564A for ; Mon, 17 May 2010 19:51:30 +0000 (UTC) (envelope-from Lassi.Tuura@cern.ch) Received: from CERNMX31.cern.ch (cernmx31.cern.ch [137.138.144.179]) by mx1.freebsd.org (Postfix) with ESMTP id 875988FC08 for ; Mon, 17 May 2010 19:51:29 +0000 (UTC) Received: from cernfe12.cern.ch (137.138.140.37) by cernmxgwlb2.cern.ch (137.138.144.179) with Microsoft SMTP Server (TLS) id 14.0.694.0; Mon, 17 May 2010 21:51:26 +0200 Received: from cmsmac01.cern.ch (137.138.52.75) by smtp.cern.ch (137.138.140.59) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 17 May 2010 21:51:26 +0200 MIME-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset="us-ascii" From: Lassi Tuura In-Reply-To: <20100504004905.GA12233@icarus.home.lan> Date: Mon, 17 May 2010 21:51:25 +0200 Content-Transfer-Encoding: 7bit Message-ID: <6B548C21-8049-4680-96CA-07166D5102DE@cern.ch> References: <4529AF96-4BFF-4424-B77F-FE5BC8AE43D3@cern.ch> <20100504004905.GA12233@icarus.home.lan> To: Jeremy Chadwick X-Mailer: Apple Mail (2.1078) Keywords: CERN SpamKiller Note: -50 Cc: freebsd-fs@freebsd.org Subject: Re: Instant crash with ZFS + iozone? 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: Mon, 17 May 2010 19:51:30 -0000 Hi, On May 4, 2010, at 02:49 , Jeremy Chadwick wrote: On Tue, May 04, 2010 at 01:22:35AM +0200, Lassi Tuura wrote: >> I installed 8.0-RELEASE, then 8.0-STABLE 201004 (amd64) on a system >> with 4 * 1TB hard drives for ZFS (2 * Hitachi Deskstar 7K2000, 2 * >> Samsung SpinPoint F3), plus 2GB IDE flash for OS itself (Transcend), >> 4GB ECC RAM, AMD Athlon II X2 235e CPU, Asus M4A78L-M LE motherboard. >> >> I can use the basic system fine. However when I create a ZFS volume >> out of the 4 disks and run iozone on it, the system will reliably die >> within 5 seconds or so, sometimes it takes a little longer, up to a >> minute or so. >> >> By "die" I mean the screen goes completely blank, and it will no >> longer respond to anything - no network, not even ping and any >> existing network connections will die, no keyboard, screen totally >> black without as much as a cursor... nothing. The soft power button >> won't work either. AFAIK the only thing that works is the reset >> button. > > This sounds like a hardware problem to me -- particularly excessive draw > on the PSU, voltage issues, or other whatnots. Especially if the screen > goes black (no cursor, monitor not in power save mode) and requires a > hard reset. Possibly the problem is only witnessed under extreme disk > I/O combined with high CPU usage + memory I/O. It looks like the freezes are caused by PCIe wifi card, TP-LINK TL-WN350GD which is identified as "ath0: mem 0xfebf0000-0xfebfffff irq 21 at device 7.0 on pci3". If I remove the card the system no longer hangs. Swapping PSU, memory or disks does not appear to change this, at least as far as reusing bits from another system did not add or remove freezes. I thought these Atheros chips are quite well supported in FreeBSD, but I am quite new to FreeBSD. Which forum that would be able to help me debug this, why for example it flakes under disk load? The card was by no means expensive, but I'd like to return it while I still can if it's just bad; and obviously, get it to work if this is just some silly conflict issue. Regards, Lassi