From owner-freebsd-hackers@FreeBSD.ORG Mon May 16 21:57:29 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D29DE1065670 for ; Mon, 16 May 2011 21:57:29 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 91F908FC08 for ; Mon, 16 May 2011 21:57:29 +0000 (UTC) Received: by ywf7 with SMTP id 7so2100130ywf.13 for ; Mon, 16 May 2011 14:57:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=BqcwoY7hzn7XlvEvkFcZIdvbkNEERkXpA47NXCgP80Y=; b=w+JzXSV2eX5Y1WCdjmdAVVBbkE1BKI9fEeaM6RZMz7NLNc510Sm3CyI9S0yXlVF2Si fG1KT6k/FM0f135clb4xMzGGO2jCdvEHaUVJWYlX2kntXzN8WKD/lF3OMXyVNajP0JT/ 0JdHSIKv1MA7Hjd+yvJnKvzTk4DhRC4088T04= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=NCQhoxetx9fLOrpkzPjDQE9uRdLrKf2EjogJRECd/3Y6Kx+wirQT+SM3nroDtNwseG oe9dRqUwWcPYpXVduUcc5oMLJdh01mI2t9qX1VJUGNghZPwKijNBvMT2DyXXp0TU4Sbi svtI8C2jwqDZpB99BKWFMwVcvl3AWY8dIBRzA= MIME-Version: 1.0 Received: by 10.236.108.177 with SMTP id q37mr4969618yhg.14.1305581228931; Mon, 16 May 2011 14:27:08 -0700 (PDT) Received: by 10.236.109.167 with HTTP; Mon, 16 May 2011 14:27:08 -0700 (PDT) In-Reply-To: <20110516.183617.687.1@DEV> References: <20110516.183617.687.1@DEV> Date: Mon, 16 May 2011 14:27:08 -0700 Message-ID: From: Neel Natu To: rank1seeker@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org Subject: Re: MD ROOT and image size limitation (makes kernel panic) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2011 21:57:29 -0000 Hi, On Mon, May 16, 2011 at 11:36 AM, wrote: > I have a 4 GB or ram, so why kernel panic with my MD ROOT, if larger then > ~40 MB? > I've tried to split up root in 20MB image and usr in 160 MB > Via loader.conf root becomes md0 and usr md1 and panic occurs even when > they are split > > I had to get rid of md1, to be able to boot with md0 as a root. > > What exactly imposes limitation, inside kernel's code to SIZE of an image? > My hardware definatelly isn't ... > > Is this different on amd64? > I've tested this, only with i386. > We hit this problem at work and the solution was to increase NKPT. If you are using -current then NKPT is already a kernel config option. With 8.x you will need to modify . best Neel > > Domagoj S. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >