Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2006 12:54:29 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Ulrich Spoerlein <uspoerlein@gmail.com>
Cc:        stable@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: panic: vfs_getopt: caller passed 'opts' as NULL
Message-ID:  <20061101175428.GA33982@xor.obsecurity.org>
In-Reply-To: <7ad7ddd90611010257o75546455p7da194b17037f8ed@mail.gmail.com>
References:  <7ad7ddd90610300741k5789f64j8f410b6e866b99ee@mail.gmail.com> <20061030224935.GA95120@xor.obsecurity.org> <7ad7ddd90610302348j6b7aabc7vc0a89e1e95d8fd27@mail.gmail.com> <20061031184150.GA27161@xor.obsecurity.org> <7ad7ddd90611010257o75546455p7da194b17037f8ed@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061101175428.GA33982>