Bug 108957 - 32bit app can't see 4Gb of memory on amd64
Summary: 32bit app can't see 4Gb of memory on amd64
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: tcsh
Version: 3.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Bill Huang
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-03 19:20 UTC by Need Real Name
Modified: 2007-11-30 22:06 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2003-11-03 19:37:38 UTC


Attachments (Terms of Use)

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:


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