Bug 211364 - Hardware Certfication memory test fails
Summary: Hardware Certfication memory test fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (tests)
Version: 5
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Brian Brock
URL:
Whiteboard:
: 433615 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-18 20:19 UTC by Greg Nichols
Modified: 2018-10-19 21:35 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-01-03 16:25:34 UTC
Embargoed:


Attachments (Terms of Use)
threaded memory test (14.33 KB, text/x-csrc)
2006-10-18 20:19 UTC, Greg Nichols
no flags Details

Description Greg Nichols 2006-10-18 20:19:39 UTC
Description of problem:

The threaded memory test of the Hardware Certification Test suite fails,
reporting that mmap can not allocate memory:

[root@server memory]# ./threaded_memtest  -v  
Detected 2 processors.
RAM: 92.1% free (2799M/3039M)
Testing 2659M RAM for 900 seconds using 4 threads:
thread 0: mapping 664M RAM
thread 0: mapping complete
thread 1: mapping 664M RAM
thread 1: mapping complete
thread 2: mapping 664M RAM
thread 2: mapping complete
thread 3: mapping 664M RAM
mmap: Cannot allocate memory
[root@server memory]# 


Version-Release number of selected component (if applicable):


How reproducible:
always.

Steps to Reproduce:

Run the attached memory test (threaded_memtest.c)


Additional info:

Test hardware: Dell M90 notebook.

/proc/meminfo:

MemTotal:      3111944 kB
MemFree:       2781896 kB
Buffers:         82260 kB
Cached:          88764 kB
SwapCached:      71592 kB
Active:          80712 kB
Inactive:       167608 kB
HighTotal:     2226780 kB
HighFree:      2057940 kB
LowTotal:       885164 kB
LowFree:        723956 kB
SwapTotal:     2031608 kB
SwapFree:      1909112 kB
Dirty:              68 kB
Writeback:           0 kB
AnonPages:       29976 kB
Mapped:          20096 kB
Slab:            63720 kB
PageTables:       4492 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   3587580 kB
Committed_AS:   418084 kB
VmallocTotal:   114680 kB
VmallocUsed:      4776 kB
VmallocChunk:   109688 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
Hugepagesize:     4096 kB

Comment 1 Greg Nichols 2006-10-18 20:19:39 UTC
Created attachment 138828 [details]
threaded memory test

Comment 2 Greg Nichols 2006-10-24 17:58:40 UTC
The problem is with the test - it's attempting to use more memory than fits in
the virtual address space.   Changed Product to the Hardware Test Suite

Comment 3 Greg Nichols 2006-10-26 20:30:23 UTC
Changed test to correctly identify this model as an i386 with more that 3GB of
physical memory.

Comment 4 Greg Nichols 2008-02-20 14:43:20 UTC
*** Bug 433615 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.