From owner-freebsd-current@freebsd.org Fri Sep 23 07:43:06 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7950CBE6E9C for ; Fri, 23 Sep 2016 07:43:06 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 662611A35 for ; Fri, 23 Sep 2016 07:43:06 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.ysv.freebsd.org (Postfix) id 61D79BE6E9B; Fri, 23 Sep 2016 07:43:06 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 617D5BE6E9A for ; Fri, 23 Sep 2016 07:43:06 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2EA981A34 for ; Fri, 23 Sep 2016 07:43:06 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id A974E1FE023; Fri, 23 Sep 2016 09:43:04 +0200 (CEST) Subject: Re: head@r305865: kernel panic after cuse4bsd load. To: "Sergey V. Dyatko" , current@freebsd.org References: <20160923093300.56219da5@laptop.minsk.domain> <9267636a-eeb2-913b-72dd-1bc9d6248eed@selasky.org> From: Hans Petter Selasky Message-ID: <42392f1b-3a9c-7ea5-347d-2c3ea385cbe8@selasky.org> Date: Fri, 23 Sep 2016 09:47:52 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <9267636a-eeb2-913b-72dd-1bc9d6248eed@selasky.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Fri, 23 Sep 2016 07:43:06 -0000 On 09/23/16 09:34, Hans Petter Selasky wrote: > On 09/23/16 08:33, Sergey V. Dyatko wrote: >> Hi, >> >> subj. >> >> WTR: >> 1/ kldload cuse >> 2/ kldload cuse4bsd >> >> expected (by me) behavior: 'Cuse4BSD: Please exit all /dev/cuse >> instances and >> processes which have used this device.' message and exit, not kernel >> panic >> > > HI, > > You should only load one of them. make_dev() will panic because of > duplicate /dev/cuse nodes. Do you think it is important that this > use-case works? > > --HPS This should fix it: https://svnweb.freebsd.org/changeset/base/306228 --HPS