Date: Sun, 16 Aug 2009 20:09:11 +0200 From: Ed Schouten <ed@80386.nl> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: Kostik Belousov <kostikbel@gmail.com>, freebsd-current@freebsd.org, Robert Watson <rwatson@freebsd.org> Subject: Re: clone_cleanup() doesn't Message-ID: <20090816180911.GL1292@hoeg.nl> In-Reply-To: <4A85C325.6050400@cs.duke.edu> References: <4A857D16.9070403@cs.duke.edu> <alpine.BSF.2.00.0908141737370.82989@fledge.watson.org> <4A85B9CD.4050802@cs.duke.edu> <20090814193254.GO1884@deviant.kiev.zoral.com.ua> <4A85C325.6050400@cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--aO2SyuDEANnesPMC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Andrew Gallatin <gallatin@cs.duke.edu> 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 <ed@80386.nl> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090816180911.GL1292>