Bug 108957

Summary: 32bit app can't see 4Gb of memory on amd64
Product: Red Hat Enterprise Linux 3 Reporter: Need Real Name <eric.brueggmann>
Component: tcshAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED ERRATA QA Contact: Bill Huang <bhuang>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-11-03 19:37:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2003-11-03 19:20:46 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

Description of problem:
32bit applications can't see more then 2.5Gb or ram
when run on AMD64-RHEL.  The shell is tcsh.  If
I compile tcsh on my own it work properly.



% file /bin/tcsh
/bin/tcsh: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV),
for GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped
% ls -la /bin/tcsh
-rwxr-xr-x    1 root     root         376k Jan 25  2003 /bin/tcsh*
%  ./3Gb-per-proc 
trying 1000Mb...1000Mb
trying 1000Mb...Not enough memory
trying 500Mb...1500Mb
trying 500Mb...2000Mb
trying 500Mb...Not enough memory
trying 250Mb...2250Mb
trying 250Mb...Not enough memory
trying 125Mb...2375Mb
trying 125Mb...Not enough memory
trying 62Mb...Not enough memory
trying 31Mb...2406Mb
trying 31Mb...Not enough memory
trying 15Mb...2421Mb
trying 15Mb...Not enough memory
trying 7Mb...Not enough memory
trying 3Mb...2424Mb
trying 3Mb...Not enough memory
trying 1Mb...2425Mb
trying 1Mb...2426Mb
trying 1Mb...2427Mb
trying 1Mb...Not enough memory
Total = 2427Mb


% file tcsh
tcsh: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.0.0, dynamically linked (uses shared libs), stripped
% ls -la tcsh
-r-xr-xr-x    1 root    root       344k Nov  3 13:18 tcsh*
% ./tcsh
% ./3Gb-per-proc 
trying 1000Mb...1000Mb
trying 1000Mb...2000Mb
trying 1000Mb...3000Mb
trying 1000Mb...Not enough memory
trying 500Mb...3500Mb
trying 500Mb...Not enough memory
trying 250Mb...3750Mb
trying 250Mb...Not enough memory
trying 125Mb...3875Mb
trying 125Mb...Not enough memory
trying 62Mb...Not enough memory
trying 31Mb...3906Mb
trying 31Mb...3937Mb
trying 31Mb...Not enough memory
trying 15Mb...3952Mb
trying 15Mb...Not enough memory
trying 7Mb...3959Mb
trying 7Mb...Not enough memory
trying 3Mb...3962Mb
trying 3Mb...Not enough memory
trying 1Mb...3963Mb
trying 1Mb...Not enough memory
Total = 3963Mb


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

How reproducible:
Always

Steps to Reproduce:
1. a
2.
3.
    

Additional info: