PDA

View Full Version : FC1 : Warning only 896MB will be used.


mtrento
2005-09-12, 10:39 AM CDT
hi ,
we just upgraded our server from 1GB to 4GB of ram.
bios detection is ok but linux FC1 doesn't see it all :(
the server is a Fujitsu/siemens Primergy TX200 with 4GB RAM
Fedora core 1 (kernel : 2.4.22-1.2199.nptl_52.rhfc1.atsmp )
there is a warning msg in kernel log : "Warning only 896MB will be used." see below for more.
is there a precompiled kernel that circumvent the memory limit ?? :confused:

here my dmesg log

thanks

/M

------------------------------------------------------------------------------------------------
Linux version 2.4.22-1.2199.nptl_52.rhfc1.atsmp (bachbuilder@n27) (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)) #1 SMP Wed Aug 11 19:28:58 EDT 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 0000000000095c00 (usable)
BIOS-e820: 0000000000095c00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000ca000 - 00000000000d0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000f7ef0000 (usable)
BIOS-e820: 00000000f7ef0000 - 00000000f7eff000 (ACPI data)
BIOS-e820: 00000000f7eff000 - 00000000f7f00000 (ACPI NVS)
BIOS-e820: 00000000fec00000 - 00000000fed00000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
BIOS-e820: 00000000ffc00000 - 0000000100000000 (reserved)
Warning only 896MB will be used.
Use a HIGHMEM enabled kernel.
896MB LOWMEM available.
ACPI: have wakeup address 0xc0002000
found SMP MP-table at 000f6ae0
hm, page 000f6000 reserved twice.
hm, page 000f7000 reserved twice.
hm, page 00095000 reserved twice.
hm, page 00096000 reserved twice.
On node 0 totalpages: 229376
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 PTLTD ) @ 0x000f6a70
ACPI: RSDT (v001 PTLTD RSDT 0x06040001 LTP 0x00000000) @ 0xf7efbc92
ACPI: FADT (v001 FSC D1419 0x06040001 0x000f4240) @ 0xf7efbcc6
ACPI: SPCR (v001 PTLTD $UCRTBL$ 0x06040001 PTL 0x00000001) @ 0xf7efef14
ACPI: MADT (v001 PTLTD APIC 0x06040001 LTP 0x00000000) @ 0xf7efef64
ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040001 LTP 0x00000001) @ 0xf7efefd8
ACPI: DSDT (v001 FSC D1419 0x06040001 MSFT 0x0100000e) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 Pentium 4(tm) XEON(tm) APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 Pentium 4(tm) XEON(tm) APIC version 20
ACPI: LAPIC_NMI (acpi_id[0x00] polarity[0x1] trigger[0x1] lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] polarity[0x1] trigger[0x1] lint[0x1])
Using ACPI for processor (LAPIC) configuration information
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: FSCD1419 Product ID: PRIMERGY APIC at: 0xFEE00000
I/O APIC #2 Version 17 at 0xFEC00000.
I/O APIC #3 Version 17 at 0xFEC10000.
Processors: 2
xAPIC support is present
Enabling APIC mode: Flat. Using 2 I/O APICs
Kernel command line: ro root=LABEL=/ rhgb
Initializing CPU#0
Detected 2800.173 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 5583.66 BogoMIPS
Memory: 903280k/917504k available (1523k kernel code, 13796k reserved, 1186k data, 152k init, 0k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 65536 (order: 6, 262144 bytes)
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000
CPU: Common caps: bfebfbff 00000000 00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000
CPU: Common caps: bfebfbff 00000000 00000000 00000000
CPU0: Intel(R) Xeon(TM) CPU 2.80GHz stepping 09
per-CPU timeslice cutoff: 1462.65 usecs.
task migration cache decay timeout: 10 msecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Booting processor 1/1 eip 3000
Initializing CPU#1
masked ExtINT on CPU#1
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Calibrating delay loop... 5596.77 BogoMIPS
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
Intel machine check reporting enabled on CPU#1.
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000
CPU: Common caps: bfebfbff 00000000 00000000 00000000
CPU1: Intel(R) Xeon(TM) CPU 2.80GHz stepping 09
Total of 2 processors activated (11180.44 BogoMIPS).
ENABLING IO-APIC IRQs
Setting 2 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 2 ... ok.
Setting 3 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 3 ... ok.
init IO_APIC IRQs
IO-APIC (apicid-pin) 2-0, 2-10, 2-11, 3-0, 3-1, 3-3, 3-4, 3-5, 3-6, 3-7, 3-9, 3-10, 3-11, 3-12, 3-13, 3-14, 3-15 not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 16.
number of IO-APIC #2 registers: 16.
number of IO-APIC #3 registers: 16.
testing the IO APIC.......................

IO APIC #2......
.... register #00: 02000000
....... : physical APIC id: 02
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 000F0011
....... : max redirection entries: 000F
....... : PRQ implemented: 0
....... : IO APIC version: 0011
.... register #02: 02000000
....... : arbitration: 02
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 003 03 0 0 0 0 0 1 1 39
02 003 03 0 0 0 0 0 1 1 31
03 003 03 0 0 0 0 0 1 1 41
04 003 03 0 0 0 0 0 1 1 49
05 003 03 0 0 0 0 0 1 1 51
06 003 03 0 0 0 0 0 1 1 59
07 003 03 0 0 0 0 0 1 1 61
08 003 03 0 0 0 0 0 1 1 69
09 003 03 1 1 0 1 0 1 1 71
0a 000 00 1 0 0 0 0 0 0 00
0b 000 00 1 0 0 0 0 0 0 00
0c 003 03 0 0 0 0 0 1 1 79
0d 003 03 0 0 0 0 0 1 1 81
0e 003 03 0 0 0 0 0 1 1 89
0f 003 03 0 0 0 0 0 1 1 91

IO APIC #3......
.... register #00: 03000000
....... : physical APIC id: 03
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 000F0011
....... : max redirection entries: 000F
....... : PRQ implemented: 0
....... : IO APIC version: 0011
.... register #02: 03000000
....... : arbitration: 03
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 000 00 1 0 0 0 0 0 0 00
02 003 03 1 1 0 1 0 1 1 99
03 000 00 1 0 0 0 0 0 0 00
04 000 00 1 0 0 0 0 0 0 00
05 000 00 1 0 0 0 0 0 0 00
06 000 00 1 0 0 0 0 0 0 00
07 000 00 1 0 0 0 0 0 0 00
08 003 03 1 1 0 1 0 1 1 A1
09 000 00 1 0 0 0 0 0 0 00
0a 000 00 1 0 0 0 0 0 0 00
0b 000 00 1 0 0 0 0 0 0 00
0c 000 00 1 0 0 0 0 0 0 00
0d 000 00 1 0 0 0 0 0 0 00
0e 000 00 1 0 0 0 0 0 0 00
0f 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ18 -> 1:2
IRQ24 -> 1:8
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 2800.1047 MHz.
..... host bus clock speed is 133.3382 MHz.
cpu: 0, clocks: 1333382, slice: 444460
CPU0<T0:1333376,T1:888912,D:4,S:444460,C:1333382>
cpu: 1, clocks: 1333382, slice: 444460
CPU1<T0:1333376,T1:444448,D:8,S:444460,C:1333382>
cpu_sibling_map[0] = 1
cpu_sibling_map[1] = 0
Starting migration thread for cpu 0
smp_num_cpus: 2.
Starting migration thread for cpu 1
ACPI: Subsystem revision 20031002
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xfda52, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:0f.1
PCI: Discovered primary peer bus 01 [IRQ]
PCI: Discovered primary peer bus 02 [IRQ]
PCI->APIC IRQ transform: (B0,I5,P0) -> 18
PCI->APIC IRQ transform: (B0,I15,P0) -> 9
PCI->APIC IRQ transform: (B1,I8,P0) -> 24
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS not found.

brandor
2005-09-12, 01:24 PM CDT
There is an option in the kernel to have extended memory support. I can't remember the option name or if it's already included in the FC1 kernel (sounds like it's not, so you'll probably have to recompile the kernel).

jowah
2005-09-13, 04:15 AM CDT
I'm looking at the available kernel packages in the ATrpms repository...

Could it be that you have used an i386 or i586 kernel RPM instead of an i686 one? The i686 kernels ought to have HIGHMEM support compiled in.

What does
uname -m
tell you? Also,
rpm -qa --qf "%{name}-%{version}-%{release} is for %{arch}\n"|grep kernelwill tell you which architecture the kernel packages was compiled for.

I'm just stabbing in the dark here, really... another possibility is that there has been BIOS fixes for this issue. Check with Fujitsu/Siemens.

mtrento
2005-09-19, 07:33 AM CDT
Hi

finally i recompiled the kernel with the 4GB option.
the kernel version was 2.4.22-1.2199.nptl_52.rhfc1.atsmp
i downloaded the last source code from http://atrpms.net/dist/fc1/kernel/
because i need the extended attribute patch from redhat.

i did the following :
make mrproper
make menuconfig
make dep
make bzimage
make modules_install
mkinitrd ..... (important for booting with scsi devices)

for a quick tutorial , see : http://www.cpqlinux.com/kernel.html

edited the grub config file
and Voilą, all my mem is recognized. :)