Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Apr 2009 15:40:10 -0400
From:      Josh Carroll <josh.carroll@gmail.com>
To:        dino_vliet@yahoo.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: memtest question on 8 GB RAM AMD64 system
Message-ID:  <8cb6106e0904091240w240f84f0tbdeab643a87bf959@mail.gmail.com>
In-Reply-To: <848751.28828.qm@web51109.mail.re2.yahoo.com>
References:  <848751.28828.qm@web51109.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 9, 2009 at 2:43 PM, Dino Vliet <dino_vliet@yahoo.com> wrote:
> Dear freebsd people,
>
> I have just installed 4 x 2gb kingston memory banks (Kingston HyperX 4GB =
800mhz DDR2 Non-ECC CL5 (5-5-5-15) DIMM) onto my AMD 64 system with a X2 52=
00 CPU. The motherboard I have in this system is MSI K9AG Neo2-Digital.
>
> The system boots fine and I wanted to try memtest to see if there would b=
e errors. So I installed that /usr/ports/sysutils/memtest port and did
>
> # memtest 2400
>
> The output I got is:
> Continuing with unlocked memory; testing will be slower and less reliable=
.
>
> .......
> pagesize 4096
> pagesizemask is 0xfffffffffffff000
> want 2400MB (2516582400 bytes)
> got=A0=A0 2400MB (2516582400 bytes), trying mlock .......failed for unkno=
wn reason
> Loop 1:
> .....
>
> In my /etc/rc/conf file I had added these lines in the past (when I had 4=
gb RAM installed in it)
>
> sysctl -w kern.ipc.shmmax=3D1954311424
> sysctl -w kern.ipc.shmall=3D238000
>
> What is the case here? Why is memtest failing to use mlock? How can I eve=
ntually make sure I can run memtest with 8000mb?
>
> The purpose of this machine is that it will be used for a various data in=
tensive tasks where I need to be able to allocate as much memory possible. =
I am running a postgresql database server on it as well to store my source =
data.

I've run into similar problems trying to use that particular memtest port.

If you want to more reliably test the memory, I'd suggest using
memtest86+ from http://www.memtest.org/

It is much more thorough and runs independent of the operating system.

Regards,
Josh



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