From owner-freebsd-questions@FreeBSD.ORG Sun Apr 26 17:11:02 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51F99815 for ; Sun, 26 Apr 2015 17:11:02 +0000 (UTC) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E1AB71B65 for ; Sun, 26 Apr 2015 17:11:01 +0000 (UTC) Received: by wiun10 with SMTP id n10so66914462wiu.1 for ; Sun, 26 Apr 2015 10:11:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=4zy1G8Pcms0lfd9eHnmuxNKVvJTJF3ABVRoI33DSGWc=; b=e+Iv1BI+Oe7nDjLVSzIkr1VGwUff+j+q44Jau6+kR639iPz7ZxUyFKPiy41Ni7SLl/ B88GgJzDFO05gScxoZzcE17XeUiogYkcXc80HFLiDLDhvQXqcqNvFASFwJlRyUnac7hG 1nlJj8F7djAPX3Qd0KBGgKNsYJfXpw0tIVCsFICLGs8qtoiAGUAkEL9ALDEbf8TnijZ0 JI+R4NC8Zbz3Oggp9rs4M2E/qBp0Eo+q1l29czB+k2sj1j/1pGi6preuDBx+iDL+iFeN KGHjJtDExZD/EP9aolBRVKryko49tvBmO7M5M8/80fdHmNvySSoF9B0gc1E+h2axTeNk zMFw== MIME-Version: 1.0 X-Received: by 10.180.218.108 with SMTP id pf12mr14100035wic.13.1430068260324; Sun, 26 Apr 2015 10:11:00 -0700 (PDT) Received: by 10.180.44.172 with HTTP; Sun, 26 Apr 2015 10:11:00 -0700 (PDT) Date: Sun, 26 Apr 2015 19:11:00 +0200 Message-ID: Subject: Debugging bad memory problems From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= To: User Questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Apr 2015 17:11:02 -0000 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.