From owner-freebsd-current@FreeBSD.ORG Fri Aug 18 20:25:22 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5923716A4DD for ; Fri, 18 Aug 2006 20:25:22 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0A2C43D49 for ; Fri, 18 Aug 2006 20:25:21 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 81CDC5138A; Fri, 18 Aug 2006 22:25:19 +0200 (CEST) Received: from localhost (djz146.neoplus.adsl.tpnet.pl [83.24.3.146]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id B1BBB50E96; Fri, 18 Aug 2006 22:25:14 +0200 (CEST) Date: Fri, 18 Aug 2006 22:25:08 +0200 From: Pawel Jakub Dawidek To: Kris Kennaway Message-ID: <20060818202508.GA88159@garage.freebsd.pl> References: <20060818184656.GB16008@comp.chem.msu.su> <20060818191457.GA78998@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <20060818191457.GA78998@xor.obsecurity.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: Yar Tikhiy , current@freebsd.org Subject: Re: mount * 2 + umount + lookup = GEOM panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2006 20:25:22 -0000 --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--