WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 1702] New: Xen panic with x2apic enabled

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1702] New: Xen panic with x2apic enabled
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Sun, 9 Jan 2011 19:06:23 -0800
Delivery-date: Sun, 09 Jan 2011 19:06:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1702

           Summary: Xen panic with x2apic enabled
           Product: Xen
           Version: unstable
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Hypervisor
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: yang.z.zhang@xxxxxxxxx


Environment:
------------
Service Arch (ia32/ia32e/IA64): ia32e
Guest Arch (ia32/ia32e/IA64): 
Guest OS Type (Linux/Windows):Linux
Change Set: 22640
Hardware: Sandybridge
Other:

Bug detailed description:
--------------------------
we installed the latest xen unstable(cs22640),and reboot the machine.
But we found xen panic,failing to bootup .From the log , we find it fail to
enable x2apic. So we disable the x2apic in grub(add x2apic=0 in xen's arg) and
it boot success. The detail of the failed log as following:

root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83
kernel (hd0,0)/boot/xen-22640.gz dom0_mem=512M iommu=1 loglvl=all guest_loglvl=
all unrestricted_guest=1 console=com1 sync_console iommu=1 msi=1 conring_size=4
M xsave
   [Multiboot-module @ 0x6c7000, 0x3bf600 bytes]
module (hd0,0)/boot/initrd-2.6-xen.imgro root=/dev/sda1 console=hvc0 earlyprint
 __  __            _  _    _                    _        _     _
 \ \/ /___ _ __   | || |  / |   _   _ _ __  ___| |_ __ _| |__ | | ___
  \  // _ \ '_ \  | || |_ | |__| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
  /  \  __/ | | | |__   _|| |__| |_| | | | \__ \ || (_| | |_) | |  __/
 /_/\_\___|_| |_|    |_|(_)_|   \__,_|_| |_|___/\__\__,_|_.__/|_|\___|

(XEN) Xen version 4.1-unstable (root@xxxxxxx) (gcc version 4.1.2 20080704 (Red
Hat 4.1.2-48)) Thu D0(XEN) Latest ChangeSet: Mon Dec 27 08:00:09 2010 +0000
22640:4e108cf56d07
(XEN) Console output is synchronous.
(XEN) Bootloader: GNU GRUB 0.97
(XEN) Command line: dom0_mem=512M iommu=1 loglvl=all guest_loglvl=all
unrestricted_guest=1 console=
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: none; EDID transfer time: 0 seconds
(XEN)  EDID info not retrieved because no DDC retrieval method detected
(XEN) Disc information:
(XEN)  Found 0 MBR signatures
(XEN)  Found 1 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009bc00 (usable)
(XEN)  000000000009bc00 - 00000000000a0000 (reserved)
(XEN)  00000000000e0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 0000000020050000 (usable)
(XEN)  0000000020050000 - 0000000020250000 (reserved)
(XEN)  0000000020250000 - 0000000040000000 (usable)
(XEN)  0000000040000000 - 0000000040200000 (reserved)
(XEN)  0000000040200000 - 000000007f553000 (usable)
(XEN)  000000007f553000 - 000000007f5e7000 (reserved)
(XEN)  000000007f5e7000 - 000000007f7e7000 (ACPI NVS)
(XEN)  000000007f7e7000 - 000000007f7ff000 (ACPI data)
(XEN)  000000007f7ff000 - 000000007f800000 (usable)
(XEN)  000000007f800000 - 0000000080000000 (reserved)
(XEN)  00000000f8000000 - 00000000fc000000 (reserved)
(XEN)  00000000fec00000 - 00000000fec01000 (reserved)
(XEN)  00000000fed10000 - 00000000fed14000 (reserved)
(XEN)  00000000fed18000 - 00000000fed1a000 (reserved)
(XEN)  00000000fed1c000 - 00000000fed20000 (reserved)
(XEN)  00000000fee00000 - 00000000fee01000 (reserved)
(XEN)  00000000ff980000 - 00000000ffc00000 (reserved)
(XEN)  00000000ffd80000 - 0000000100000000 (reserved)
(XEN) System RAM: 2032MB (2081724kB)
(XEN) ACPI: RSDP 000F0410, 0024 (r2  INTEL)
(XEN) ACPI: XSDT 7F7FDE18, 0074 (r1  INTEL  SNB-CPT  6222004 MSFT    10013)
(XEN) ACPI: FACP 7F752D98, 00F4 (r4  INTEL  SNB-CPT  6222004 MSFT    10013)
(XEN) ACPI: DSDT 7F725018, EACA (r2  INTEL  SNB-CPT        0 INTL 20100331)
(XEN) ACPI: FACS 7F7E6D40, 0040
(XEN) ACPI: APIC 7F7FCF18, 0092 (r2  INTEL  SNB-CPT  6222004 MSFT    10013)
(XEN) ACPI: TCPA 7F79FD18, 0032 (r2                        0             0)
(XEN) ACPI: MCFG 7F79FC98, 003C (r1 INTEL  SNDYBRDG  6222004 MSFT       97)
(XEN) ACPI: HPET 7F79FC18, 0038 (r1 A M I   PCHHPET  6222004 AMI.        3)
(XEN) ACPI: SSDT 7F753018, 1068 (r1 TrmRef PtidDevc     1000 INTL 20100331)
(XEN) ACPI: BOOT 7F79FB98, 0028 (r1 INTEL  SNB-CPT   6222004 AMI     10013)
(XEN) ACPI: SSDT 7F79E898, 074B (r1  PmRef  Cpu0Ist     3000 INTL 20100331)
(XEN) ACPI: SSDT 7F751018, 0996 (r1  PmRef    CpuPm     3000 INTL 20100331)
(XEN) ACPI: DMAR 7F7E6B18, 00B0 (r1 INTEL      SNB         1 INTL        1)
(XEN) No NUMA configuration found
(XEN) Faking a node at 0000000000000000-000000007f800000
(XEN) Domain heap initialised
(XEN) found SMP MP-table at 000fcaa0
(XEN) DMI 2.6 present.
(XEN) Using APIC driver default
(XEN) ACPI: PM-Timer IO Port: 0x408
(XEN) ACPI: ACPI SLEEP INFO: pm1x_cnt[404,0], pm1x_evt[400,0]
(XEN) ACPI: 32/64X FACS address mismatch in FADT - 7f79df40/000000007f7e6d40,
using 32
(XEN) ACPI:                  wakeup_vec[7f79df4c], vec_size[20]
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
(XEN) Processor #0 6:10 APIC version 21
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
(XEN) Processor #2 6:10 APIC version 21
(XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x04] enabled)
(XEN) Processor #4 6:10 APIC version 21
(XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x06] enabled)
(XEN) Processor #6 6:10 APIC version 21
(XEN) ACPI: LAPIC (acpi_id[0x05] lapic_id[0x01] enabled)
(XEN) Processor #1 6:10 APIC version 21
(XEN) ACPI: LAPIC (acpi_id[0x06] lapic_id[0x03] enabled)
(XEN) Processor #3 6:10 APIC version 21
(XEN) ACPI: LAPIC (acpi_id[0x07] lapic_id[0x05] enabled)
(XEN) Processor #5 6:10 APIC version 21
(XEN) ACPI: LAPIC (acpi_id[0x08] lapic_id[0x07] enabled)
(XEN) Processor #7 6:10 APIC version 21
(XEN) ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
(XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
(XEN) IOAPIC[0]: apic_id 2, version 32, 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: IRQ0 used by override.
(XEN) ACPI: IRQ2 used by override.
(XEN) ACPI: IRQ9 used by override.
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) ACPI: HPET id: 0x8086a701 base: 0xfed00000
(XEN) PCI: MCFG configuration 0: base f8000000 segment 0 buses 0 - 63
(XEN) PCI: MCFG area at f8000000 reserved in E820
(XEN) Table is not found!
(XEN) Using ACPI (MADT) for SMP configuration information
(XEN) IRQ limits: 24 GSI, 1528 MSI/MSI-X
(XEN) Switched to APIC driver x2apic_cluster.
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 3093.076 MHz processor.
(XEN) ----[ Xen-4.1-unstable  x86_64  debug=y  Tainted:    C ]----
(XEN) CPU:    0
(XEN) RIP:    e008:[<ffff82c48016605d>] share_xen_page_with_guest+0xda/0x21e
(XEN) RFLAGS: 0000000000010093   CONTEXT: hypervisor
(XEN) rax: ffff82c400000000   rbx: ffff83007f352000   rcx: 0000000000000000
(XEN) rdx: ffffffffffffffff   rsi: 0000000000000000   rdi: 0000000000000000
(XEN) rbp: ffff82c480297d98   rsp: ffff82c480297d78   r8:  00007d0a00000000
(XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
(XEN) r12: ffff82f600000000   r13: 0000000000000000   r14: 0000000000000000
(XEN) r15: 0000000000000007   cr0: 000000008005003b   cr4: 00000000000000b0
(XEN) cr3: 000000007f29c000   cr2: ffff82c400000000
(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: 0000   cs: e008
(XEN) Xen stack trace from rsp=ffff82c480297d78:
(XEN)    0000000000000000 0000000000000008 0000000000000007 0000000000000008
(XEN)    ffff82c480297dd8 ffff82c48027500b 0000000000000008 ffff82c480297f18
(XEN)    0000000000000008 0000000000000007 0000000000000008 0000000000000007
(XEN)    ffff82c480297f08 ffff82c48027cb2a 0000000000000000 0000000000000000
(XEN)    ffff82c48025c6a5 000000000025c640 00f1200000000000 0000000000000000
(XEN)    ffff83000007bc50 ffff83000007bfb0 ffff83000007bef0 0000000000f12000
(XEN)    0000000000000000 0000000000000000 0000000020000000 0000000000000000
(XEN)    0000000000000000 ffffffffffffffff ffff83000007bef0 000000000007bef0
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    ffff82c48028cba8 0000000001000000 ffffffff00000000 ffff82c48025c640
(XEN)    0000000800000000 000000010000006e 0000000000000003 00000000000002f8
(XEN)    0000000000000000 0000000000000000 000000007c223900 000000007de39018
(XEN)    0000000000000000 0000000000000001 0000000000067ebc ffff82c4801000b5
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 0000000000000000 0000000000000000
(XEN)    0000000000000000 0000000000000000 ffff83007f2d8000 0000000000000000
(XEN) Xen call trace:
(XEN)    [<ffff82c48016605d>] share_xen_page_with_guest+0xda/0x21e
(XEN)    [<ffff82c48027500b>] arch_init_memory+0xdb/0x304
(XEN)    [<ffff82c48027cb2a>] __start_xen+0x54bf/0x5925
(XEN)
(XEN) Pagetable walk from ffff82c400000000:
(XEN)  L4[0x105] = 000000007f2a2027 5555555555555555
(XEN)  L3[0x110] = 000000007f2d7063 5555555555555555
(XEN)  L2[0x000] = 7075727265746e49 ffffffffffffffff
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) FATAL PAGE FAULT
(XEN) [error_code=000b]
(XEN) Faulting linear address: ffff82c400000000
(XEN) ****************************************
(XEN)
(XEN) Reboot in five seconds...
(XEN) spurious 8259A interrupt: IRQ7.







Reproduce steps:
----------------
1.Install the latest xen unstable (cs 22640)
2.Reboot the machine
3.We see the xen panic,failing to bootup

Current result:
----------------
xen panic ,failing to bootup 

Expected result:
----------------
 boot success 

Basic root-causing log:
----------------------


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>