From owner-freebsd-current@FreeBSD.ORG Wed Aug 5 12:07:16 2009 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 D29A2106567A; Wed, 5 Aug 2009 12:07:16 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 8395A8FC08; Wed, 5 Aug 2009 12:07:16 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from c83-253-252-234.bredband.comhem.se ([83.253.252.234]:40408 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1MYfGw-00025c-4p; Wed, 05 Aug 2009 14:07:12 +0200 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id 1678A182FE1; Wed, 5 Aug 2009 14:07:11 +0200 (CEST) Message-Id: <4F8F7C4A-A760-427A-A97B-92C548DA7BEE@exscape.org> From: Thomas Backman To: Pawel Jakub Dawidek In-Reply-To: <20090805093825.GC1784@garage.freebsd.pl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Wed, 5 Aug 2009 14:07:08 +0200 References: <7544AED1-1216-4A24-B287-F54117641F76@exscape.org> <4A71B239.8060007@freebsd.org> <3AA3C1CB-CEF7-46CC-A9C7-1648093D679E@exsca!pe.org> <4A71BED8.7050300@freebsd.org> <20090805065022.GI2181@garage.freebsd.pl> <7C3499A8-A389-4F28-A800-B6C31B9E09C4@exscape.org> <3ECC4BA0-F1EF-4039-9F39-68532851B572@exscape.org> <20090805093825.GC1784@garage.freebsd.pl> X-Mailer: Apple Mail (2.935.3) X-Originating-IP: 83.253.252.234 X-Scan-Result: No virus found in message 1MYfGw-00025c-4p. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MYfGw-00025c-4p c7fd3707a462c73abece6f994d13433d Cc: freebsd-fs@freebsd.org, FreeBSD current , Andriy Gapon Subject: Re: zfs: Fatal trap 12: page fault while in kernel mode 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: Wed, 05 Aug 2009 12:07:17 -0000 On Aug 5, 2009, at 11:38, Pawel Jakub Dawidek wrote: > On Wed, Aug 05, 2009 at 09:20:58AM +0200, Thomas Backman wrote: >> Oh! I noticed that I actually finised my test case for this panic; I >> thought I stopped midway, but that was something else. >> Here are all the details: >> http://lists.freebsd.org/pipermail/freebsd-fs/2009-July/006585.html >> (If you have the libzfs_sendrecv patch, your own vnops patch and >> DDEBUG=1, there's no need to patch anything at all.) > > I belive it is safe to do the following: > > http://people.freebsd.org/~pjd/patches/zfs_vfsops.c.2.patch > > Could you give it a try? OK, I was wrong, I could give it a try now. :) It seems to work! -DDEBUG=1 and no panic. Just to be sure I tried to revert the patch, and sure enough, solaris assert panic at that line. The backup script (aka. real world test) also did not panic, which it did before. Regards, Thomas