From owner-freebsd-current@FreeBSD.ORG Tue Oct 12 20:57:44 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E52F1065679 for ; Tue, 12 Oct 2010 20:57:44 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 7880B8FC1E for ; Tue, 12 Oct 2010 20:57:43 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA25932; Tue, 12 Oct 2010 23:57:38 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1P5luj-000PBX-TQ; Tue, 12 Oct 2010 23:57:37 +0300 Message-ID: <4CB4CBC1.40301@icyb.net.ua> Date: Tue, 12 Oct 2010 23:57:37 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100918 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: Matthew Jacob References: <20101012081744.GA48485@jh> <4CB4646F.3000703@feral.com> In-Reply-To: <4CB4646F.3000703@feral.com> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: HEADS UP: device name checking on device registration 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: Tue, 12 Oct 2010 20:57:44 -0000 on 12/10/2010 16:36 Matthew Jacob said the following: > Good workaround, still a nasty surprising bug. Yeah. I also would prefer ignoring such a partition or somehow sanitizing its name or etc. panic(9) on bad internal state of a kernel sounds appropriate, panic(9) on bad input sounds like trouble. P.S. Matthew, it seems like you have a really unhelpful mail client program: first, it top-posts :-) second, it doesn't always attribute quoted text. It also doesn't cc in replies the addresses that were in to or cc of original message, which may or may not be a good thing. >> On 2010-10-11, barbara wrote: >>> The panic is caused by: >>> g_dev_taste(): make_dev_p() failed (gp->name=ext2fs//, error=22) >>> as I have a linux partition (I swear, it's for my mom!) on the same machine. >>> As I don't care about that partition (being ext4 I can't even mount >>> it), is there any solution other then applying the patch after every >>> csup? >> If you don't need ext2fs labels you can put the following line to >> /boot/loader.conf as a workaround: >> >> kern.geom.label.ext2fs.enable=0 -- Andriy Gapon