From owner-freebsd-current@FreeBSD.ORG Thu Apr 8 15:05:41 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFF8B106566B for ; Thu, 8 Apr 2010 15:05:41 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id 72B648FC14 for ; Thu, 8 Apr 2010 15:05:41 +0000 (UTC) Received: by fxm25 with SMTP id 25so1812fxm.3 for ; Thu, 08 Apr 2010 08:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:received:message-id:subject :from:to:cc:content-type; bh=7elZoEmDAi0tKthIfMOcH9KGCdHONe/W+AqdNzKXFHA=; b=W+ObPe4tct8QGCM0to4ICedvLBzJJ/wfEHyZ6ALTUWzZWUvAcKX9o2CZpWEitEQqnM S+HGz709xhFpQTUSe18VQcuPstgakzQ+pfp5qZZtfV9vs54JKJtOVoym4gcbBQT3rJlB 905LqNhYWF03SWudgG7t49xufHYkeXK2mcpAU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=ZuDD1S7627o63Y36xyrAaDzT/2LJJ+QcM+a46JgPZOt2qCfCNyw7BVyf3w21zouvXN Fpgnu6kADGsxmJ1dF03I4TE+k6ZzYU6p3y2fPMFAKxZkJ1A45d0JXKHovJUWYYshUrGY uh5RaIksErntIZ6/lGtGaRxRVV6J0jvyUd+cI= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.239.137.131 with HTTP; Thu, 8 Apr 2010 08:05:39 -0700 (PDT) In-Reply-To: References: <3bbf2fe11002200946h7480d203naabd7a49fd851f5a@mail.gmail.com> Date: Thu, 8 Apr 2010 17:05:39 +0200 X-Google-Sender-Auth: 363eb938774e9524 Received: by 10.239.134.148 with SMTP id 20mr29343hbz.42.1270739139875; Thu, 08 Apr 2010 08:05:39 -0700 (PDT) Message-ID: From: Attilio Rao To: Marcin Cieslak Content-Type: text/plain; charset=UTF-8 Cc: freebsd-current@freebsd.org Subject: Re: ZFS DEADLKRES X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2010 15:05:42 -0000 2010/2/22 Marcin Cieslak : > > > > On Sat, 20 Feb 2010, Attilio Rao wrote: > >> 2010/2/18 Marcin Cieslak : >>> >>> My r203753 amd64 laptop falls into the deadlock situation >>> every night while running periodic daily script. I am pretty >>> certain this is related to ZFS. >>> >>> I have enabled DEADLKRES in the kernel. I even have >>> a separate dump partition (not used for swap). >> >> May you reproduce the bug with WITNESS? >> If you can, you should enable DEADLKRES too and once it panics let >> extract a textdump(4) with the following commands: >> bt, ps, show alllocks, show pcpu, allthreads > > Unfortunately, there is no way to write anything to disk. > All attempts to talk to the ata subsystem from ddb(4) > fail with EIO (probably timeout). This may be a false positive. May you please try the following patch and report if you can fix it does fix it or not?: http://www.freebsd.org/~attilio/Sandvine/deadlkres/deadlkres-blessed.diff Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein