From owner-freebsd-bugs@FreeBSD.ORG Sat Aug 4 22:30:06 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F326316A420 for ; Sat, 4 Aug 2007 22:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C9D8313C46B for ; Sat, 4 Aug 2007 22:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l74MU50K065236 for ; Sat, 4 Aug 2007 22:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l74MU5n3065235; Sat, 4 Aug 2007 22:30:05 GMT (envelope-from gnats) Resent-Date: Sat, 4 Aug 2007 22:30:05 GMT Resent-Message-Id: <200708042230.l74MU5n3065235@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, James Pfeffer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFE0716A41F for ; Sat, 4 Aug 2007 22:24:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id AFAC413C461 for ; Sat, 4 Aug 2007 22:24:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l74MOMS2010761 for ; Sat, 4 Aug 2007 22:24:22 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l74MOMn9010760; Sat, 4 Aug 2007 22:24:22 GMT (envelope-from nobody) Message-Id: <200708042224.l74MOMn9010760@www.freebsd.org> Date: Sat, 4 Aug 2007 22:24:22 GMT From: James Pfeffer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/115202: memory error diagnostic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Aug 2007 22:30:06 -0000 >Number: 115202 >Category: kern >Synopsis: memory error diagnostic >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 04 22:30:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: James Pfeffer >Release: 6.1 beta >Organization: >Environment: (irrelavent) >Description: A memory verify mode would be helpful to diagnose flaky memory. Maintain an option so that the kernel can generate a table of memory checksums-per-page, (I suggest md4, computationally light, non-cryptographic) of readonly pages. Particularly on swap-in and swap-out, and all of memory during idle cycles at intervals. Log differences to /var/log/messages. Situation: errors on a second hard disk stop when swap space on it is inactivated, made readonly (change fstab, reboot), then errors arise on the primary drive. Errors are swap errors with weird huge block numbers being requested. All happened out of the blue sky, machine was fine for many months. Changing fans to lower CPU temp was done first, did not help. Perhaps a kernel option, such that one reboots into a second kernel with this option enabled when problems start? >How-To-Repeat: Put in known bad RAM. >Fix: >Release-Note: >Audit-Trail: >Unformatted: