Re: OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-22 Thread Janne Johansson
Owain Ainsworth wrote: Enabling bigmem=1: Also, from sys/arch/amd64/amd64/machdep.c: /* Tweakable by config(8) */ How? That diff was never commited. Config needs to know about it before it can change it. I did a similar config(8) patch for when PAE was in the same situation, so if

Re: : : OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-18 Thread Raimo Niskanen
On Wed, Dec 17, 2008 at 07:34:07PM +0100, Markus Hennecke wrote: Raimo Niskanen schrieb: [config description] But how to find a bigmem parameter I do not know, I have no amd64 system. Try 'help' in the config editor. And, as pointed out before: If you search the archives, you'll

OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-18 Thread Jordi Beltran Creix
Enabling bigmem=1: -real mem = 3734757376 (3561MB) -avail mem = 3624775680 (3456MB) +real mem = 4271632384 (4073MB) +avail mem = 4148350976 (3956MB) Also, from sys/arch/amd64/amd64/machdep.c: /* Tweakable by config(8) */ How? 2008/12/16 Toni Mueller openbsd-m...@oeko.net: Hello, On Mon,

Re: OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-18 Thread Ted Unangst
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?

Re: : OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-18 Thread Raimo Niskanen
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

Re: OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-18 Thread Owain Ainsworth
On Thu, Dec 18, 2008 at 08:30:48PM +0900, Jordi Beltran Creix wrote: Enabling bigmem=1: -real mem = 3734757376 (3561MB) -avail mem = 3624775680 (3456MB) +real mem = 4271632384 (4073MB) +avail mem = 4148350976 (3956MB) Also, from sys/arch/amd64/amd64/machdep.c: /* Tweakable by

Re: : OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-17 Thread Raimo Niskanen
On Tue, Dec 16, 2008 at 08:43:46PM +0800, C. Soragan Ong 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 :) Ok. No, you run something like config -e /bsd -o /bsd.new. This will put you in an interactive editor

Re: : OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-17 Thread Markus Hennecke
Raimo Niskanen schrieb: [config description] But how to find a bigmem parameter I do not know, I have no amd64 system. Try 'help' in the config editor. And, as pointed out before: If you search the archives, you'll find the clue you need to enable it on your own system. See also:

Re: OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-17 Thread Ted Unangst
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.

Re: : OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-17 Thread Ted Unangst
On Wed, Dec 17, 2008 at 1:34 PM, Markus Hennecke markus-henne...@markus-hennecke.de wrote: So I read all that before and now I have to out me as plain stupid. I still have no clue how to set bigmem to 1 using config(8). And as you can see in this thread, it looks like I am not alone. Either I

Re: : OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-17 Thread Chris Kuethe
yeah, that was my mistake. i could've sworn i've set bigmem that way to avoid a recompile... i'll shut up now. On Wed, Dec 17, 2008 at 11:50 AM, Ted Unangst ted.unan...@gmail.com wrote: On Wed, Dec 17, 2008 at 1:34 PM, Markus Hennecke markus-henne...@markus-hennecke.de wrote: So I read all

Re: OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-17 Thread Stephan A. Rickauer
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

Re: OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-16 Thread Stephan A. Rickauer
On Mon, 2008-12-15 at 07:39 -0800, Chris Kuethe wrote: no. the config program can do this without a recompile. I also would like to learn how to do that since we have a couple of 'big' amd64 machines I could test on. Cheers, -- Stephan A. Rickauer

Re: OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-16 Thread C. Soragan Ong
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 :) Regards, Soragan On Tue, Dec 16, 2008 at 5:49 PM, Stephan A. Rickauer stephan.ricka...@ini.phys.ethz.ch wrote: On Mon, 2008-12-15 at 07:39 -0800, Chris Kuethe wrote:

OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-15 Thread C. Soragan Ong
Hi All, I am using OpenBSD 4.4 and is having problem detecting 4GB ram. Below is the dmesg OpenBSD 4.4 (GENERIC.MP) #1812: Tue Aug 12 17:22:53 MDT 2008 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3073273856 (2930MB) avail mem = 2979676160 (2841MB) mainbus0

Re: OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-15 Thread Paul de Weerd
On Mon, Dec 15, 2008 at 10:40:44PM +0800, C. Soragan Ong wrote: | Hi All, | | I am using OpenBSD 4.4 and is having problem detecting 4GB ram. Below is the | dmesg Well, all memory is found (see the spdmem entries in your dmesg), but not all of it is supported by the default kernel. You'll have

Re: OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-15 Thread Markus Hennecke
Chris Kuethe schrieb: On Mon, Dec 15, 2008 at 6:47 AM, Paul de Weerd we...@weirdnet.nl wrote: You'll have to enable bigmem yes. and compile a new kernel yourself. no. the config program can do this without a recompile. I have seen the comment in machdep.c, but it looks like I am to

Re: OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-15 Thread Chris Kuethe
On Mon, Dec 15, 2008 at 6:47 AM, Paul de Weerd we...@weirdnet.nl wrote: You'll have to enable bigmem yes. and compile a new kernel yourself. no. the config program can do this without a recompile. -- GDB has a 'break' feature; why doesn't it have 'fix' too?

Re: OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-15 Thread Toni Mueller
Hello, On Mon, 15.12.2008 at 15:47:06 +0100, Paul de Weerd we...@weirdnet.nl wrote: On Mon, Dec 15, 2008 at 10:40:44PM +0800, C. Soragan Ong wrote: | I am using OpenBSD 4.4 and is having problem detecting 4GB ram. Below is the | dmesg Well, all memory is found (see the spdmem entries in

Re: OpenBSD 4.4 amd64 bsd.mp can't detect 4GB memory

2008-12-15 Thread Thomas Pfaff
On Mon, 15 Dec 2008 22:40:44 +0800 C. Soragan Ong sora...@guox.net wrote: Hi All, I am using OpenBSD 4.4 and is having problem detecting 4GB ram. Below is the dmesg OpenBSD 4.4 (GENERIC.MP) #1812: Tue Aug 12 17:22:53 MDT 2008