Date: Tue, 12 Oct 2010 23:57:37 +0300 From: Andriy Gapon <avg@icyb.net.ua> To: Matthew Jacob <mj@feral.com> Cc: freebsd-current@freebsd.org Subject: Re: HEADS UP: device name checking on device registration Message-ID: <4CB4CBC1.40301@icyb.net.ua> In-Reply-To: <4CB4646F.3000703@feral.com> References: <LA593D$584FAABD3BF6073282A094BECDF03362@libero.it> <20101012081744.GA48485@jh> <4CB4646F.3000703@feral.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CB4CBC1.40301>