From owner-freebsd-stable@FreeBSD.ORG Sun Nov 3 22:58:53 2013 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 077A4E5E; Sun, 3 Nov 2013 22:58:53 +0000 (UTC) (envelope-from prvs=1019aa81f1=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 747C42862; Sun, 3 Nov 2013 22:58:51 +0000 (UTC) Received: from r2d2 ([82.69.141.170]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50006598066.msg; Sun, 03 Nov 2013 22:58:42 +0000 X-Spam-Processed: mail1.multiplay.co.uk, Sun, 03 Nov 2013 22:58:42 +0000 (not processed: message from valid local sender) X-MDDKIM-Result: neutral (mail1.multiplay.co.uk) X-MDRemoteIP: 82.69.141.170 X-Return-Path: prvs=1019aa81f1=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk Message-ID: From: "Steven Hartland" To: , "Andriy Gapon" References: <20967.760.95825.310085@gargle.gargle.HOWL> <51E80B30.1090004@FreeBSD.org> <20968.10645.880772.30501@gargle.gargle.HOWL> <520202E5.30300@FreeBSD.org> <20994.55913.93606.436124@gargle.gargle.HOWL> Subject: Re: Help with filing a [maybe] ZFS/mmap bug. Date: Sun, 3 Nov 2013 22:58:39 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Cc: hartzell@alerce.com, freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Nov 2013 22:58:53 -0000 ----- Original Message ----- From: "George Hartzell" To: "Andriy Gapon" Cc: ; Sent: Wednesday, August 07, 2013 11:38 PM Subject: Re: Help with filing a [maybe] ZFS/mmap bug. > Andriy Gapon writes: > > on 18/07/2013 20:44 George Hartzell said the following: > > > Andriy Gapon writes: > > > > on 17/07/2013 23:47 George Hartzell said the following: > > > > > How should I move forward with this? > > > > > > > > Could you please try to reproduce this problem using a kernel built with > > > > INVARIANTS options? > > > > > > I added INVARIANT_SUPPORT and INVARIANTS options to the GENERIC > > > kernel, rebuilt it, installed it and running through my "test case" > > > generated a lot of invalid flac files. I"m not sure what the options > > > are/were supposed to do though, it looks like they generally lead to > > > KASSERTS, which lead to abort()'s. Nothing in /var/log/messages or on > > > the console. > > > > George, > > > > do you have anything new on this issue? > > Since the message that you quoted I narrowed down my "test case" > somewhat but I have not yet produced a stand-alone tool that > reproduces it (you still have to go through picard et al.). > > > Could you please try the following patch? > > http://people.freebsd.org/~avg/zfs-putpages.diff > > > > I expect it to not really fix the issue, but it may help to narrow it down. > > Please keep INVARIANTS. > > Absolutely. Probably not until the weekend, but I'll give it a go. > > Thanks for following up. Did you manage to make any progress with this? We're seeing a problem where rrdcached corrupts rrd files and remembering this thread and knowning it uses mmap and we're on ZFS I was wondering it this may be the cause for this issue too. I've just recompiled rrdtool without mmap support and am clearing down all corrupted files but it would be good to know if any progress was made on this? Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.