From owner-freebsd-stable@FreeBSD.ORG Wed Nov 1 17:54:37 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87E9C16A407 for ; Wed, 1 Nov 2006 17:54:37 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B45243D6B for ; Wed, 1 Nov 2006 17:54:37 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 0012F1A4D88; Wed, 1 Nov 2006 09:54:36 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2A8B051374; Wed, 1 Nov 2006 12:54:29 -0500 (EST) Date: Wed, 1 Nov 2006 12:54:29 -0500 From: Kris Kennaway To: Ulrich Spoerlein Message-ID: <20061101175428.GA33982@xor.obsecurity.org> References: <7ad7ddd90610300741k5789f64j8f410b6e866b99ee@mail.gmail.com> <20061030224935.GA95120@xor.obsecurity.org> <7ad7ddd90610302348j6b7aabc7vc0a89e1e95d8fd27@mail.gmail.com> <20061031184150.GA27161@xor.obsecurity.org> <7ad7ddd90611010257o75546455p7da194b17037f8ed@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline In-Reply-To: <7ad7ddd90611010257o75546455p7da194b17037f8ed@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: stable@freebsd.org, Kris Kennaway Subject: Re: panic: vfs_getopt: caller passed 'opts' as NULL X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 17:54:37 -0000 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 01, 2006 at 11:57:48AM +0100, Ulrich Spoerlein wrote: > I grepped /sys for DEBUG_VFS_LOCKS and it seems to only add some > additional KASSERTs, but not the one which triggered in the original > panic. >=20 > Nullfs seems more fragile than I initially thought ... It's just that compiling in the extra debugging (it might be DEBUG_LOCKS or DEBUG_VFS_LOCKS, I forget which), causes the sizes of structures to change, so when the module tries to fondle the structure at a certain offset thinking it's accessing a certain field, it's really fondling something else entirely and the kernel gets a nasty surprise and panics. Kris --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFSN9UWry0BWjoQKURAl1SAJ42FFZxnRWt2KWslxhx5pqHPgJDkQCgl5+1 gL3WjSLW89Y4JgSDtzMiOlk= =MyOG -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8--