From owner-freebsd-stable@FreeBSD.ORG Thu Sep 12 07:45:52 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5ADD08FE for ; Thu, 12 Sep 2013 07:45:52 +0000 (UTC) (envelope-from olgeni@olgeni.com) Received: from olgeni.olgeni.com (host-156-246-171-31.cloudsigma.com [31.171.246.156]) by mx1.freebsd.org (Postfix) with ESMTP id 1FF78280F for ; Thu, 12 Sep 2013 07:45:51 +0000 (UTC) Received: from [192.168.0.196] (93-62-212-84.ip24.fastwebnet.it [93.62.212.84]) by olgeni.olgeni.com (Postfix) with ESMTPSA id 43101174482; Thu, 12 Sep 2013 09:45:49 +0200 (CEST) Date: Thu, 12 Sep 2013 09:45:48 +0200 (CEST) From: Jimmy Olgeni X-X-Sender: olgeni@localhost.my.domain To: Konstantin Belousov Subject: Re: Possible kqueue related issue on STABLE/RC. In-Reply-To: <20130912073643.GM41229@kib.kiev.ua> Message-ID: References: <20130911171913.GG41229@kib.kiev.ua> <20130912073643.GM41229@kib.kiev.ua> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: 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: Thu, 12 Sep 2013 07:45:52 -0000 On Thu, 12 Sep 2013, Konstantin Belousov wrote: >> This time I tried with clang + these options and I got something more >> interesting. All works fine until the lock violation below: > Clang is, well, not relevant there. Still, with clang I could get a hard reset rather than a hang. But maybe there are two different issues. I'll run more tests and see if the fifo problem goes away with your patch below. > It seems you edited the kernel output, at least rearranging large blocks > of text. I tried to interpret what I see in a useful way. I got the message buffer from a minidump, here: http://olgeni.olgeni.com/~olgeni/textdump.tar.1 > Might be, your issue is that some filesystems do not care about proper > locking mode for the fifos. UFS carefully disables shared locking for > VFIFO, but it seems ZFS is not. I can propose the following band-aid, > which could help you. Thanks a lot! I'll give it a run when I get back home. -- jimmy