From owner-freebsd-stable@FreeBSD.ORG Mon May 31 04:18:44 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 E9F4F106566B for ; Mon, 31 May 2010 04:18:44 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta15.emeryville.ca.mail.comcast.net (qmta15.emeryville.ca.mail.comcast.net [76.96.27.228]) by mx1.freebsd.org (Postfix) with ESMTP id C54FF8FC16 for ; Mon, 31 May 2010 04:18:44 +0000 (UTC) Received: from omta18.emeryville.ca.mail.comcast.net ([76.96.30.74]) by qmta15.emeryville.ca.mail.comcast.net with comcast id Q3xD1e0011bwxycAF4JkDF; Mon, 31 May 2010 04:18:44 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta18.emeryville.ca.mail.comcast.net with comcast id Q4Jj1e00D3S48mS8e4JjRi; Mon, 31 May 2010 04:18:44 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 99B7A9B418; Sun, 30 May 2010 21:18:43 -0700 (PDT) Date: Sun, 30 May 2010 21:18:43 -0700 From: Jeremy Chadwick To: Dave Hayes Message-ID: <20100531041843.GA66732@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201005310242.o4V2glZX057087@hugeraid.jetcafe.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Garrett Cooper , freebsd-stable@freebsd.org, Clifton Royston 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 04:18:45 -0000 On Sun, May 30, 2010 at 07:42:47PM -0700, Dave Hayes wrote: > Garrett Cooper writes: > > This is how I do it in my quickie loader.rc: > > include /boot/loader.4th > > set vfs.root.mountfrom="ufs:/dev/md0" > > load /kernel > > load -t mfs_root /mfsroot > > start > > I used to do exactly this back at FreeBSD 4.11 to boot off a cdrom. > Nice to know it still works this way. > > Jeremy Chadwick writes: > > However, what I'm having trouble understanding is what exactly > > preload_search_info() looks for and how all this actually connects > > and works. It appears to me that there are specific drivers located in > > src/sys/dev that are KLD-supported and others which are expected to be > > included in the kernel statically. > > Maybe this confusion explains why /dev/md0c is giving me random crashes > at the moment? > > Of course, another theory might be the size of my initial ramdisk > (300Mb). Would there any known bug where booting off a large ramdisk > causes unreadable panics to flash past the console too rapidly to view? Is the mfsroot file compressed (.gz extension)? Reason I ask is that the OP states he's using RELENG_7... http://jdc.parodius.com/freebsd/pxeboot_serial_install_7.html#step7 -- | 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 |