Subject: Re: kern/33374
To: Chapman Flack <nblists@anastigmatix.net>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 04/27/2006 09:33:19
--9Iq5ULCa7nGtWwZS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 27, 2006 at 02:03:27AM -0400, Chapman Flack wrote:
> Garrett D'Amore wrote (on another topic):
> >Any of our kernel experts should be able to do it in half that time.
>=20
> Ah, now what would really make *my* day at the moment would be to
> find out there's a kernel expert who can quickly see the fix to
> kern/33374 - I've gone about as far as I can without a break to
> absorb vnode(9)....
>=20
> ----
> NetBSD 3.99.18 NetBSD 3.99.18 (olaf) #4: Mon Apr 24 17:00:37 EDT 2006=20
> xxx@xxx:/usr/src/sys/arch/i386/compile/olaf i386
>=20
> A simple combination of a null mount and a union mount incurs a
> repeatable panic on the third attempt to 'ls' it.
>=20
> boot -s
> # mount /tmp
> # cd /tmp
> # mkdir t0 t0/t1 t1 t2
> # mount_null t1 t0/t1
> # mount_union t2 t0

Oh. That won't work right. Layered file systems don't deal with the=20
underlying file system being mounted on.

> # ls -R t0
> t1
> t0/t1:
> # ls -R t0
> t1
> t0/t1:
> # ls -R t0
> panic: vref used where vget required, vp 0xcb82c7ec
>=20
> traceback is in the PR (partial, copied by hand from ddb)

Take care,

Bill

--9Iq5ULCa7nGtWwZS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFEUPJPWz+3JHUci9cRAtQ2AJwMZDNds6A3LL3pZIHZujiHMm+ozACeI0TH
/caxL6MZYanUUPfTpOmS7MA=
=NuY4
-----END PGP SIGNATURE-----

--9Iq5ULCa7nGtWwZS--