Skip site navigation (1)Skip section navigation (2)
Date:      19 Jul 2000 01:45:14 -0000
From:      "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/20023: New port sysutils/memtest
Message-ID:  <20000719014514.6376.qmail@Fedaykin.here>

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

>Number:         20023
>Category:       ports
>Synopsis:       New port sysutils/memtest
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 18 19:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mario Sergio Fujikawa Ferreira
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

FreeBSD Here.here 4.0-STABLE FreeBSD 4.0-STABLE #2: Fri Jun  9 13:22:10 EST 2000     lioux@Here.here:/usr/src/sys/compile/LIOUX  i386

>Description:

Following the long -stable discussion about bad memory, I saw this
little handy utility.

I hope this gets into 4.1R. Will? (the committer, not the modal
verb)

Utility to test for faulty memory subsystem.

>How-To-Repeat:

n/a

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	memtest
#	memtest/files
#	memtest/files/md5
#	memtest/patches
#	memtest/patches/patch-aa
#	memtest/patches/patch-ab
#	memtest/pkg
#	memtest/pkg/COMMENT
#	memtest/pkg/DESCR
#	memtest/pkg/PLIST
#	memtest/Makefile
#
echo c - memtest
mkdir -p memtest > /dev/null 2>&1
echo c - memtest/files
mkdir -p memtest/files > /dev/null 2>&1
echo x - memtest/files/md5
sed 's/^X//' >memtest/files/md5 << 'END-of-memtest/files/md5'
XMD5 (memtester-2.93.1.tar.bz2) = 3c971e11ca71cc8cd9d43b247170c243
END-of-memtest/files/md5
echo c - memtest/patches
mkdir -p memtest/patches > /dev/null 2>&1
echo x - memtest/patches/patch-aa
sed 's/^X//' >memtest/patches/patch-aa << 'END-of-memtest/patches/patch-aa'
X--- memtest.c.orig	Tue Jul 18 22:13:31 2000
X+++ memtest.c	Tue Jul 18 22:13:58 2000
X@@ -20,6 +20,7 @@
X #include <stdio.h>
X #include <stdlib.h>
X #include <time.h>
X+#include <sys/types.h>
X #include <sys/mman.h>
X #include <signal.h>
X #include <unistd.h>
END-of-memtest/patches/patch-aa
echo x - memtest/patches/patch-ab
sed 's/^X//' >memtest/patches/patch-ab << 'END-of-memtest/patches/patch-ab'
X--- memtest.1.orig	Wed Apr 26 19:58:23 2000
X+++ memtest.1	Tue Jul 18 22:37:20 2000
X@@ -196,7 +196,9 @@
X faulty memory modules in Linux, or any Unix-like environment.
X .Sh "Invoking memtest"
X \fBmemtest\fR takes the first supplied argument as the amount of memory to test.
X-The value \fB'all\*(R'\fR means to test all available memory.  A specific amount of
X+The value \fB'all\*(R'\fR means to test all available memory. However, the value \fB'all\*(R'\fR
X+may not work on all systems, so a specific amount of memory might have to
X+be specified. A specific amount of
X memory can be supplied as a number, followed by a letter to indicate units:
X .Ip "\(bu" 4
X \fBB\fR or \fBb\fR \- bytes
END-of-memtest/patches/patch-ab
echo c - memtest/pkg
mkdir -p memtest/pkg > /dev/null 2>&1
echo x - memtest/pkg/COMMENT
sed 's/^X//' >memtest/pkg/COMMENT << 'END-of-memtest/pkg/COMMENT'
XUtility to test for faulty memory subsystem
END-of-memtest/pkg/COMMENT
echo x - memtest/pkg/DESCR
sed 's/^X//' >memtest/pkg/DESCR << 'END-of-memtest/pkg/DESCR'
Xmemtest is a utility for testing the memory subsystem in a computer
Xto determine if it is faulty. The original source was by Simon
XKirby <sim@stormix.com>. The program has been rewritten by Charles
XCazabon and many additional tests were added to help catch borderline
Xmemory. He also rewrote the original tests (which catch mainly
Xmemory bits which are stuck permanently high or low) so that they
Xrun approximately an order of magnitude faster.
X
XWWW: http://www.qcc.sk.ca/~charlesc/software/memtester/
END-of-memtest/pkg/DESCR
echo x - memtest/pkg/PLIST
sed 's/^X//' >memtest/pkg/PLIST << 'END-of-memtest/pkg/PLIST'
Xbin/memtest
END-of-memtest/pkg/PLIST
echo x - memtest/Makefile
sed 's/^X//' >memtest/Makefile << 'END-of-memtest/Makefile'
X# New ports collection makefile for:    memtest
X# Date created:         18 Jun 2000
X# Whom:			Mario S F Ferreira <lioux@linf.unb.br> et al.
X#
X# $FreeBSD$
X#
X
XPORTNAME=	memtest
XPORTVERSION=	2.93.1
XCATEGORIES=	sysutils
XMASTER_SITES=	http://www.qcc.sk.ca/~charlesc/software/memtester/
XDISTNAME=	${PORTNAME}er-${PORTVERSION}
X
XMAINTAINER=	lioux@linf.unb.br
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
X
XMAN1=	${PORTNAME}.1
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-memtest/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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