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-devel

RE: [Xen-devel] page fault in xmem_pool_alloc w/ TXT

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: RE: [Xen-devel] page fault in xmem_pool_alloc w/ TXT
From: "Cihula, Joseph" <joseph.cihula@xxxxxxxxx>
Date: Thu, 24 Mar 2011 14:36:59 -0700
Accept-language: en-US
Acceptlanguage: en-US
Cc: "Wang, Shane" <shane.wang@xxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Wei, Gang" <gang.wei@xxxxxxxxx>
Delivery-date: Thu, 24 Mar 2011 17:44:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D8B85CB02000078000381F6@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4F65016F6CB04E49BFFA15D4F7B798D90160478222@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4D8B85CB02000078000381F6@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcvqRGatLFwjC/WpQNu4M3rZk9a8aQAJrioQ
Thread-topic: [Xen-devel] page fault in xmem_pool_alloc w/ TXT
xen-syms attached; here's the serial log:

___             _____
 \ \/ /___ _ __   | || |  / | / _ \    _ __ __|___  | _ __  _ __ ___
  \  // _ \ '_ \  | || |_ | || | | |__| '__/ __| / /_| '_ \| '__/ _ \
  /  \  __/ | | | |__   _|| || |_| |__| | | (__ / /__| |_) | | |  __/
 /_/\_\___|_| |_|    |_|(_)_(_)___/   |_|  \___/_/   | .__/|_|  \___|
                                                     |_|
(XEN) Xen version 4.1.0-rc7-pre (root@) (gcc version 4.5.1 20100924 (Red Hat 4.5
.1-4) (GCC) ) Thu Mar 24 04:32:49 PDT 2011
(XEN) Latest ChangeSet: Wed Mar 23 13:34:55 2011 +0000 23074:c80e0fb4fe93
(XEN) Console output is synchronous.
(XEN) Bootloader: GNU GRUB 0.97
(XEN) Command line: console=com1,vga console=com1 com1=115200,8n1 loglvl=all gue
st_loglvl=all iommu=force,verbose cpufreq=none cpuidle=0 sync_console tboot=0x82
4000
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN) Disc information:
(XEN)  Found 0 MBR signatures
(XEN)  Found 0 EDD information structures
(XEN) Multiboot-e820 RAM map:
(XEN)  0000000000000000 - 0000000000060000 (usable)
(XEN)  0000000000060000 - 0000000000068000 (reserved)
(XEN)  0000000000068000 - 000000000009e400 (usable)
(XEN)  00000000000f0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 0000000000800000 (usable)
(XEN)  0000000000800000 - 000000000087e000 (unusable)
(XEN)  000000000087e000 - 0000000000f00000 (usable)
(XEN)  0000000000f00000 - 0000000001000000 (reserved)
(XEN)  0000000001000000 - 00000000db200000 (usable)
(XEN)  00000000db200000 - 00000000db3cfc00 (reserved)
(XEN)  00000000db3cfc00 - 00000000db423c00 (ACPI NVS)
(XEN)  00000000db423c00 - 00000000db425c00 (ACPI data)
(XEN)  00000000db425c00 - 00000000e0000000 (reserved)
(XEN)  00000000f8000000 - 00000000fc000000 (reserved)
(XEN)  00000000fec00000 - 00000000fed00400 (reserved)
(XEN)  00000000fed20000 - 00000000feda0000 (reserved)
(XEN)  00000000fee00000 - 00000000fef00000 (reserved)
(XEN)  00000000ffb00000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000118000000 (usable)
(XEN) ACPI: RSDP 000FEC00, 0024 (r2 DELL  )
(XEN) ACPI: XSDT 000FC7E7, 007C (r1 DELL    B11K          15 ASL        61)
(XEN) ACPI: FACP 000FC8D7, 00F4 (r3 DELL    B11K          15 ASL        61)
(XEN) ACPI: DSDT FFDC7D94, 47BC (r1   DELL    dt_ex     1000 INTL 20050624)
(XEN) ACPI: FACS DB3CFC00, 0040
(XEN) ACPI: SSDT FFDCC7A5, 0089 (r1   DELL    st_ex     1000 INTL 20050624)
(XEN) ACPI: APIC 000FC9CB, 0092 (r1 DELL    B11K          15 ASL        61)
(XEN) ACPI: BOOT 000FCA5D, 0028 (r1 DELL    B11K          15 ASL        61)
(XEN) ACPI: ASF! 000FCA85, 0096 (r32 DELL    B11K          15 ASL        61)
(XEN) ACPI: MCFG 000FCB1B, 003E (r1 DELL    B11K          15 ASL        61)
(XEN) ACPI: HPET 000FCB59, 0038 (r1 DELL    B11K          15 ASL        61)
(XEN) ACPI: TCPA 000FCDB5, 0032 (r1 DELL    B11K          15 ASL        61)
(XEN) ACPI: DMAR 000FCDE7, 00B8 (r1 DELL    B11K          15 ASL        61)
(XEN) ACPI: SLIC 000FCB91, 0176 (r1 DELL    B11K          15 ASL        61)
(XEN) ACPI: SSDT DB425C00, 16E0 (r1  INTEL PPM RCM  80000001 INTL 20061109)
(XEN) System RAM: 3888MB (3981408kB)
(XEN) No NUMA configuration found
(XEN) Faking a node at 0000000000000000-0000000118000000
(XEN) Domain heap initialised
(XEN) TBOOT: found shared page at phys addr 824000:
(XEN)   version: 5
(XEN)   log_addr: 0x00060000
(XEN)   shutdown_entry: 0x008031b0
(XEN)   tboot_base: 0x00803000
(XEN)   tboot_size: 0x7ade0
(XEN) found SMP MP-table at 000fe710
(XEN) DMI 2.6 present.
(XEN) Using APIC driver default
(XEN) ACPI: PM-Timer IO Port: 0x808
(XEN) ACPI: ACPI SLEEP INFO: pm1x_cnt[804,0], pm1x_evt[800,0]
(XEN) ACPI:                  wakeup_vec[db3cfc0c], vec_size[20]
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
(XEN) Processor #0 6:5 APIC version 21
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x04] enabled)
(XEN) Processor #4 6:5 APIC version 21
(XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] enabled)
(XEN) Processor #1 6:5 APIC version 21
(XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x05] enabled)
(XEN) Processor #5 6:5 APIC version 21
(XEN) ACPI: LAPIC (acpi_id[0x05] lapic_id[0x00] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x06] lapic_id[0x01] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x07] lapic_id[0x02] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x08] lapic_id[0x03] disabled)
(XEN) ACPI: LAPIC_NMI (acpi_id[0xff] high level lint[0x1])
(XEN) ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0])
(XEN) IOAPIC[0]: apic_id 8, 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) [VT-D]dmar.c:695: Host address width 36
(XEN) [VT-D]dmar.c:710: found ACPI_DMAR_DRHD:
(XEN) [VT-D]dmar.c:404:   dmaru->address = fedc0000
(XEN) [VT-D]iommu.c:1111: drhd->address = fedc0000 iommu->reg = ffff82c3fff57000
(XEN) [VT-D]iommu.c:1113: cap = c9008020e30272 ecap = 1000
(XEN) [VT-D]dmar.c:332:   endpoint: 0:1b.0
(XEN) [VT-D]dmar.c:710: found ACPI_DMAR_DRHD:
(XEN) [VT-D]dmar.c:404:   dmaru->address = fedc1000
(XEN) [VT-D]iommu.c:1111: drhd->address = fedc1000 iommu->reg = ffff82c3fff56000
(XEN) [VT-D]iommu.c:1113: cap = c0000020230272 ecap = 1000
(XEN) [VT-D]dmar.c:332:   endpoint: 0:2.0
(XEN) [VT-D]dmar.c:710: found ACPI_DMAR_DRHD:
(XEN) [VT-D]dmar.c:404:   dmaru->address = fedc2000
(XEN) [VT-D]iommu.c:1111: drhd->address = fedc2000 iommu->reg = ffff82c3fff55000
(XEN) [VT-D]iommu.c:1113: cap = c9008020630272 ecap = 1000
(XEN) [VT-D]dmar.c:418:   flags: INCLUDE_ALL
(XEN) [VT-D]dmar.c:715: found ACPI_DMAR_RMRR:
(XEN) [VT-D]dmar.c:332:   endpoint: 0:1d.0
(XEN) [VT-D]dmar.c:332:   endpoint: 0:1a.0
(XEN) [VT-D]dmar.c:585:   RMRR region: base_addr db430000 end_address db46ffff
(XEN) [VT-D]dmar.c:715: found ACPI_DMAR_RMRR:
(XEN) [VT-D]dmar.c:332:   endpoint: 0:2.0
(XEN) [VT-D]dmar.c:585:   RMRR region: base_addr ddc00000 end_address dfffffff
(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, 760 MSI/MSI-X
(XEN) Early fatal page fault at e008:ffff82c480129bad (cr2=000000000000ec10, ec=
0002)
(XEN) Stack dump: ffff8301115af868 ffff8301115ae000 0000000000000020 00000000000
00027 ffff82c48028fda8 ffff8301115ae000 0000000000000000 0000000000000200 000000
0000000010 0000000000000010 0000000000000001 0000000000000010 ffff8301115b0490 0
00000000000ec00 000000000000003c 0000000000000002 ffff82c480129bad 000000000000e
008 0000000000010006 ffff82c48028fd68 0000000000000000 ffff82c480129978 00000000
00000004 ffff8301115ae004 0000000000000000 0000000000000010 0000000000000018 000
0000000000028 0000000000000000 ffff83000007bee0 ffff82c48028fdd8 ffff82c480129e1
2 0000000000000000 ffff82c48028ff18 ffff83000007bfb0 0000000000000000 ffff82c480
28fe18 ffff82c48026811d 0000000000000000 ffff82c480240ba0 ffff83000007bfb0 00000
00000000000 0000000000000000 ffff83000007bee0 ffff82c48028fe48 ffff82c48026597c
ffff82c480240ba0 ffff83000007bfb0 00000000ffffffff ffff83000007bfb0 ffff82c48028
ff08 ffff82c48026d665 0000000000000000 00000000002c9b80 ffff83000007bbd0 0000000
000250630 00000000dae00000 ffff82c4802b62d4 000000000141d000 0000000000000000 ff
ff83000007bee0 ffffffff00000000 ffff830000000005 ffff82c400000004 00000008000000
00 000000010000006e 0000000000000003 00000000000002f8 0000000000000000 000000000
0000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000
000000881000 ffff82c4801000b5 0000000000000000 0000000000000000 0000000000000000
 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00000000000
00000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 000000
0000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0
000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000
000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00000000
fffff000 0000000000000000 0000000000000000

> -----Original Message-----
> From: Jan Beulich [mailto:JBeulich@xxxxxxxxxx]
> Sent: Thursday, March 24, 2011 9:56 AM
> To: Cihula, Joseph
> Cc: Wei, Gang; Wang, Shane; Xen-devel
> Subject: Re: [Xen-devel] page fault in xmem_pool_alloc w/ TXT
> 
> >>> On 24.03.11 at 16:41, "Cihula, Joseph" <joseph.cihula@xxxxxxxxx> wrote:
> > In the latest changesets of xen-unstable, when Xen is booted with tboot/TXT,
> > it gives a page fault in xmem_pool_alloc():
> > ...
> > (XEN) [VT-D]dmar.c:585:   RMRR region: base_addr 8f305000 end_address
> > 8f305fff
> > (XEN) PCI: MCFG configuration 0: base a0000000 segment 0 buses 0 - 255
> > (XEN) PCI: MCFG area at a0000000 reserved in E820
> > (XEN) Xen ERST support is initialized.
> > (XEN) Using ACPI (MADT) for SMP configuration information
> > (XEN) IRQ limits: 48 GSI, 4576 MSI/MSI-X
> > (XEN) Using scheduler: SMP Credit Scheduler (credit)
> > (XEN) Early fatal page fault at e008:ffff82c48012ac66 (cr2=000000000000ec18,
> > ec)
> > (XEN) Stack dump: ffff83036fff9868 0000000000000060 ffff83036ffe6000
> > 0000000000
> > ...
> >
> > We have bisected this to the following commit:
> > c/s 23013
> > ACPI: large cleanup
> >
> > In some cases, entire files turned out unnecessary. Of what remains,
> > move whatever possible into .init.*, and some data items into
> > .data.read_mostly.
> >
> > Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
> >
> > Can someone take a look and see what got moved into .init.* that shouldn't
> > have been?
> 
> A crash that early can't be due to something having got moved
> into .init.* - if you can get me the full log and the corresponding
> xen-syms, I'll certainly check.
> 
> Jan

Attachment: xen-syms
Description: xen-syms

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