2007-06-05 02:19:38

by Reinaldo Carvalho

[permalink] [raw]
Subject: Another missing RAM on x86_64

1024MB dont detected on Notebook HP 2125 with kernel 2.6.21.3

--
Reinaldo de Carvalho




:~# uname -a
Linux devil 2.6.21-amd64 #5 SMP Tue May 22 21:29:48 BRT 2007 x86_64
GNU/Linux
:~# free -m
total used free shared buffers cached
Mem: 939 642 297 0 66 210
-/+ buffers/cache: 365 574
Swap: 956 0 956


Linux version 2.6.21-amd64 (root@devil) (gcc version 4.1.2 20061115
(prerelease) (Debian 4.1.1-21)) #5 SMP Tue May 22 21:29:
48 BRT 2007
Command line: root=/dev/sda2 ro vga=0x317
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009dc00 (usable)
BIOS-e820: 000000000009dc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000d2000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003bf10000 (usable)
BIOS-e820: 000000003bf10000 - 000000003bf19000 (ACPI data)
BIOS-e820: 000000003bf19000 - 000000003bf80000 (ACPI NVS)
BIOS-e820: 000000003bf80000 - 0000000040000000 (reserved)
BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
Entering add_active_range(0, 0, 157) 0 entries of 256 used
Entering add_active_range(0, 256, 245520) 1 entries of 256 used
end_pfn_map = 1048576
DMI present.ACPI: RSDP 000F87C0, 0014 (r0 HP )
ACPI: RSDT 3BF131F4, 0038 (r1 HP 30B5 6040000 LTP 0)
ACPI: FACP 3BF18D52, 0074 (r1 HP 30B5 6040000 PTL_ F4240)
ACPI: DSDT 3BF1322C, 5B26 (r1 HP 30B5 6040000 MSFT 100000E)
ACPI: FACS 3BF19FC0, 0040
ACPI: MCFG 3BF18DC6, 003C (r1 HP 30B5 6040000 LTP 0)
ACPI: APIC 3BF18E02, 0054 (r1 HP 30B5 6040000 LTP 0)
ACPI: BOOT 3BF18E56, 0028 (r1 HP 30B5 6040000 LTP 1)
ACPI: SSDT 3BF18E7E, 0182 (r1 HP 30B5 6040000 LTP 1)
Entering add_active_range(0, 0, 157) 0 entries of 256 used
Entering add_active_range(0, 256, 245520) 1 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
DMA32 4096 -> 1048576
Normal 1048576 -> 1048576
early_node_map[2] active PFN ranges
0: 0 -> 157
0: 256 -> 245520
On node 0 totalpages: 245421
DMA zone: 56 pages used for memmap
DMA zone: 1098 pages reserved
DMA zone: 2843 pages, LIFO batch:0
DMA32 zone: 3300 pages used for memmap
DMA32 zone: 238124 pages, LIFO batch:31
Normal zone: 0 pages used for memmap

processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 72
model name : AMD Turion(tm) 64 X2


2007-06-05 03:41:27

by Robert Hancock

[permalink] [raw]
Subject: Re: Another missing RAM on x86_64

Reinaldo de Carvalho wrote:
> 1024MB dont detected on Notebook HP 2125 with kernel 2.6.21.3
>

BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009dc00 (usable)
BIOS-e820: 000000000009dc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000d2000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003bf10000 (usable)
BIOS-e820: 000000003bf10000 - 000000003bf19000 (ACPI data)
BIOS-e820: 000000003bf19000 - 000000003bf80000 (ACPI NVS)
BIOS-e820: 000000003bf80000 - 0000000040000000 (reserved)
BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)

This shows that memory from 0 to 631K and 1MB to 959MB are usable. Does
this laptop have integrated graphics that could be using the rest?

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/

2007-06-06 22:34:50

by Reinaldo Carvalho

[permalink] [raw]
Subject: Re: Another missing RAM on x86_64

This laptop have a nVidia 10de:0244 with 256Mb of RAM. No shared memory.


Reinaldo de Carvalho



00:05.0 VGA compatible controller: nVidia Corporation C51 PCI Express
Bridge (rev a2) (prog-if 00 [VGA])
Subsystem: Hewlett-Packard Company Unknown device 30b5
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 21
Region 0: Memory at c2000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at c1000000 (64-bit, non-prefetchable) [size=16M]
[virtual] Expansion ROM at 50000000 [disabled] [size=128K]
Capabilities: [48] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+
Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000


Robert Hancock escreveu:
> Reinaldo de Carvalho wrote:
>> 1024MB dont detected on Notebook HP 2125 with kernel 2.6.21.3
>>
>
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009dc00 (usable)
> BIOS-e820: 000000000009dc00 - 00000000000a0000 (reserved)
> BIOS-e820: 00000000000d2000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 000000003bf10000 (usable)
> BIOS-e820: 000000003bf10000 - 000000003bf19000 (ACPI data)
> BIOS-e820: 000000003bf19000 - 000000003bf80000 (ACPI NVS)
> BIOS-e820: 000000003bf80000 - 0000000040000000 (reserved)
> BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
> BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
> BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
> BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
>
> This shows that memory from 0 to 631K and 1MB to 959MB are usable. Does
> this laptop have integrated graphics that could be using the rest?
>

2007-06-06 23:48:38

by Robert Hancock

[permalink] [raw]
Subject: Re: Another missing RAM on x86_64

Reinaldo de Carvalho wrote:
> This laptop have a nVidia 10de:0244 with 256Mb of RAM. No shared memory.
>
>
> Reinaldo de Carvalho
>
>
>
> 00:05.0 VGA compatible controller: nVidia Corporation C51 PCI Express
> Bridge (rev a2) (prog-if 00 [VGA])
> Subsystem: Hewlett-Packard Company Unknown device 30b5
> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B-
> Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
> Latency: 0
> Interrupt: pin A routed to IRQ 21
> Region 0: Memory at c2000000 (32-bit, non-prefetchable) [size=16M]
> Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
> Region 3: Memory at c1000000 (64-bit, non-prefetchable) [size=16M]
> [virtual] Expansion ROM at 50000000 [disabled] [size=128K]
> Capabilities: [48] Power Management version 2
> Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+
> Queue=0/0 Enable-
> Address: 0000000000000000 Data: 0000

It's a bit mysterious, then, where the extra 40-some MB of RAM has gone.
However, there's not much the kernel can do about it, as the BIOS is not
telling us about that memory..

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/