On Thu, Dec 18, 2008 at 09:32:57AM -0500, Ted Unangst wrote:
> On Thu, Dec 18, 2008 at 2:01 AM, Stephan A. Rickauer
> <stephan.ricka...@ini.phys.ethz.ch> wrote:
> > On Wed, 2008-12-17 at 14:52 -0500, Ted Unangst wrote:
> >> On Tue, Dec 16, 2008 at 7:43 AM, C. Soragan Ong <sora...@guox.net> wrote:
> >> > so let say put "set bigmem=1" into /etc/boot.conf will activate the 
> >> > bigmem?
> >> > correct me if i am wrong, i am new with openbsd :)
> >>
> >> the only permanent way to set that is to change the source and recompile.
> >
> > Is there a non-permanent way?
> 
> boot -d, then change it in ddb before continuing.

Right then, to conclude... It seems the comment
        /* Tweakable by config(8) */
in sys/arch/amd64/amd64/machdep.c is in error.
The variable can not be changed from config(8),
neither before kernel compilation nor on a compiled kernel.
And it can also not be changed from UKC via boot -c.

But it can certainly be changed by editing the line
in sys/arch/amd64/amd64/machdep.c to
        int bigmem = 1;
and then compiling a kernel. And it can be temporarily
changed via boot -d as stated above by Ted.

Objections, anyone?

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

Reply via email to