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] Xen Kernel Debug Tools

To: "John Anderson" <johnha@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Xen Kernel Debug Tools
From: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 25 Sep 2007 22:33:11 +0100
Delivery-date: Tue, 25 Sep 2007 14:34:02 -0700
Envelope-to: www-data@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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <A7F39817EC2477418A3AA053E69F835A99BD0D@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acf/sxtA46kyqMJxSvSGvgxm/B8NUQAB7SZQ
Thread-topic: [Xen-devel] Xen Kernel Debug Tools
> Here is the page fault exception I'm getting in xm dmesg.  The Dom0
> Linux kernel's dmesg gets no messages.  This happens when I attempt to
> start a grsecurity enabled DomU on a grsecurity enabled Dom0.
> Starting a grsecurity enabled DomU on a non-grsecurity Dom0 works just
> fine.

This is pretty surprising. When a domU is actually running, dom0 isn't
really involved (other than for IO), so its surprising grsec makes a
difference.

Do you get any console output from the guest before it crashes? I'm
wandering if its actually been built incorrectly by the domain builder
running in dom0.

It's looks like its dieing trying to do an instruction fetch from
ffffffff80200000 which is presumably the page fault handler. 

Are you using a debug build of Xen? You may get some more helpful
output.

Ian

 
> 
> 
> (XEN) Unhandled page fault in domain 14 on VCPU 0 (ec=0010)
> 
> (XEN) Pagetable walk from ffffffff80200000:
> 
> (XEN)  L4[0x1ff] = 0000000000000000 ffffffffffffffff
> 
> (XEN) domain_crash_sync called from entry.S
> 
> (XEN) Domain 14 (vcpu#0) crashed on cpu#0:
> 
> (XEN) ----[ Xen-3.1.0  x86_64  debug=n  Not tainted ]----
> 
> (XEN) CPU:    0
> 
> (XEN) RIP:    e033:[<ffffffff80200000>]
> 
> (XEN) RFLAGS: 0000000000010202   CONTEXT: guest
> 
> (XEN) rax: 0000000000000000   rbx: 0000000000000000   rcx:
> 0000000000000000
> 
> (XEN) rdx: 0000000000000000   rsi: ffffffff80569000   rdi:
> 0000000000000000
> 
> (XEN) rbp: 0000000000000000   rsp: ffffffff80574000   r8:
> 0000000000000000
> 
> (XEN) r9:  0000000000000000   r10: 0000000000000000   r11:
> 0000000000000000
> 
> (XEN) r12: 0000000000000000   r13: 0000000000000000   r14:
> 0000000000000000
> 
> (XEN) r15: 0000000000000000   cr0: 000000008005003b   cr4:
> 00000000000006f0
> 
> (XEN) cr3: 000000041c62a000   cr2: ffffffff80200000
> 
> (XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: e02b   cs: e033
> 
> (XEN) Guest stack trace from rsp=ffffffff80574000:
> 
> (XEN)   Stack empty.
> 
> 
> 
> 
> 
> Thanks,
> 
> 
> 
> John Anderson


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

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