Date: Fri, 18 Aug 2006 22:25:08 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Kris Kennaway <kris@obsecurity.org> Cc: Yar Tikhiy <yar@comp.chem.msu.su>, current@freebsd.org Subject: Re: mount * 2 + umount + lookup = GEOM panic Message-ID: <20060818202508.GA88159@garage.freebsd.pl> In-Reply-To: <20060818191457.GA78998@xor.obsecurity.org> References: <20060818184656.GB16008@comp.chem.msu.su> <20060818191457.GA78998@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--6TrnltStXW4iwmi0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 18, 2006 at 03:14:57PM -0400, Kris Kennaway wrote: > On Fri, Aug 18, 2006 at 10:46:57PM +0400, Yar Tikhiy wrote: > > Hi all, > >=20 > > Here is a recipe how to panic CURRENT's GENERIC kernel from the > > command line: > >=20 > > (enter single-user mode) > >=20 > > # mount -r /usr > > # mount -r /usr > > # umount /usr > > # cat > > [panic!] > >=20 > > As shown below, the panic happens in GEOM when /bin/sh searches > > $PATH for cat(1). The recipe works in 6-STABLE, too. Is anybody > > interested? Thanks! >=20 > This has been reported a number of times before, apparently it's > difficult to solve. No, it's difficult to solve in a architectural clean way, but IMHO this bug should be fixed. I've a fix for this (which allows for multiple read-only mounts). It's hackish, but works. Unfortunately phk@ didn't agree on committing it, so next time, please CC him:) --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFE5iIkForvXbEpPzQRAlH7AJ0faWtjxcX/CnwhXmS5IQ+oNIPU0ACgsIyL LJN7eOp6aC4nRkSme+K2x6Y= =ruRl -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060818202508.GA88159>