Bug 300118

Summary: xen-pae kernel can't initialize the right memory size
Product: [openSUSE] openSUSE 10.2 Reporter: Dominik Zajac <dominik.zajac>
Component: XenAssignee: Jan Beulich <jbeulich>
Status: RESOLVED FIXED QA Contact: Jason Douglas <jdouglas>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: 32bit   
OS: Linux   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 299576    
Bug Blocks:    

Description Dominik Zajac 2007-08-14 09:24:29 UTC
xen-pae kernel can't initialize the right size of memory 
system has 8gb of memory installed 
if system is booted by a kernel without xen all memory is usable


system booted without options:
# free
             total       used       free     shared    buffers     cached
Mem:       3370740     176576    3194164          0       3428      39956
-/+ buffers/cache:     133192    3237548
Swap:      1004052          0    1004052

/var/log/boot.msg:

<6>BIOS-provided physical RAM map:
<4> Xen: 0000000000000000 - 00000000ce38f000 (usable)
<5>2571MB HIGHMEM available.
<5>727MB LOWMEM available.
<4>NX (Execute Disable) protection: active
<7>On node 0 totalpages: 844687
<7>  DMA zone: 186366 pages, LIFO batch:31
<7>  HighMem zone: 658321 pages, LIFO batch:31
<6>found SMP MP-table at 000ff780
<6>DMI present

<4> Aperture:     64 megabytes
<4> Kernel range: 0x00000000c2e09000 - 0x00000000c6e09000
<4>vmalloc area: ee000000-f51fe000, maxmem 2d7fe000
<6>Memory: 3260492k/3378748k available (1977k kernel code, 109164k reserved, 956k data, 184k init, 2633284k highmem)
<4>Checking if this processor honours the WP bit even in supervisor mode... Ok.
<4>Calibrating delay using timer specific routine.. 6002.48 BogoMIPS (lpj=12004966)
<6>Security Framework v1.0.0 initialized

cat /proc/meminfo
MemTotal:      3370740 kB
MemFree:       3193932 kB
Buffers:          3776 kB
Cached:          39992 kB
SwapCached:          0 kB
Active:          25560 kB
Inactive:        28188 kB
HighTotal:     2633284 kB
HighFree:      2570420 kB
LowTotal:       737456 kB
LowFree:        623512 kB
SwapTotal:     1004052 kB
SwapFree:      1004052 kB
Dirty:               8 kB
Writeback:           0 kB
AnonPages:        9984 kB
Mapped:           6916 kB
Slab:            11968 kB
PageTables:        536 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   2689420 kB
Committed_AS:    34948 kB
VmallocTotal:   116728 kB
VmallocUsed:      3308 kB
VmallocChunk:   112648 kB




system booted with option mem=8000M

#free output:
             total       used       free     shared    buffers     cached
Mem:       3370740     221544    3149196          0       4420      41856
-/+ buffers/cache:     175268    3195472
Swap:      1004052          0    1004052


/var/log/boot.msg:

Inspecting /boot/System.map-2.6.18.8-0.5-xenpae
Loaded 22634 symbols from /boot/System.map-2.6.18.8-0.5-xenpae.
Symbols match kernel version 2.6.18.
No module symbols loaded - kernel modules not enabled.

klogd 1.4.1, log source = ksyslog started.
<5>Linux version 2.6.18.8-0.5-xenpae (geeko@buildhost) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) #1 SMP Fri Jun 22 12:17:53 UTC 2007
<6>BIOS-provided physical RAM map:
<4> Xen: 0000000000000000 - 00000000ce38f000 (usable)
<6>user-defined physical RAM map:
<4> user: 0000000000000000 - 00000001f4000000 (usable)
<5>7272MB HIGHMEM available.
<5>727MB LOWMEM available.
<4>NX (Execute Disable) protection: active
<7>On node 0 totalpages: 2048000


<6>Software IO TLB enabled:
<4> Aperture:     64 megabytes
<4> Kernel range: 0x00000000c5758000 - 0x00000000c9758000
<4>vmalloc area: ee000000-f51fe000, maxmem 2d7fe000
<6>Memory: 3218252k/8192000k available (1977k kernel code, 151468k reserved, 956k data, 184k init, 7446536k
highmem)
<4>Checking if this processor honours the WP bit even in supervisor mode... Ok.
<4>Calibrating delay using timer specific routine.. 6002.53 BogoMIPS (lpj=12005062)





# cat /proc/meminfo
MemTotal:      3370740 kB
MemFree:       3148824 kB
Buffers:          4716 kB
Cached:          41860 kB
SwapCached:          0 kB
Active:          28476 kB
Inactive:        28940 kB
HighTotal:     7446536 kB
HighFree:      2568188 kB
LowTotal:     4290891500 kB
LowFree:        580636 kB
SwapTotal:     1004052 kB
SwapFree:      1004052 kB
Dirty:             104 kB
Writeback:           0 kB
AnonPages:       10808 kB
Mapped:           7120 kB
Slab:            12192 kB
PageTables:        560 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   2689420 kB
Committed_AS:    35604 kB
VmallocTotal:   116728 kB
VmallocUsed:      3308 kB
VmallocChunk:   112392 kB
Comment 1 Jan Beulich 2007-08-15 07:27:30 UTC
First a note: Using mem= on the kernel command line doesn't give the domain any more memory, it just allows later raising the amount of memory through ballooning.

To understand what happens, we need Xen's output (either collected via a serial cable during boot or obtained through 'xm dmesg' immediately after boot completed).
Comment 2 Dominik Zajac 2007-08-16 06:52:17 UTC
It seems that the xen hypervisor is using the same wrong memory size like grub. 
We tested the system with xen-enterprise too and there was the right memory size detected.


XEN dmsg:

__  __            _____  ___   _____    _ _ _____ _____ _  _     ____   ___  
 \ \/ /___ _ __   |___ / / _ \ |___ /   / / |___  |___  | || |   |___ \ / _ \ 
  \  // _ \ '_ \    |_ \| | | |  |_ \   | | |  / /   / /| || |_ __ __) | | | |
  /  \  __/ | | |  ___) | |_| | ___) |  | | | / /   / / |__   _|__/ __/| |_| |
 /_/\_\___|_| |_| |____(_)___(_)____/___|_|_|/_/   /_/     |_|   |_____|\___/ 
                                   |_____|                                    
 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory

 Xen version 3.0.3_11774-20 (abuild@suse.de) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) Tue Nov 28 09:26:30 UTC 2006
 Latest ChangeSet: 11774

(XEN) Command line: /boot/xen-pae.gz  
(XEN) Physical RAM map:
(XEN)  0000000000000000 - 000000000009fc00 (usable)
(XEN)  0000000000100000 - 00000000d7fd0000 (usable)
(XEN) System RAM: 3455MB (3538364kB)
(XEN) Xen heap: 10MB (10320kB)
(XEN) PAE enabled, limit: 16 GB
(XEN) found SMP MP-table at 000ff780
(XEN) DMI present.
(XEN) Using APIC driver default
(XEN) ACPI: RSDP (v002 ACPIAM                                ) @ 0x000fa3a0
(XEN) ACPI: XSDT (v001 A M I  OEMXSDT  0x06000708 MSFT 0x00000097) @ 0xd7fd0100
(XEN) ACPI: FADT (v003 A M I  OEMFACP  0x06000708 MSFT 0x00000097) @ 0xd7fd0290
(XEN) ACPI: MADT (v001 A M I  OEMAPIC  0x06000708 MSFT 0x00000097) @ 0xd7fd0390
(XEN) ACPI: MCFG (v001 A M I  OEMMCFG  0x06000708 MSFT 0x00000097) @ 0xd7fd0430
(XEN) ACPI: OEMB (v001 A M I  AMI_OEM  0x06000708 MSFT 0x00000097) @ 0xd7fde040
(XEN) ACPI: SRAT (v001 AMD    HAMMER   0x00000001 AMD  0x00000001) @ 0xd7fd4ec0
(XEN) ACPI: HPET (v001 A M I  OEMHPET0 0x06000708 MSFT 0x00000097) @ 0xd7fd4fd0
(XEN) ACPI: SSDT (v001 A M I  POWERNOW 0x00000001 AMD  0x00000001) @ 0xd7fd5010
(XEN) ACPI: DSDT (v001  0AAAA 0AAAA000 0x00000000 INTL 0x20051117) @ 0x00000000
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
(XEN) Processor #0 15:1 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
(XEN) Processor #1 15:1 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
(XEN) Processor #2 15:1 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
(XEN) Processor #3 15:1 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x05] lapic_id[0x84] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x06] lapic_id[0x85] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x07] lapic_id[0x86] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x08] lapic_id[0x87] disabled)
(XEN) ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
(XEN) IOAPIC[0]: apic_id 4, version 17, address 0xfec00000, GSI 0-23
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge)
(XEN) ACPI: IRQ0 used by override.
(XEN) ACPI: IRQ2 used by override.
(XEN) ACPI: IRQ9 used by override.
(XEN) ACPI: IRQ14 used by override.
(XEN) ACPI: IRQ15 used by override.
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) ACPI: HPET id: 0x10de8201 base: 0xfed00000
(XEN) Using ACPI (MADT) for SMP configuration information
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Initializing CPU#0
(XEN) Detected 2400.145 MHz processor.
(XEN) CPU0: AMD Flush Filter disabled
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 1024K (64 bytes/line)
(XEN) CPU 0(2) -> Core 0
(XEN) AMD SVM Extension is enabled for cpu 0.
(XEN) Intel machine check architecture supported.
(XEN) Intel machine check reporting enabled on CPU#0.
(XEN) CPU0: AMD Dual-Core AMD Opteron(tm) Processor 2216 stepping 02
(XEN) Booting processor 1/1 eip 90000
(XEN) Initializing CPU#1
(XEN) CPU1: AMD Flush Filter disabled
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 1024K (64 bytes/line)
(XEN) CPU 1(2) -> Core 1
(XEN) AMD: Disabling C1 Clock Ramping Node #0
(XEN) AMD: Disabling C1 Clock Ramping Node #1
(XEN) AMD SVM Extension is enabled for cpu 1.
(XEN) Intel machine check architecture supported.
(XEN) Intel machine check reporting enabled on CPU#1.
(XEN) CPU1: AMD Dual-Core AMD Opteron(tm) Processor 2216 stepping 02
(XEN) Booting processor 2/2 eip 90000
(XEN) Initializing CPU#2
(XEN) CPU2: AMD Flush Filter disabled
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 1024K (64 bytes/line)
(XEN) CPU 2(2) -> Core 0
(XEN) AMD SVM Extension is enabled for cpu 2.
(XEN) Intel machine check architecture supported.
(XEN) Intel machine check reporting enabled on CPU#2.
(XEN) CPU2: AMD Dual-Core AMD Opteron(tm) Processor 2216 stepping 02
(XEN) Booting processor 3/3 eip 90000
(XEN) Initializing CPU#3
(XEN) CPU3: AMD Flush Filter disabled
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 1024K (64 bytes/line)
(XEN) CPU 3(2) -> Core 1
(XEN) AMD SVM Extension is enabled for cpu 3.
(XEN) Intel machine check architecture supported.
(XEN) Intel machine check reporting enabled on CPU#3.
(XEN) CPU3: AMD Dual-Core AMD Opteron(tm) Processor 2216 stepping 02
(XEN) Total of 4 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using old ACK method
(XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1
(XEN) checking TSC synchronization across 4 CPUs: 
(XEN) CPU#0 had 1783326 usecs TSC skew, fixed it up.
(XEN) CPU#1 had 0 usecs TSC skew, fixed it up.
(XEN) CPU#2 had -1789569 usecs TSC skew, fixed it up.
(XEN) CPU#3 had -1789569 usecs TSC skew, fixed it up.
(XEN) Platform timer is 25.000MHz HPET
(XEN) Brought up 4 CPUs
(XEN) Machine check exception polling timer started.
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Domain 0 kernel supports features = { 0000001f }.
(XEN) Domain 0 kernel requires features = { 00000000 }.
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0000000003000000->0000000004000000 (838543 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: c0100000->c046bab4
(XEN)  Init. ramdisk: c046c000->c0baba00
(XEN)  Phys-Mach map: c0bac000->c0ee2e3c
(XEN)  Start info:    c0ee3000->c0ee346c
(XEN)  Page tables:   c0ee4000->c0ef1000
(XEN)  Boot stack:    c0ef1000->c0ef2000
(XEN)  TOTAL:         c0000000->c1000000
(XEN)  ENTRY ADDRESS: c0100000
(XEN) Dom0 has maximum 4 VCPUs
(XEN) Initrd len 0x73fa00, start at 0xc046c000
(XEN) Scrubbing Free RAM: ...................................done.
(XEN) Xen trace buffers: disabled
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen).



NoXEN dmesg:

Linux version 2.6.18.8-0.5-bigsmp (geeko@buildhost) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) #1 SMP Fri Jun 22 12:17:53 UTC 2007
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000d7fd0000 (usable)
 BIOS-e820: 00000000d7fd0000 - 00000000d7fde000 (ACPI data)
 BIOS-e820: 00000000d7fde000 - 00000000d8000000 (ACPI NVS)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
 BIOS-e820: 0000000100000000 - 0000000228000000 (usable)
7936MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000ff780
NX (Execute Disable) protection: active
On node 0 totalpages: 2260992
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 225280 pages, LIFO batch:31
  HighMem zone: 2031616 pages, LIFO batch:31
DMI present.
Using APIC driver default
ACPI: RSDP (v002 ACPIAM                                ) @ 0x000fa3a0
ACPI: XSDT (v001 A M I  OEMXSDT  0x06000708 MSFT 0x00000097) @ 0xd7fd0100
ACPI: FADT (v003 A M I  OEMFACP  0x06000708 MSFT 0x00000097) @ 0xd7fd0290
ACPI: MADT (v001 A M I  OEMAPIC  0x06000708 MSFT 0x00000097) @ 0xd7fd0390
ACPI: MCFG (v001 A M I  OEMMCFG  0x06000708 MSFT 0x00000097) @ 0xd7fd0430
ACPI: OEMB (v001 A M I  AMI_OEM  0x06000708 MSFT 0x00000097) @ 0xd7fde040
ACPI: SRAT (v001 AMD    HAMMER   0x00000001 AMD  0x00000001) @ 0xd7fd4ec0
ACPI: HPET (v001 A M I  OEMHPET0 0x06000708 MSFT 0x00000097) @ 0xd7fd4fd0
ACPI: SSDT (v001 A M I  POWERNOW 0x00000001 AMD  0x00000001) @ 0xd7fd5010
ACPI: DSDT (v001  0AAAA 0AAAA000 0x00000000 INTL 0x20051117) @ 0x00000000
ACPI: PM-Timer IO Port: 0x2008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:1 APIC version 16
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 15:1 APIC version 16
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
Processor #2 15:1 APIC version 16
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
Processor #3 15:1 APIC version 16
ACPI: LAPIC (acpi_id[0x05] lapic_id[0x84] disabled)
ACPI: LAPIC (acpi_id[0x06] lapic_id[0x85] disabled)
ACPI: LAPIC (acpi_id[0x07] lapic_id[0x86] disabled)
ACPI: LAPIC (acpi_id[0x08] lapic_id[0x87] disabled)
ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 4, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
ACPI: IRQ14 used by override.
ACPI: IRQ15 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
ACPI: HPET id: 0x10de8201 base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at f1000000 (gap: f0000000:0ec00000)
Detected 2400.264 MHz processor.
Built 1 zonelists.  Total pages: 2260992
Kernel command line: root=/dev/sda1 resume=/dev/sda2 splash=silent
bootsplash: silent mode.
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
spurious 8259A interrupt: IRQ7.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 8308804k/9043968k available (1703k kernel code, 78280k reserved, 1103k data, 200k init, 7470912k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
hpet0: at MMIO 0xfed00000 (virtual 0xf8800000), IRQs 2, 8, 31
hpet0: 3 32-bit timers, 25000000 Hz
Using HPET for base-timer
Calibrating delay using timer specific routine.. 4803.83 BogoMIPS (lpj=9607676)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 178bfbff ebd3fbff 00000000 00000000 00002001 00000000 0000001f
CPU: After vendor identify, caps: 178bfbff ebd3fbff 00000000 00000000 00002001 00000000 0000001f
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 0(2) -> Core 0
CPU: After all inits, caps: 178bfbff ebd3fbff 00000000 00000410 00002001 00000000 0000001f
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
checking if image is initramfs... it is
Freeing initrd memory: 3139k freed
ACPI: Core revision 20060707
CPU0: AMD Dual-Core AMD Opteron(tm) Processor 2216 stepping 02
SMP alternatives: switching to SMP code
Booting processor 1/1 eip 3000
Initializing CPU#1
Calibrating delay using timer specific routine.. 4800.28 BogoMIPS (lpj=9600569)
CPU: After generic identify, caps: 178bfbff ebd3fbff 00000000 00000000 00002001 00000000 0000001f
CPU: After vendor identify, caps: 178bfbff ebd3fbff 00000000 00000000 00002001 00000000 0000001f
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 1(2) -> Core 1
CPU: After all inits, caps: 178bfbff ebd3fbff 00000000 00000410 00002001 00000000 0000001f
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: AMD Dual-Core AMD Opteron(tm) Processor 2216 stepping 02
SMP alternatives: switching to SMP code
Booting processor 2/2 eip 3000
Initializing CPU#2
Calibrating delay using timer specific routine.. 4800.29 BogoMIPS (lpj=9600581)
CPU: After generic identify, caps: 178bfbff ebd3fbff 00000000 00000000 00002001 00000000 0000001f
CPU: After vendor identify, caps: 178bfbff ebd3fbff 00000000 00000000 00002001 00000000 0000001f
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 2(2) -> Core 0
CPU: After all inits, caps: 178bfbff ebd3fbff 00000000 00000410 00002001 00000000 0000001f
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#2.
CPU2: AMD Dual-Core AMD Opteron(tm) Processor 2216 stepping 02
SMP alternatives: switching to SMP code
Booting processor 3/3 eip 3000
Initializing CPU#3
Calibrating delay using timer specific routine.. 4800.29 BogoMIPS (lpj=9600587)
CPU: After generic identify, caps: 178bfbff ebd3fbff 00000000 00000000 00002001 00000000 0000001f
CPU: After vendor identify, caps: 178bfbff ebd3fbff 00000000 00000000 00002001 00000000 0000001f
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 3(2) -> Core 1
CPU: After all inits, caps: 178bfbff ebd3fbff 00000000 00000410 00002001 00000000 0000001f
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#3.
CPU3: AMD Dual-Core AMD Opteron(tm) Processor 2216 stepping 02
Total of 4 processors activated (19204.70 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
checking TSC synchronization across 4 CPUs: 
CPU#0 had 426 usecs TSC skew, fixed it up.
CPU#1 had 426 usecs TSC skew, fixed it up.
CPU#2 had -426 usecs TSC skew, fixed it up.
CPU#3 had -426 usecs TSC skew, fixed it up.
Brought up 4 CPUs
migration_cost=428
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using MMCONFIG
PCI: No mmconfig possible on 0:18
PCI: No mmconfig possible on 0:19
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:06.0
PCI: Transparent bridge - 0000:00:06.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR10._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR12._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR15._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LNKB] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LNEA] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LNEB] (IRQs 16 17 18 19) *11
ACPI: PCI Interrupt Link [LNEC] (IRQs 16 17 18 19) *5
ACPI: PCI Interrupt Link [LNED] (IRQs 16 17 18 19) *10
ACPI: PCI Interrupt Link [LUB0] (IRQs 20 21 22 23) *5
ACPI: PCI Interrupt Link [LMAD] (IRQs 20 21 22 23) *10
ACPI: PCI Interrupt Link [LUB2] (IRQs 20 21 22 23) *7
ACPI: PCI Interrupt Link [LMAC] (IRQs 20 21 22 23) *10
ACPI: PCI Interrupt Link [LAZA] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LSMB] (IRQs 20 21 22 23) *10
ACPI: PCI Interrupt Link [LPMU] (IRQs 20 21 22 23) *11
ACPI: PCI Interrupt Link [LSA0] (IRQs 20 21 22 23) *10
ACPI: PCI Interrupt Link [LSA1] (IRQs 20 21 22 23) *11
ACPI: PCI Interrupt Link [LATA] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LSA2] (IRQs 20 21 22 23) *5
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 16 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
pnp: 00:0a: ioport range 0xca0-0xcaf has been reserved
pnp: 00:0d: ioport range 0xa00-0xa7f has been reserved
PCI: Ignore bogus resource 6 [0:0] of 0000:01:06.0
PCI: Bridge: 0000:00:06.0
  IO window: c000-cfff
  MEM window: fe900000-fe9fffff
  PREFETCH window: f8000000-fbffffff
PCI: Bridge: 0000:00:0a.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:0d.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:05:00.0
  IO window: d000-dfff
  MEM window: fea00000-feafffff
  PREFETCH window: disabled.
PCI: Bridge: 0000:05:01.0
  IO window: e000-efff
  MEM window: feb00000-febfffff
  PREFETCH window: disabled.
PCI: Bridge: 0000:04:00.0
  IO window: d000-efff
  MEM window: fea00000-febfffff
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:0f.0
  IO window: d000-efff
  MEM window: fea00000-febfffff
  PREFETCH window: disabled.
PCI: Setting latency timer of device 0000:00:06.0 to 64
PCI: Setting latency timer of device 0000:00:0a.0 to 64
PCI: Setting latency timer of device 0000:00:0d.0 to 64
PCI: Setting latency timer of device 0000:00:0f.0 to 64
PCI: Setting latency timer of device 0000:04:00.0 to 64
PCI: Setting latency timer of device 0000:05:00.0 to 64
PCI: Setting latency timer of device 0000:05:01.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: disabled - APM is not SMP safe.
audit: initializing netlink socket (disabled)
audit(1187253074.972:1): initialized
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Setting latency timer of device 0000:00:0a.0 to 64
pcie_portdrv_probe->Dev[0376:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0a.0:pcie00]
Allocate Port Service[0000:00:0a.0:pcie01]
Allocate Port Service[0000:00:0a.0:pcie03]
PCI: Setting latency timer of device 0000:00:0d.0 to 64
pcie_portdrv_probe->Dev[0378:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0d.0:pcie00]
Allocate Port Service[0000:00:0d.0:pcie01]
Allocate Port Service[0000:00:0d.0:pcie03]
PCI: Setting latency timer of device 0000:00:0f.0 to 64
pcie_portdrv_probe->Dev[0377:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0f.0:pcie00]
Allocate Port Service[0000:00:0f.0:pcie01]
Allocate Port Service[0000:00:0f.0:pcie03]
PCI: Setting latency timer of device 0000:04:00.0 to 64
pcie_portdrv_probe->Dev[8018:111d] has invalid IRQ. Check vendor BIOS
Allocate Port Service[0000:04:00.0:pcie10]
Allocate Port Service[0000:04:00.0:pcie13]
PCI: Setting latency timer of device 0000:05:00.0 to 64
pcie_portdrv_probe->Dev[8018:111d] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:05:00.0:pcie20]
Allocate Port Service[0000:05:00.0:pcie23]
PCI: Setting latency timer of device 0000:05:01.0 to 64
pcie_portdrv_probe->Dev[8018:111d] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:05:01.0:pcie20]
Allocate Port Service[0000:05:01.0:pcie23]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
hpet_resources: 0xfed00000 is busy
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:06: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
input: PC Speaker as /class/input/input0
input: AT Translated Set 2 keyboard as /class/input/input1
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 1
Using IPI No-Shortcut mode
ACPI: (supports S0 S1 S3 S4 S5)
Freeing unused kernel memory: 200k freed
Time: hpet clocksource has been installed.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SCSI subsystem initialized
ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707]
ACPI: Getting cpuindex for acpiid 0x5
ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707]
ACPI: Getting cpuindex for acpiid 0x6
ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707]
ACPI: Getting cpuindex for acpiid 0x7
ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707]
ACPI: Getting cpuindex for acpiid 0x8
NFORCE-MCP55: IDE controller at PCI slot 0000:00:04.0
NFORCE-MCP55: chipset revision 161
NFORCE-MCP55: not 100% native mode: will probe irqs later
NFORCE-MCP55: 0000:00:04.0 (rev a1) UDMA133 controller
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
input: PS/2 Generic Mouse as /class/input/input2
hda: TSSTcorpDVD-ROM SH-D162C, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
libata version 2.00 loaded.
sata_nv 0000:00:05.0: version 2.0
ACPI: PCI Interrupt Link [LSA0] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LSA0] -> GSI 23 (level, low) -> IRQ 217
PCI: Setting latency timer of device 0000:00:05.0 to 64
ata1: SATA max UDMA/133 cmd 0xB480 ctl 0xB402 bmdma 0xAC00 irq 217
ata2: SATA max UDMA/133 cmd 0xB080 ctl 0xB002 bmdma 0xAC08 irq 217
scsi0 : sata_nv
ata1: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0xB487
scsi1 : sata_nv
ata2: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0xB087
ACPI: PCI Interrupt Link [LSA1] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:05.1[B] -> Link [LSA1] -> GSI 22 (level, low) -> IRQ 225
PCI: Setting latency timer of device 0000:00:05.1 to 64
ata3: SATA max UDMA/133 cmd 0xA880 ctl 0xA802 bmdma 0xA080 irq 225
ata4: SATA max UDMA/133 cmd 0xA480 ctl 0xA402 bmdma 0xA088 irq 225
scsi2 : sata_nv
ata3: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0xA887
scsi3 : sata_nv
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: ATA-7, max UDMA/133, 625142448 sectors: LBA48 NCQ (depth 0/1)
ata4.00: ata4: dev 0 multi count 16
ata4.00: configured for UDMA/133
  Vendor: ATA       Model: WDC WD3200YS-01P  Rev: 21.0
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3
sd 3:0:0:0: Attached scsi disk sda
ACPI: PCI Interrupt Link [LSA2] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:05.2[C] -> Link [LSA2] -> GSI 21 (level, low) -> IRQ 233
PCI: Setting latency timer of device 0000:00:05.2 to 64
ata5: SATA max UDMA/133 cmd 0xA000 ctl 0x9C02 bmdma 0x9480 irq 233
ata6: SATA max UDMA/133 cmd 0x9880 ctl 0x9802 bmdma 0x9488 irq 233
scsi4 : sata_nv
sd 3:0:0:0: Attached scsi generic sg0 type 0
ata5: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0xA007
scsi5 : sata_nv
ata6: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0x9887
BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.56.
ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 20
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LMAC] -> GSI 20 (level, low) -> IRQ 50
PCI: Setting latency timer of device 0000:00:08.0 to 64
forcedeth: using HIGHDMA
usbcore: registered new driver usbfs
usbcore: registered new driver hub
hda: ATAPI 48X DVD-ROM drive, 256kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
eth0: forcedeth.c: subsystem: 010de:cb84 bound to 0000:00:08.0
ACPI: PCI Interrupt Link [LMAD] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LMAD] -> GSI 23 (level, low) -> IRQ 217
PCI: Setting latency timer of device 0000:00:09.0 to 64
forcedeth: using HIGHDMA
eth1: forcedeth.c: subsystem: 010de:cb84 bound to 0000:00:09.0
i2c_adapter i2c-0: nForce2 SMBus adapter at 0x2d00
i2c_adapter i2c-1: nForce2 SMBus adapter at 0x2e00
ACPI: PCI Interrupt Link [LUB0] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LUB0] -> GSI 22 (level, low) -> IRQ 225
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:02.0: irq 225, io mem 0xfe8fb000
eth1 renamed to eth11
eth0 renamed to eth8
usb usb1: new device found, idVendor=0000, idProduct=0000
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: OHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.18.8-0.5-bigsmp ohci_hcd
usb usb1: SerialNumber: 0000:00:02.0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 10 ports detected
ACPI: PCI Interrupt Link [LUB2] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LUB2] -> GSI 21 (level, low) -> IRQ 233
PCI: Setting latency timer of device 0000:00:02.1 to 64
ehci_hcd 0000:00:02.1: EHCI Host Controller
ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:02.1: debug port 1
PCI: cache line size of 64 is not supported by device 0000:00:02.1
ehci_hcd 0000:00:02.1: irq 233, io mem 0xfe8fac00
ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: new device found, idVendor=0000, idProduct=0000
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.18.8-0.5-bigsmp ehci_hcd
usb usb2: SerialNumber: 0000:00:02.1
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 10 ports detected
Adding 1004052k swap on /dev/sda2.  Priority:-1 extents:1 across:1004052k
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
loop: loaded (max 200 devices)
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
powernow-k8: Found 4 Dual-Core AMD Opteron(tm) Processor 2216 processors (version 2.00.00)
powernow-k8:    0 : fid 0x10 (2400 MHz), vid 0xa
powernow-k8:    1 : fid 0xe (2200 MHz), vid 0xc
powernow-k8:    2 : fid 0xc (2000 MHz), vid 0xe
powernow-k8:    3 : fid 0xa (1800 MHz), vid 0x10
powernow-k8:    4 : fid 0x2 (1000 MHz), vid 0x12
powernow-k8:    0 : fid 0x10 (2400 MHz), vid 0x8
powernow-k8:    1 : fid 0xe (2200 MHz), vid 0xa
powernow-k8:    2 : fid 0xc (2000 MHz), vid 0xc
powernow-k8:    3 : fid 0xa (1800 MHz), vid 0xe
powernow-k8:    4 : fid 0x2 (1000 MHz), vid 0x12
eth8: no link during initialization.
audit(1187253096.893:2): audit_pid=3468 old=0 by auid=4294967295
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth8: link is not ready
IPv6 over IPv4 tunneling driver



Comment 3 Jan Beulich 2007-08-16 07:43:39 UTC
3.0.3 gets the memory information from the bootloader, so if GrUB isn't getting things right, Xen can't either. This continues to be the case up until 3.1 (i.e. from that perspective, 10.3 will not behave differently). Current unstable gets it directly from the BIOS.

(Btw., please use attachments rather than posting medium or large size info items inline.)
Comment 5 Dominik Zajac 2007-08-16 08:02:24 UTC
so it's a grub bug which is fixed in xen-enterprise
Comment 6 Jan Beulich 2007-08-16 08:12:11 UTC
Depends, namely on what hypervisor they're using.
Comment 7 Dominik Zajac 2007-08-21 09:17:37 UTC
i tested it now on an intel machine 
2x xeon 
8gb ram

there is no problem using xenpae 
so it seems the hypervisor has a problem usign the memorymap of the n3600 chipset 
Comment 9 Jan Beulich 2007-09-14 15:35:01 UTC
Please re-test on 10.3 with fixed GrUB (see bug 299576).
Comment 10 Stephan Kulow 2007-10-11 11:15:27 UTC
We only fixed this for 10.3. If you continue having this problem with it, please reopen