Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2011 14:27:08 -0700
From:      Neel Natu <neelnatu@gmail.com>
To:        rank1seeker@gmail.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: MD ROOT and image size limitation (makes kernel panic)
Message-ID:  <BANLkTimQV%2B19g=9TbHCNq1VbDUFoWVaB4Q@mail.gmail.com>
In-Reply-To: <20110516.183617.687.1@DEV>
References:  <20110516.183617.687.1@DEV>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Mon, May 16, 2011 at 11:36 AM,  <rank1seeker@gmail.com> 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 <machine/pmap.h>.

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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimQV%2B19g=9TbHCNq1VbDUFoWVaB4Q>