From owner-freebsd-fs@FreeBSD.ORG Tue Oct 4 08:03:40 2011 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61459106566C for ; Tue, 4 Oct 2011 08:03:40 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id EF9768FC12 for ; Tue, 4 Oct 2011 08:03:39 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:906c:6af3:5301:18c6]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 1F7794AC1C; Tue, 4 Oct 2011 12:03:38 +0400 (MSD) Date: Tue, 4 Oct 2011 12:03:30 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <81957544.20111004120330@serebryakov.spb.ru> To: "Andrey V. Elsukov" In-Reply-To: <4E8A87CD.2080001@yandex.ru> References: <1258376930.20111002193223@serebryakov.spb.ru> <228926402.20111002231459@serebryakov.spb.ru> <349860851.20111003113417@serebryakov.spb.ru> <4E8986F0.3050007@freebsd.org> <1223820108.20111003161859@serebryakov.spb.ru> <4E8A87CD.2080001@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable Cc: fs@freebsd.org Subject: Re: code in GEOM thread could not use vnode API (Was: alq_open_flags() panics in _mtx_lock_flags()) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2011 08:03:40 -0000 Hello, Andrey. You wrote 4 =CF=CB=D4=D1=C2=D2=D1 2011 =C7., 8:13:01: >> This is geom_zero module, which try to create ALQ with name >> "/var/log/zero.alq.log" on it load (not creation! So, you don't need >> even create such GEOM!). Please note, that "init" callback of GEOM >> class is called in g_event GEOM thread. > Did you try just release the topology lock before alq_open and acquire it= back > before exit from _init method? Yep. Doesn't help. Same panic in same place. --=20 // Black Lion AKA Lev Serebryakov