Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 2015 19:11:00 +0200
From:      =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com>
To:        User Questions <freebsd-questions@freebsd.org>
Subject:   Debugging bad memory problems
Message-ID:  <CAGwOe2Y%2BRuT7MuCTBq_swn-Ny-BS-WH1J=bZTbE9L4tuv8LmCA@mail.gmail.com>

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

I suspect my old and beloved AMD64 laptop is suffering from bad memory
problems: I get random crashes of well tested programs like sh, which,
etc even when I executed some of them from /rescue.

I wanted to check the memory banks. I installed
/usr/ports/sysutils/memtest86+ and try to run it at boot. According to
the documentation, from the boot loader prompt:

unload
load /boot/opt/memtest86+
boot

But at the time of loading the file, the laptop reboots.

I also tried /usr/ports/sysutils/memtest. But when I run it (as root), I get:

$memtester 1G

memtester version 4.3.0 (64-bit)
Copyright (C) 2001-2012 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).

pagesize is 4096
pagesizemask is 0xfffffffffffff000
want 1024MB (1073741824 bytes)
got  1024MB (1073741824 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073737728 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073733632 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073729536 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073725440 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073721344 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073717248 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073713152 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073709056 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073704960 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073700864 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073696768 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073692672 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073688576 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073684480 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073680384 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073676288 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073672192 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073668096 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073664000 bytes), trying mlock ...too many pages, reducing...
got  1023MB (1073659904 bytes), trying mlock ...too many pages, reducing...

...
...

got  0MB (73728 bytes), trying mlock ...too many pages, reducing...
got  0MB (69632 bytes), trying mlock ...too many pages, reducing...
got  0MB (65536 bytes), trying mlock ...locked.

Any help with these two problems or any alternative programs?

Thanks in advance.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2Y%2BRuT7MuCTBq_swn-Ny-BS-WH1J=bZTbE9L4tuv8LmCA>