From owner-freebsd-current@FreeBSD.ORG Sun Aug 16 18:09:12 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA4CB1065691; Sun, 16 Aug 2009 18:09:12 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 6A8C78FC43; Sun, 16 Aug 2009 18:09:12 +0000 (UTC) Received: by palm.hoeg.nl (Postfix, from userid 1000) id C88AA1D0E4; Sun, 16 Aug 2009 20:09:11 +0200 (CEST) Date: Sun, 16 Aug 2009 20:09:11 +0200 From: Ed Schouten To: Andrew Gallatin Message-ID: <20090816180911.GL1292@hoeg.nl> References: <4A857D16.9070403@cs.duke.edu> <4A85B9CD.4050802@cs.duke.edu> <20090814193254.GO1884@deviant.kiev.zoral.com.ua> <4A85C325.6050400@cs.duke.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aO2SyuDEANnesPMC" Content-Disposition: inline In-Reply-To: <4A85C325.6050400@cs.duke.edu> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Kostik Belousov , freebsd-current@freebsd.org, Robert Watson Subject: Re: clone_cleanup() doesn't 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: Sun, 16 Aug 2009 18:09:12 -0000 --aO2SyuDEANnesPMC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Andrew Gallatin wrote: > FWIW, the fix to my problem was to add D_NEEDMINOR to > my cdevsw d_flags, to restore the same behavior as FreeBSD 5/6/7 Yes. INVARIANTS should trigger a kernel panic if you use clone_create() without D_NEEDMINOR. I think you probably didn't have it enabled, which means it dies later on. --=20 Ed Schouten WWW: http://80386.nl/ --aO2SyuDEANnesPMC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkqIS0cACgkQ52SDGA2eCwVRTgCeOn7aUNT3MShQersORWIncRAl dFAAniBQvU4wa6g4EIqhC9egfq3W07aN =yB3y -----END PGP SIGNATURE----- --aO2SyuDEANnesPMC--