From owner-freebsd-stable@FreeBSD.ORG Thu Jul 9 14:06:39 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A71F106568C for ; Thu, 9 Jul 2009 14:06:39 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 7FAF98FC17 for ; Thu, 9 Jul 2009 14:06:38 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA10564; Thu, 09 Jul 2009 17:06:35 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4A55F96B.6070303@icyb.net.ua> Date: Thu, 09 Jul 2009 17:06:35 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.22 (X11/20090630) MIME-Version: 1.0 To: Thomas Ronner References: <1247085058.6197.18.camel@bugstore> In-Reply-To: <1247085058.6197.18.camel@bugstore> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: ZFS: zpool scrub lockup X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2009 14:06:39 -0000 on 08/07/2009 23:30 Thomas Ronner said the following: > Hello, > > I don't know whether this is the right list; maybe freebsd-fs is more > appropriate. So please redirect me there if this isn't the right place. > > My system (i386, Athlon XP) locks hard when scrubbing a certain pool. It > has been doing this for at least a couple of months now. For this reason > I upgraded to 7.2-STABLE recently as this had the latest ZFS bits, but > this doesn't help. It even makes the problem worse: in previous versions > I just hit the reset button and forgot about it, but now it "remembers" > that it was scrubbing (I presume) and tries to resume at the exact same > place, locking up again. This means I haven't been able to mount these > ZFS volumes successfully: the moment I do a /etc/rc.d/zfs start from > single user mode (I have my /, /var and /usr on UFS) it locks up in a > couple of seconds. And by locks up I really mean locks up. No panic, > nothing. Pressing the reset button on the chassis is the only way to > reboot. You can try adding SW_WATCHDOG option to your kernel which might help catching the lockup. Things like INVARIANTS and WITNESS might help th debugging too. Serial console for remote debugging would be very useful too. -- Andriy Gapon