Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2011 20:43:29 +0200
From:      rank1seeker@gmail.com
To:        hackers@freebsd.org
Subject:   Re: 8.2R i386 bassed md root, doesn't like all machines
Message-ID:  <20111011.184329.046.1@DEV>
In-Reply-To: <4E5F8E91.3060206@gmail.com>
References:  <20110901.131731.343.1@DEV> <4E5F8E91.3060206@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----=0D=0AFrom: Mark Tinguely =
<marktinguely@gmail.com>=0D=0ATo: rank1seeker@gmail.com=0D=0ACc: =
hackers@freebsd.org=0D=0ADate: Thu, 01 Sep 2011 08:54:25 =
-0500=0D=0ASubject: Re: 8.2R i386 bassed md root, doesn't like all =
machines=0D=0A=0D=0A> On 9/1/2011 8:17 AM, rank1seeker@gmail.com =
wrote:=0D=0A> > Works excellent!=0D=0A> > I boot it from USB =
stick.=0D=0A> >=0D=0A> > Now I added ~150 MB of ports to it.=0D=0A> >  =
>From that point on, it doesn't boot on all machines.=0D=0A> >=0D=0A> > =
Booting 2 times in a row on laptop with 4 gb ram:=0D=0A> > =
http://www.starforce.biz/md_root_1.jpg=0D=0A>; > =
http://www.starforce.biz/md_root_2.jpg=0D=0A>; >=0D=0A> > Without ports, =
it did booted fine!=0D=0A> >=0D=0A> > Then I plug it in desktop with 2 GB =
of ram and booted it and it works!=0D=0A> > I've did it again, just to be =
sure.=0D=0A> >=0D=0A> > Back to my laptop and same fail again.=0D=0A> =
>=0D=0A> >=0D=0A> > Domagoj Smol=E8i=E6=0D=0A> > =
_______________________________________________=0D=0A> > =
freebsd-hackers@freebsd.org mailing list=0D=0A> > =
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers=0D=0A>; > To =
unsubscribe, send any mail to =
"freebsd-hackers-unsubscribe@freebsd.org"=0D=0A> >=0D=0A> =0D=0A> This =
must be a 32 bit i386 kernel.=0D=0A> =0D=0A>  From the vm_thread_new() =
error messages, your kernel virtual memory map =0D=0A> is =
depleted.=0D=0A> =0D=0A> The OS uses KVA for a physical page attribute =
table. Therefore the 4GB =0D=0A> machine will use more KVA than a 2GB. =
Apparently this difference is a =0D=0A> enough to cause you =
problems.=0D=0A> =0D=0A> Either increase your KVA (KVA_PAGES setting in =
your kernel configuration =0D=0A> file; see sys/i386/include/pmap.h look =
for values) or decrease your KVA =0D=0A> use (memory drive?).=0D=0A> =
=0D=0A=0D=0A=0D=0AI see. It worked.=0D=0AYes it is 8.2 i386, as it is the =
only that has NKPT kernel option.=0D=0AFor other archs, I would have to =
edit src code.=0D=0A=0D=0AWhat would be the formula, to set the KVA_PAGES =
to, if I know the size of MD(in Mb), so it would work on all machines, =
regardled of RAM amount (for i386, all less then 4 =
GB)=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E8=0D=0A



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111011.184329.046.1>