From owner-freebsd-current@FreeBSD.ORG Tue Feb 27 10:26:43 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 130B516A404 for ; Tue, 27 Feb 2007 10:26:43 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id BCC4513C48D for ; Tue, 27 Feb 2007 10:26:42 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1HLzXd-0002tM-5k; Tue, 27 Feb 2007 12:26:41 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: John Baldwin In-reply-to: <200702261653.48794.jhb@freebsd.org> References: <200702261653.48794.jhb@freebsd.org> Comments: In-reply-to John Baldwin message dated "Mon, 26 Feb 2007 16:53:48 -0500." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 27 Feb 2007 12:26:41 +0200 From: Danny Braniss Message-ID: Cc: freebsd-current@freebsd.org Subject: Re: problems porting iSCSI to current 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: Tue, 27 Feb 2007 10:26:43 -0000 > On Monday 19 February 2007 04:53, Danny Braniss wrote: > > Hi all, > > im getting stuck in destroy_dev(...) because > > si_threadcount is not zero, (actually 1 before the call), > > all this in sys/kern_conf.c. > > what magic am I doing wrong? > > Don't call destroy_dev() in your close routine. > and how will the device created by make_dev get destroyed? merlin to the rescue ... danny > -- > John Baldwin