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

[Xen-devel] Re: 2.6.26-rc8 pv_ops causes Unhandled invalid opcode fault/

To: "Christopher S. Aker" <caker@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: 2.6.26-rc8 pv_ops causes Unhandled invalid opcode fault/trap
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Thu, 03 Jul 2008 10:34:30 -0700
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 03 Jul 2008 10:34:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <486CF789.7030700@xxxxxxxxxxxx>
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: <486CE463.3070002@xxxxxxxxxxxx> <486CF3F7.3030309@xxxxxxxx> <486CF789.7030700@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080501)
Christopher S. Aker wrote:
Jeremy Fitzhardinge wrote:
Is this consistent or sporadic?

Consistently fails to boot, across a few test boxes, slightly different Xen versions -- all around Xen 3.2.1, same config.

Does it depend on how much guest memory you give it?

No.  Tried with 128, 360, 5000.  They all fail in the same way.

What was the last kernel version which worked?

I built a 2.6.25.10 pv_ops this morning and it boots fine.

Were there any other errors/warnings printed here?

Nope.  Just some whitespace.

Are you sure? Could you send a full xm dmesg log output? The crash is from a BUG() caused by a failing hypercall. Since you have compiled Xen with debug enabled, it should have printed something about why it was failing the hypercall.

(XEN) traps.c:413:d332 Unhandled invalid opcode fault/trap [#6] on VCPU 0 [ec=0000]
(XEN) domain_crash_sync called from entry.S
(XEN) Domain 332 (vcpu#0) crashed on cpu#0:
(XEN) ----[ Xen-3.2.1-rc5  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    0
(XEN) RIP:    e019:[<00000000c0103b55>]

Could you decode this to see which function this corresponds to?

I'd love to know how for future reference, but for now I've placed the files here:

http://www.theshore.net/~caker/xen/pvops-bug1/

Thanks, that's very interesting. I had a very similar crash in a current -rc kernel when running it under the Citrix XenServer product version of Xen, and I wasn't sure where to point fingers.

For reference:

$ gdb 2.6.26-rc8-linode11 GNU gdb Fedora (6.8-10.fc9)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(no debugging symbols found)
(gdb) x/i 0x00000000c0103b55                                            <- 
note: need to add 0x to start
0xc0103b55 <make_lowmem_page_readonly+85>: ud2a (gdb) disassemble make_lowmem_page_readonly
Dump of assembler code for function make_lowmem_page_readonly:
0xc0103b00 <make_lowmem_page_readonly+0>: push   %ebp
0xc0103b01 <make_lowmem_page_readonly+1>: mov    %eax,%ebp
0xc0103b03 <make_lowmem_page_readonly+3>: push   %edi
...

Thanks,
        J


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