From owner-freebsd-stable@FreeBSD.ORG Sat Nov 17 11:20:10 2007 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 EB59316A41A; Sat, 17 Nov 2007 11:20:10 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (unknown [IPv6:2001:41d0:1:2ad2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7603713C45B; Sat, 17 Nov 2007 11:20:10 +0000 (UTC) (envelope-from hlh@restart.be) Received: from restart.be (avoriaz.tunnel.bel [IPv6:2001:41d0:1:2ad2::fffe:0]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "avoriaz.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTP id 5E7A31BAC27; Sat, 17 Nov 2007 12:20:09 +0100 (CET) Received: from morzine.restart.bel (morzine6.restart.bel [IPv6:2001:41d0:1:2ad2::1:2]) (authenticated bits=0) by restart.be (8.14.1/8.14.1) with ESMTP id lAHBK6Yt039243; Sat, 17 Nov 2007 12:20:06 +0100 (CET) (envelope-from hlh@restart.be) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=restart.be; s=avoriaz; t=1195298408; bh=EaSOO54+rahyca4nG2+xz9SIv3A/pu5P+yhCsJh 9ZbU=; h=DomainKey-Signature:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:X-Scanned-By; b=SmhJpUNeYNS I8xBso60oh8LSPriDkCG4xGGMQsLTH/8aRL1dhezMY+2S+BbUHYQiM+bCLIwRA1lvEt g9hQbUvA== DomainKey-Signature: a=rsa-sha1; s=avoriaz; d=restart.be; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:content-type: content-transfer-encoding:x-scanned-by; b=05xah0ERbspPx7FEU+2rg8MhAWHCOrHL3fv8rZM8fwfdA3dbU0WKBbGZNC8BjZfTQ fGhULuzuDKT21Qhlfy0mw== Message-ID: <473ECE66.4040901@restart.be> Date: Sat, 17 Nov 2007 12:20:06 +0100 From: Henri Hennebert Organization: RestartSoft User-Agent: Thunderbird 2.0.0.6 (X11/20071101) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <47348CAC.5020208@restart.be> <20071110085312.GG37371@garage.freebsd.pl> <4735986F.5000307@restart.be> <20071110124806.GI37371@garage.freebsd.pl> <47371A4F.9080004@restart.be> In-Reply-To: <47371A4F.9080004@restart.be> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.63 on IPv6:2001:41d0:1:2ad2::1:1 Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: ZFS deadlock ? 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: Sat, 17 Nov 2007 11:20:11 -0000 Henri Hennebert wrote: > Pawel Jakub Dawidek wrote: >> On Sat, Nov 10, 2007 at 12:39:27PM +0100, Henri Hennebert wrote: >>> Pawel Jakub Dawidek wrote: >>>> On Fri, Nov 09, 2007 at 05:37:00PM +0100, Henri Hennebert wrote: >>>>> hello >>>>> >>>>> To push zfs, I launch 2 scrub at the same time, after ~20 seconds >>>>> the system freeze: >>>> [...] >>>> >>>> I found a deadlock too. If it's reproducable for you, can you try this >>>> patch: >>> I reproduce it after 30 minutes, si I try you patch. >>> >>>> http://people.freebsd.org/~pjd/patches/zgd_done.patch >>> when I try to load zfs.ko I get: >>> >>> # kldload zfs >>> link_elf: symbol kproc_create undefined >>> kldload: can't load zfs: No such file or directory >>> >>> What must I add to my config to resolve this symbol / problem >> >> Ouch, you don't use HEAD. Try changing kproc_*() to kthread_*(). >> > Today, after more than 10 scrubs, no deadlock. This patch is effective. > Maybe this is not related, but when I copy a 600MB file from zfs to a ufs under gjournal, my system freeze completely. A break on the serial console don't go to debugging! Henri