Bug 108957 - 32bit app can't see 4Gb of memory on amd64
32bit app can't see 4Gb of memory on amd64
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: tcsh (Show other bugs)
3.0
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Bill Huang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-11-03 14:20 EST by Need Real Name
Modified: 2007-11-30 17:06 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-11-03 14:37:38 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2003-11-03 14:20:46 EST
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:

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