Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2011 13:37:44 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        luke@hybrid-logic.co.uk
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Guaranteed kernel panic with ZFS + nullfs
Message-ID:  <20110317113744.GT78089@deviant.kiev.zoral.com.ua>
In-Reply-To: <1300334881.3837.126.camel@pow>
References:  <1300334881.3837.126.camel@pow>

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

--8ck+19+G1KZxmYE5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

[Enormous Cc: list trimmed down]
On Thu, Mar 17, 2011 at 12:08:01AM -0400, Luke Marsden wrote:
> Hi all,
>=20
> The following script seems to cause a guaranteed kernel panic on 8.1-R,
> 8.2-R and 8-STABLE as of today (2011-03-16), with both ZFS v14/15, and
> v28 on 8.2-R with mm@ patches from 2011-03. I suspect it may also affect
> 9-CURRENT but have not tested this yet.
>=20
> #!/usr/local/bin/bash
> export POOL=3Dhpool # change this to your pool name
> sudo zfs destroy -r $POOL/foo
> sudo zfs create $POOL/foo
> sudo zfs set mountpoint=3D/foo $POOL/foo
> sudo mount -t nullfs /foo /bar
> sudo touch /foo/baz
> ls /bar # should see baz
> sudo zfs umount -f $POOL/foo # seems okay (ls: /bar: Bad file
> descriptor)
> sudo zfs mount $POOL/foo # PANIC!
>=20
> Can anyone suggest a patch which fixes this? Preferably against
> 8-STABLE :-)
Please show the backtrace.


--8ck+19+G1KZxmYE5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAk2B8ocACgkQC3+MBN1Mb4gijwCgwwMrkZTS63WrcITbR8X9XNYT
4QgAoOnm/8+rlNvBI/OPSx1aUFlQd5pV
=cO+R
-----END PGP SIGNATURE-----

--8ck+19+G1KZxmYE5--



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