[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen 4.2.1, Linux 3.3.4 kernel crash



On Thu, May 03, 2012 at 11:02:02AM -0700, Sam Mulvey wrote:
> 
> On May 3, 2012, at 10:24 AM, Konrad Rzeszutek Wilk wrote:
> > 
> > This looks like an E820 alignment issue. Can you provide the full serial 
> > output please.
> 
> Coming right up!

Hm, there is nothing here that looks wrong, per say. I would suggest
you do: dom0_mem=max:1G instead of dom0_mem=1G (otherwise you end up
having dom0 contain pages for the full 13GB).

Besides that, can you do redo this with on Linux command line be:

'earlyprintk=xen console=hvc0 debug memblock=debug loglevel=8 initcall_debug"

And add on the Xen line: "sync_console".

Hopefully that will provide some idea of why this is not working right.

> 
> __  __            _  _    _   ____  
>  \ \/ /___ _ __   | || |  / | |___ \ 
>   \  // _ \ '_ \  | || |_ | |   __) |
>   /  \  __/ | | | |__   _|| |_ / __/ 
>  /_/\_\___|_| |_|    |_|(_)_(_)_____|
>                                      
> (XEN) Xen version 4.1.2 (sam@localdomain) (gcc version 4.7.0 20120414 
> (prerelease) (GCC) ) Wed May  2 19:51:21 PDT 2012
> (XEN) Latest ChangeSet: unavailable
> (XEN) Bootloader: GNU GRUB 0.97
> (XEN) Command line: dom0_mem=1G loglvl=all guest_loglvl=all com1=115200,8n1 
> console=com1
> (XEN) Video information:
> (XEN)  VGA is text mode 80x25, font 8x16
> (XEN)  VBE/DDC methods: V2; EDID transfer time: 2 seconds
> (XEN) Disc information:
> (XEN)  Found 3 MBR signatures
> (XEN)  Found 3 EDD information structures
> (XEN) Xen-e820 RAM map:
> (XEN)  0000000000000000 - 000000000009d000 (usable)
> (XEN)  000000000009d000 - 00000000000a0000 (reserved)
> (XEN)  00000000000e0000 - 0000000000100000 (reserved)
> (XEN)  0000000000100000 - 00000000bfff0000 (usable)
> (XEN)  00000000bfff0000 - 00000000bfffe000 (ACPI data)
> (XEN)  00000000bfffe000 - 00000000c0000000 (ACPI NVS)
> (XEN)  00000000fec00000 - 00000000fec03000 (reserved)
> (XEN)  00000000fee00000 - 00000000fee01000 (reserved)
> (XEN)  0000000100000000 - 0000000380000000 (usable)
> (XEN) ACPI: RSDP 000F83C0, 0024 (r2 ACPIAM)
> (XEN) ACPI: XSDT BFFF0100, 004C (r1 071008 XSDT0948 20080710 MSFT       97)
> (XEN) ACPI: FACP BFFF0290, 00F4 (r3 071008 FACP0948 20080710 MSFT       97)
> (XEN) ACPI: DSDT BFFF04A0, 3B68 (r1  0AAAA 0AAAA000        0 INTL  2002026)
> (XEN) ACPI: FACS BFFFE000, 0040
> (XEN) ACPI: APIC BFFF0390, 00CA (r1 071008 APIC0948 20080710 MSFT       97)
> (XEN) ACPI: MCFG BFFF0460, 003C (r1 071008 OEMMCFG  20080710 MSFT       97)
> (XEN) ACPI: OEMB BFFFE040, 0056 (r1 071008 OEMB0948 20080710 MSFT       97)
> (XEN) ACPI: SRAT BFFF4010, 0150 (r1 AMD    HAMMER          1 AMD         1)
> (XEN) System RAM: 13311MB (13631028kB)
> (XEN) SRAT: PXM 0 -> APIC 0 -> Node 0
> (XEN) SRAT: PXM 0 -> APIC 1 -> Node 0
> (XEN) SRAT: PXM 0 -> APIC 2 -> Node 0
> (XEN) SRAT: PXM 0 -> APIC 3 -> Node 0
> (XEN) SRAT: PXM 1 -> APIC 4 -> Node 1
> (XEN) SRAT: PXM 1 -> APIC 5 -> Node 1
> (XEN) SRAT: PXM 1 -> APIC 6 -> Node 1
> (XEN) SRAT: PXM 1 -> APIC 7 -> Node 1
> (XEN) SRAT: Node 0 PXM 0 0-a0000
> (XEN) SRAT: Node 0 PXM 0 100000-c0000000
> (XEN) SRAT: Node 0 PXM 0 100000000-1e0000000
> (XEN) SRAT: Node 1 PXM 1 1e0000000-380000000
> (XEN) NUMA: Allocated memnodemap from 37e5f5000 - 37e5f9000
> (XEN) NUMA: Using 8 for the hash shift.
> (XEN) Domain heap initialised DMA width 30 bits
> (XEN) found SMP MP-table at 000ff780
> (XEN) DMI 2.3 present.
> (XEN) Using APIC driver default
> (XEN) ACPI: PM-Timer IO Port: 0x508
> (XEN) ACPI: ACPI SLEEP INFO: pm1x_cnt[544,504], pm1x_evt[540,500]
> (XEN) ACPI:                  wakeup_vec[bfffe00c], vec_size[20]
> (XEN) ACPI: Local APIC address 0xfee00000
> (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
> (XEN) Processor #0 0:2 APIC version 16
> (XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
> (XEN) Processor #1 0:2 APIC version 16
> (XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
> (XEN) Processor #2 0:2 APIC version 16
> (XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
> (XEN) Processor #3 0:2 APIC version 16
> (XEN) ACPI: LAPIC (acpi_id[0x05] lapic_id[0x04] enabled)
> (XEN) Processor #4 0:2 APIC version 16
> (XEN) ACPI: LAPIC (acpi_id[0x06] lapic_id[0x05] enabled)
> (XEN) Processor #5 0:2 APIC version 16
> (XEN) ACPI: LAPIC (acpi_id[0x07] lapic_id[0x06] enabled)
> (XEN) Processor #6 0:2 APIC version 16
> (XEN) ACPI: LAPIC (acpi_id[0x08] lapic_id[0x07] enabled)
> (XEN) Processor #7 0:2 APIC version 16
> (XEN) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
> (XEN) ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
> (XEN) ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
> (XEN) ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
> (XEN) ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1])
> (XEN) ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1])
> (XEN) ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1])
> (XEN) ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1])
> (XEN) ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0])
> (XEN) IOAPIC[0]: apic_id 8, version 17, address 0xfec00000, GSI 0-15
> (XEN) ACPI: IOAPIC (id[0x09] address[0xfec01000] gsi_base[16])
> (XEN) IOAPIC[1]: apic_id 9, version 17, address 0xfec01000, GSI 16-31
> (XEN) ACPI: IOAPIC (id[0x0a] address[0xfec02000] gsi_base[32])
> (XEN) IOAPIC[2]: apic_id 10, version 17, address 0xfec02000, GSI 32-47
> (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
> (XEN) ACPI: IRQ0 used by override.
> (XEN) ACPI: IRQ2 used by override.
> (XEN) Enabling APIC mode:  Flat.  Using 3 I/O APICs
> (XEN) PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
> (XEN) PCI: Not using MMCONFIG.
> (XEN) Table is not found!
> (XEN) Using ACPI (MADT) for SMP configuration information
> (XEN) IRQ limits: 48 GSI, 1504 MSI/MSI-X
> (XEN) Using scheduler: SMP Credit Scheduler (credit)
> (XEN) Detected 2294.308 MHz processor.
> (XEN) Initing memory sharing.
> (XEN) AMD Fam10h machine check reporting enabled
> (XEN) AMD-Vi: IOMMU not found!
> (XEN) I/O virtualisation disabled
> (XEN) ENABLING IO-APIC IRQs
> (XEN)  -> Using new ACK method
> (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1
> (XEN) Platform timer appears to have unexpectedly wrapped 10 or more times.
> (XEN) Platform timer is 3.579MHz ACPI PM Timer
> Ë(XEN) Allocated console ring of 64 KiB.
> (XEN) HVM: ASIDs enabled.
> (XEN) SVM: Supported advanced features:
> (XEN)  - Nested Page Tables (NPT)
> (XEN)  - Last Branch Record (LBR) Virtualisation
> (XEN) HVM: SVM enabled
> (XEN) HVM: Hardware Assisted Paging detected.
> (XEN) Brought up 8 CPUs
> (XEN) CPUIDLE: disabled due to no HPET. Force enable with 'cpuidle'.
> (XEN) ACPI sleep modes: S3
> (XEN) MCA: Use hw thresholding to adjust polling frequency
> (XEN) mcheck_poll: Machine check polling timer started.
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN)  Xen  kernel: 64-bit, lsb, compat32
> (XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x1eb8000
> (XEN) PHYSICAL MEMORY ARRANGEMENT:
> (XEN)  Dom0 alloc.:   0000000370000000->0000000374000000 (243340 pages to be 
> allocated)
> (XEN)  Init. ramdisk: 000000037f68c000->000000037ffffe00
> (XEN) VIRTUAL MEMORY ARRANGEMENT:
> (XEN)  Loaded kernel: ffffffff81000000->ffffffff81eb8000
> (XEN)  Init. ramdisk: ffffffff81eb8000->ffffffff8282be00
> (XEN)  Phys-Mach map: ffffffff8282c000->ffffffff82a2c000
> (XEN)  Start info:    ffffffff82a2c000->ffffffff82a2c4b4
> (XEN)  Page tables:   ffffffff82a2d000->ffffffff82a46000
> (XEN)  Boot stack:    ffffffff82a46000->ffffffff82a47000
> (XEN)  TOTAL:         ffffffff80000000->ffffffff82c00000
> (XEN)  ENTRY ADDRESS: ffffffff818b4200
> (XEN) Dom0 has maximum 8 VCPUs
> (XEN) Scrubbing Free RAM: 
> ..........................................................................................................................done.
> (XEN) Xen trace buffers: disabled
> (XEN) Std. Loglevel: All
> (XEN) Guest Loglevel: All
> (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to 
> Xen)
> (XEN) Freed 228kB init memory.
> mapping kernel into physical memory
> Xen: setup ISA identity maps
> about to get started...
> [    0.000000] Cannot find 20480 bytes in node 1
> [    0.000000] BUG: unable to handle kernel NULL pointer dereference at       
>     (null)
> [    0.000000] IP: [<ffffffff818d5704>] __alloc_bootmem_node+0x72/0x99
> [    0.000000] PGD 0 
> [    0.000000] Oops: 0000 [#1] PREEMPT SMP 
> [    0.000000] CPU 0 
> [    0.000000] Modules linked in:
> [    0.000000] 
> [    0.000000] Pid: 0, comm: swapper Not tainted 3.3.4-2-ARCH #1 empty 
> empty/S3992
> [    0.000000] RIP: e030:[<ffffffff818d5704>]  [<ffffffff818d5704>] 
> __alloc_bootmem_node+0x72/0x99
> [    0.000000] RSP: e02b:ffffffff81801de8  EFLAGS: 00010046
> [    0.000000] RAX: 0000000000000000 RBX: 0000000000000378 RCX: 
> 0000000000000000
> [    0.000000] RDX: 0000000000000040 RSI: 0000000000000378 RDI: 
> 0000000000000000
> [    0.000000] RBP: ffffffff81801e08 R08: 0000000000000000 R09: 
> ffffffff81801d98
> [    0.000000] R10: ffffffff81801d88 R11: ffffffff81801d90 R12: 
> 0000000000000040
> [    0.000000] R13: 0000000000000000 R14: 0000000000000000 R15: 
> 0000000000000001
> [    0.000000] FS:  0000000000000000(0000) GS:ffffffff8189f000(0000) 
> knlGS:0000000000000000
> [    0.000000] CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
> [    0.000000] CR2: 0000000000000000 CR3: 0000000001805000 CR4: 
> 0000000000000660
> [    0.000000] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
> 0000000000000000
> [    0.000000] DR3: 0000000000000000 DR6: 0000000000000000 DR7: 
> 0000000000000000
> [    0.000000] Process swapper (pid: 0, threadinfo ffffffff81800000, task 
> ffffffff8180d020)
> [    0.000000] Stack:
> [    0.000000]  0000000000080000 0000000000000378 000000000000003c 
> ffff88003fbfa000
> [    0.000000]  ffffffff81801e68 ffffffff818d63f0 ffffffff81801e48 
> 00000001818d53bc
> [    0.000000]  ffff88003fbf9fe0 0000000000000000 000000000282c000 
> ffff88003fbfa000
> [    0.000000] Call Trace:
> [    0.000000]  [<ffffffff818d63f0>] 
> sparse_early_usemaps_alloc_node+0x63/0x1c4
> [    0.000000]  [<ffffffff818d677b>] sparse_init+0xf8/0x2c8
> [    0.000000]  [<ffffffff818ca4d2>] paging_init+0x13/0x22
> [    0.000000]  [<ffffffff818b9dca>] setup_arch+0x9f2/0xac0
> [    0.000000]  [<ffffffff814562d2>] ? printk+0x41/0x43
> [    0.000000]  [<ffffffff818b491b>] start_kernel+0xd4/0x3d1
> [    0.000000]  [<ffffffff818b4346>] x86_64_start_reservations+0x131/0x135
> [    0.000000]  [<ffffffff818b69c9>] xen_start_kernel+0x598/0x59f
> [    0.000000] Code: 4c 89 e9 4c 89 e2 48 89 de bf 40 00 00 00 e8 0f fc ff ff 
> eb 34 41 8b 96 a0 40 00 00 be 00 80 00 00 48 89 df e8 1e 11 88 ff eb 1e <41> 
> 8b be a0 40 00 00 49 83 c8 ff 4c 89 e9 4c 89 e2 48 89 de e8 
> [    0.000000] RIP  [<ffffffff818d5704>] __alloc_bootmem_node+0x72/0x99
> [    0.000000]  RSP <ffffffff81801de8>
> [    0.000000] CR2: 0000000000000000
> [    0.000000] ---[ end trace a7919e7f17c0a725 ]---
> [    0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
> (XEN) Domain 0 crashed: rebooting machine in 5 seconds.
> 
> 
> Thanks!
> 
> 
> -- 
> Sam Mulvey
> Tacoma Telematics
> sam@xxxxxxxxxxxxxxxxxxxx
> (253) 883-3030 x110
> 
> 
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.