From owner-freebsd-stable@FreeBSD.ORG Mon May 31 18:45:26 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 940BC106566B for ; Mon, 31 May 2010 18:45:26 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta11.emeryville.ca.mail.comcast.net (qmta11.emeryville.ca.mail.comcast.net [76.96.27.211]) by mx1.freebsd.org (Postfix) with ESMTP id 73BD88FC15 for ; Mon, 31 May 2010 18:45:26 +0000 (UTC) Received: from omta02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by qmta11.emeryville.ca.mail.comcast.net with comcast id QHAW1e0030QkzPwABJlRtS; Mon, 31 May 2010 18:45:25 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta02.emeryville.ca.mail.comcast.net with comcast id QJlR1e00L3S48mS8NJlRym; Mon, 31 May 2010 18:45:25 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 6CDF39B418; Mon, 31 May 2010 11:45:25 -0700 (PDT) Date: Mon, 31 May 2010 11:45:25 -0700 From: Jeremy Chadwick To: Dave Hayes Message-ID: <20100531184525.GA89545@icarus.home.lan> References: <201005272348.o4RNmgWh014243@hugeraid.jetcafe.org> <20100528043006.GA18560@lava.net> <201005281757.o4SHvTwq020905@hugeraid.jetcafe.org> <20100528191828.GA83371@icarus.home.lan> <201005281926.o4SJQCW3041849@hugeraid.jetcafe.org> <20100528215837.GA86689@icarus.home.lan> <201005310242.o4V2glZX057087@hugeraid.jetcafe.org> <20100531041843.GA66732@icarus.home.lan> <201005311825.o4VIPp5F051573@hugeraid.jetcafe.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201005311825.o4VIPp5F051573@hugeraid.jetcafe.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Garrett Cooper , freebsd-stable@freebsd.org, Clifton Royston , jhb@freebsd.org Subject: Re: Locking a file backed mdconfig into memory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 18:45:26 -0000 On Mon, May 31, 2010 at 11:25:51AM -0700, Dave Hayes wrote: > Jeremy Chadwick writes: > > Is the mfsroot file compressed (.gz extension)? Reason I ask is that > > the OP states he's using RELENG_7... > > Yes it is compressed. > > > http://jdc.parodius.com/freebsd/pxeboot_serial_install_7.html#step7 > > Thanks much for this. I did a simple test, I rebuilt a DVD that wasn't > booting to use a lower level of compression (gzip -9 to gzip -6) on > mfsroot without changing anything else. This caused it to boot normally. > > I'm not sure it's conclusive evidence, but it certainly looks like a > weak datapoint supporting this kernel bug being the source of my > problem. > > Is this problem fixed in 8.0 or by a patch? With regards to said bug, gzip compression seems to work fine on RELENG_8, at least in my experiences: http://jdc.parodius.com/freebsd/pxeboot_serial_install_8.html I'm not sure the level of compression is what triggers the bug though; I haven't tested all levels (1 through 9). CC'ing jhb@ since he last updated PR kern/120127 (which I would say is still a problem on RELENG_7 :-) ). John, are you aware of any gzip decompression / mfsroot changes which might explain the problem on RELENG_7? I haven't done a "thorough" series of tests, but on my testbed boxes RELENG_8 works fine with a gzip'd mfsroot. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |