From: Keir Fraser Subject: Re: Re: Xen 3.2 and Big Real Mode support? Date: Thu, 31 Jan 2008 13:45:04 +0000 Message-ID: References: <20080131144033.75224fb6@frecb000711> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="B_3284631906_24371504" Return-path: In-Reply-To: <20080131144033.75224fb6@frecb000711> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Guillaume Thouvenin Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3284631906_24371504 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit On 31/1/08 13:40, "Guillaume Thouvenin" wrote: > On Thu, 31 Jan 2008 10:36:31 +0000 > Keir Fraser wrote: > >> I reproduced the problem. CPUID is not executed before the crash. Also a >> disassembly of that area of memory does not look like sane 16-bit code. So I >> think something has gone wrong before we get to the (probably bogus) MOVHPS >> instruction. > > A question here. You reproduce the problem by starting a domain and > booting it on the openSUSE-10.3-GM-x86_64-mini.iso CD-ROM? How do you > disassemble the area of memory that produces the problem? Are you using > "objdump" on the bootloader found on the iso file or are you using some > other trick? I have a utility to scrape another domain's memory to a file, and then I run ndisasm on that. The utility is attached. -- Keir --B_3284631906_24371504 Content-type: application/octet-stream; name="xenmem.c" Content-disposition: attachment; filename="xenmem.c" Content-transfer-encoding: base64 LyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKgogKiB4ZW5tZW0uYwogKgogKiBEdW1wIGd1ZXN0 IG1lbW9yeSBwYWdlcyB0byBhIGJpbmFyeSBmaWxlLgogKi8KCiNpbmNsdWRlIDx0aW1lLmg+ CiNpbmNsdWRlIDxzdGRsaWIuaD4KI2luY2x1ZGUgPHN5cy9tbWFuLmg+CiNpbmNsdWRlIDxz dGRpby5oPgoja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mZ1bDsKCiAgICBwID0geGNfbWFwX2ZvcmVpZ25fcmFuZ2UoeGNfaGFuZGxlLCBk b21pZCwgX2VuZC1fc3RhcnQsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgUFJPVF9S RUFELCBfc3RhcnQ+PjEyKTsKICAgIGlmICggcCA9PSBOVUxMICkKICAgIHsKICAgICAgICBm cHJpbnRmKHN0ZGVyciwgImZhaWxlZCB0byBtYXAgcGFnZS5cbiIpOwogICAgICAgIGV4aXQo LTEpOwogICAgfQoKICAgIGJ5dGVzID0gd3JpdGUoMSwgcCArIChzdGFydCAtIF9zdGFydCks IGVuZCAtIHN0YXJ0KTsKICAgIGZwcmludGYoc3RkZXJyLCAiV3JvdGUgJWQgYnl0ZXMgdG8g c3Rkb3V0XG4iLCBieXRlcyk7CgogICAgbXVubWFwKHAsIF9lbmQtX3N0YXJ0KTsKCiAgICB4 Y19pbnRlcmZhY2VfY2xvc2UoeGNfaGFuZGxlKTsKCiAgICByZXR1cm4gMDsKfQo= --B_3284631906_24371504 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --B_3284631906_24371504--