public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Only 3.2G ram out of 4G seen in an i386 box
@ 2006-08-08  8:24 Thomas Stewart
  2006-08-08 10:15 ` Paul P Komkoff Jr
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Stewart @ 2006-08-08  8:24 UTC (permalink / raw)
  To: linux-kernel

Hi,
I have a Dell Optiplex GX280, a Pentium 4 with an Intel chipset. It has
4G of ram. The problem is I can only see 3.2G, even tho the bios reports
4G.

While using debian 2.6.16-2-686:
thomas@coke:~$ uname -a
Linux coke 2.6.16-2-686 #1 Sat Jul 15 21:59:21 UTC 2006 i686 GNU/Linux
thomas@coke:~$ grep MemTotal /proc/meminfo
MemTotal:      3375484 kB

This is expected as the standard debian kernels don't set
CONFIG_HIGHMEM64G. My understanding is that this needs to be set for the
full 4G to work on i386.

So I downloaded 2.6.18-rc3-git3 and 2.6.18-rc2-mm1 to give them a try. I
used the debian config as a starting point for oldconfig. Then from
menuconfig, "Processor type and featues" -> "High Memory Support" and
selected 64G. I then compiled both, rebooted and got these results:

2.6.18-rc2-mm1  reported MemTotal: 3376192 kB
2.6.18-rc3-git3 reported MemTotal: 3376236 kB

Is there anything I can do to make use of the 800M or so of ram that's
unused? Changing to amd64 or anything else that's sane or better does
not count ;-)

thomas@coke:~$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 3
model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping        : 4
cpu MHz         : 2992.591
cache size      : 1024 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 3
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pni monitor ds_cpl cid xtpr
bogomips        : 5990.72

thomas@coke:~$ lspci
00:00.0 Host bridge: Intel Corporation 915G/P/GV/GL/PL/910GL Express Memory Controller Hub (rev 04)
00:01.0 PCI bridge: Intel Corporation 915G/P/GV/GL/PL/910GL Express PCI Express Root Port (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]
01:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE]
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)
thomas@coke:~$

Regards
--
Tom
(Please CC me as I'm off the list)

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: Only 3.2G ram out of 4G seen in an i386 box
@ 2006-08-08  9:13 Mikael Pettersson
  2006-08-08 10:01 ` Thomas Stewart
  0 siblings, 1 reply; 13+ messages in thread
From: Mikael Pettersson @ 2006-08-08  9:13 UTC (permalink / raw)
  To: linux-kernel, thomas

On Tue, 8 Aug 2006 09:24:29 +0100, Thomas Stewart wrote:
> I have a Dell Optiplex GX280, a Pentium 4 with an Intel chipset. It has
> 4G of ram. The problem is I can only see 3.2G, even tho the bios reports
> 4G.
> 
> While using debian 2.6.16-2-686:
> thomas@coke:~$ uname -a
> Linux coke 2.6.16-2-686 #1 Sat Jul 15 21:59:21 UTC 2006 i686 GNU/Linux
> thomas@coke:~$ grep MemTotal /proc/meminfo
> MemTotal:      3375484 kB
> 
> This is expected as the standard debian kernels don't set
> CONFIG_HIGHMEM64G. My understanding is that this needs to be set for the
> full 4G to work on i386.
> 
> So I downloaded 2.6.18-rc3-git3 and 2.6.18-rc2-mm1 to give them a try. I
> used the debian config as a starting point for oldconfig. Then from
> menuconfig, "Processor type and featues" -> "High Memory Support" and
> selected 64G. I then compiled both, rebooted and got these results:
> 
> 2.6.18-rc2-mm1  reported MemTotal: 3376192 kB
> 2.6.18-rc3-git3 reported MemTotal: 3376236 kB

Most likely the BIOS is reserving large parts of the [0,4GB[ range for
PCI devices and some for itself. Please post the E820 memory map the
kernel prints near the start of the boot sequence on your machine.

> Is there anything I can do to make use of the 800M or so of ram that's
> unused? Changing to amd64 or anything else that's sane or better does
> not count ;-)

You need a chipset+BIOS that can relocate RAM to above the 4GB boundary.
I don't know how common those are in the 32-bit x86 world.

^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <fa.FhtZk3YiH9OyGCt4iXIGt+vYtos@ifi.uio.no>]

end of thread, other threads:[~2006-08-13 10:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-08  8:24 Only 3.2G ram out of 4G seen in an i386 box Thomas Stewart
2006-08-08 10:15 ` Paul P Komkoff Jr
2006-08-08 19:51   ` David Schwartz
2006-08-09  6:51     ` gmu 2k6
2006-08-09 14:48       ` Joel Jaeggli
2006-08-09 14:54         ` gmu 2k6
2006-08-10 21:09           ` Simen Thoresen
2006-08-11 11:08             ` gmu 2k6
2006-08-13 10:54               ` Simen Thoresen
2006-08-10 13:04         ` Thomas Stewart
  -- strict thread matches above, loose matches on Subject: below --
2006-08-08  9:13 Mikael Pettersson
2006-08-08 10:01 ` Thomas Stewart
     [not found] <fa.FhtZk3YiH9OyGCt4iXIGt+vYtos@ifi.uio.no>
2006-08-08 14:22 ` Robert Hancock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox