Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 1997 11:35:32 -0700 (PDT)
From:      "Jin Guojun[ITG]" <jin@adv-pc-1.lbl.gov>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/4070: cannot access over 64MB memory
Message-ID:  <199707091835.LAA00345@adv-pc-1.lbl.gov>
Resent-Message-ID: <199707091840.LAA00338@hub.freebsd.org>

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

>Number:         4070
>Category:       kern
>Synopsis:       cannot access over 64MB memory
>Confidential:   yes
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul  9 11:40:06 PDT 1997
>Last-Modified:
>Originator:     Jin Guojun[ITG]
>Organization:
>Release:        FreeBSD 2.2-970618-RELENG i386
>Environment:

	2.2x to 3.0-SNAP releases

>Description:

	options	"MAXMEM=(256x1024)"
	supposes to enable more than 64 MB memory, but only 64MB memory
	can be accessed regardless how many memory detected by kernel.

# dmesg | grep mem
real memory  = 134217728 (131072K bytes)
Physical memory hole(s):
avail memory = 127311872 (124328K bytes)
chip0 <Intel 82437VX PCI cache memory controller> rev 2 on pci0:0:0

# mem-test -S 512 512 384
begin processing: Wed Jul  9 11:20:27 1997
mem-test [S20-1] : no enough core available for inbuf -> 1H x 6000000H = 100663296; Error<12> Cannot allocate memory

# mem-test -S 512 512 258
begin processing: Wed Jul  9 11:28:22 1997
mem-test [S20-1] : no enough core available for inbuf -> 1H x 4080000H = 67633152; Error<12> Cannot allocate memory

# mem-test -S 512 512 256
begin processing: Wed Jul  9 11:28:39 1997
end of allocating: at 1 seconds
device stdin not ready
Using CTRL-D to continue=>      end of reading: at 3 seconds
Reading image 0 cells, rest 67108864 are 0
512 frames, 512 rows, 256 columns => memory 67108864
(execute 12 columns for -r and -g options)
 -- in memory mode (Regular)
sequential access
finish: at 4 seconds

# limit
cputime         unlimited
filesize        unlimited
datasize        131072 kbytes
stacksize       65536 kbytes
coredumpsize    unlimited
memoryuse       unlimited
memorylocked    124248 kbytes
maxproc         179 
openfiles       360 


>How-To-Repeat:

	to malloc(1024*1024, N), and try N > 64.

>Fix:
	
	

>Audit-Trail:
>Unformatted:



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