All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: M A Young <m.a.young@durham.ac.uk>
Cc: xen-devel@lists.xensource.com,
	Keir Fraser <keir.fraser@eu.citrix.com>,
	Konrad Rzeszutek Wilk <kliw@darnok.org>
Subject: Re: Re: xen/stable 2.6.32.9 32bit dom0 kernel crashes early on boot
Date: Fri, 19 Mar 2010 18:00:12 -0700	[thread overview]
Message-ID: <4BA41E1C.90505@goop.org> (raw)
In-Reply-To: <alpine.LFD.2.00.1003192214430.23340@vega4.dur.ac.uk>

On 03/19/2010 03:20 PM, M A Young wrote:
> I submitted an earlier report with a more complete dump of this 
> function, which is at 
> http://lists.xensource.com/archives/html/xen-devel/2010-02/msg00844.html
> The code may have changed slightly since then but it looks to be the 
> same issue.

I can reproduce this with 32-bit Xen even on a system supporting NX 
(below).  Due to a brainfart I had been reading it as bit 9 (for 
programmer use), but its actually Global, which we don't allow.  Not 
sure why Global is leaking through; I'll have a look later.  (With luck 
it will also explain why NX is leaking through; probably a path which 
isn't masking the supported pte flags).

     J

[    0.000000] ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x18] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x1a] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x1c] disabled)
[    0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
(XEN) mm.c:1746:d0 Bad L1 flags 100
(XEN) mm.c:778:d0 Bad L1 flags 100
(XEN) mm.c:4637:d0 ptwr_emulate: could not get_page_from_l1e()
(XEN) d0:v0: unhandled page fault (ec=0003)
(XEN) Pagetable walk from c17d9fd0:
(XEN)  L3[0x003] = 00000000197d7001 000017d7
(XEN)  L2[0x00b] = 000000001a3c8067 000023c8
(XEN)  L1[0x1d9] = 80000000197d9061 000017d9
(XEN) domain_crash_sync called from entry.S (ff1cb682)
(XEN) Domain 0 (vcpu#0) crashed on cpu#0:
(XEN) ----[ Xen-4.0.0-rc6  x86_32p  debug=y  Not tainted ]----
(XEN) CPU:    0
(XEN) EIP:    e019:[<c1005ed9>]
(XEN) EFLAGS: 00000296   EM: 1   CONTEXT: pv guest
(XEN) eax: 00000000   ebx: c17d9fd0   ecx: 80000000   edx: 197d8163
(XEN) esi: 80000000   edi: 00000000   ebp: c16d3e54   esp: c16d3e34
(XEN) cr0: 8005003b   cr4: 000006f0   cr3: 003f4c80   cr2: c17d9fd0
(XEN) ds: e021   es: e021   fs: 00d8   gs: 0000   ss: e021   cs: e019
(XEN) Guest stack trace from esp=c16d3e34:
(XEN)    00000003 c1005ed9 0001e019 00010096 197d8163 deadbeef deadbeef f57fa000
(XEN)    c16d3e74 c1006037 c17d9fd0 80000000 197d8163 80000000 c17d9fd0 f57fa000
(XEN)    c16d3e98 c10281c5 197d8163 80000000 80000000 017d8163 00005000 f57ff000
(XEN)    0000017b c16d3ea8 c10273ab 00000005 80000000 c16d3ec4 c1005058 c160fa5f
(XEN)    c16d3ec4 00000000 00000000 00000001 c16d3ee0 c1766642 0000017b 80000000
(XEN)    f5600c24 f5600c24 c160fa5f c16d3eec c1761b92 00000001 c16d3f10 c1778ad9
(XEN)    f5600ca8 00000001 000000d8 f5600bd0 00000000 00000000 00000000 c16d3f20
(XEN)    c1778b4f c1761b65 00000040 c16d3f30 c1762127 1d010000 00000000 c16d3fac
(XEN)    c175c965 c17e8dac c103a2f1 02341600 00000000 00000035 019b8000 00000000
(XEN)    c16d3f6d 00000000 205b8000 00989600 3030302e 1d010000 00000000 c16e10ac
(XEN)    00000002 00000002 c16d3f8c 00000000 00000000 c16e034c c16d3f9c 00000000
(XEN)    00000000 00000000 00000000 00000000 00000000 c16e034c c16d3fc4 c17575bd
(XEN)    c16078d7 c1494010 c178e90c 019b8000 c16d3fd4 c17570a8 019b8000 c178d6f8
(XEN)    c16d3ffc c175a26b 17889375 80980201 00200800 000106e5 00000001 00000000
(XEN)    c23b7000 00000000 00000000
(XEN) Domain 0 crashed: rebooting machine in 5 seconds.

  parent reply	other threads:[~2010-03-20  1:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-04 19:53 xen/stable 2.6.32.9 32bit dom0 kernel crashes early on boot Pasi Kärkkäinen
2010-03-04 20:18 ` Jeremy Fitzhardinge
2010-03-04 20:23   ` Pasi Kärkkäinen
2010-03-04 20:28     ` Pasi Kärkkäinen
2010-03-04 21:33       ` Jeremy Fitzhardinge
2010-03-05  7:13         ` Pasi Kärkkäinen
2010-03-05 10:51           ` Pasi Kärkkäinen
2010-03-06 15:05             ` Pasi Kärkkäinen
2010-03-08 18:17               ` Konrad Rzeszutek Wilk
2010-03-09 18:37                 ` Pasi Kärkkäinen
2010-03-09 19:33                 ` Jeremy Fitzhardinge
2010-03-18 22:59                   ` Pasi Kärkkäinen
2010-03-18 23:25                     ` Jeremy Fitzhardinge
2010-03-18 23:32 ` Jeremy Fitzhardinge
2010-03-18 23:37   ` Pasi Kärkkäinen
2010-03-19 22:20   ` M A Young
2010-03-19 22:57     ` Jeremy Fitzhardinge
2010-03-20  1:00     ` Jeremy Fitzhardinge [this message]
2010-03-23  4:03     ` Jeremy Fitzhardinge
2010-03-23  7:02       ` Pasi Kärkkäinen
2010-03-23 11:18       ` Re: xen/stable 2.6.32.9 32bit dom0 kernel crashes early on boot / works now! Pasi Kärkkäinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BA41E1C.90505@goop.org \
    --to=jeremy@goop.org \
    --cc=keir.fraser@eu.citrix.com \
    --cc=kliw@darnok.org \
    --cc=m.a.young@durham.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.