From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Wray Subject: Re: [PATCH] xen,tools: pincpu use vcpu and cpumap_t Date: Tue, 03 May 2005 17:51:44 +0100 Message-ID: <4277AC20.7060804@hp.com> References: <20050426223109.GC14932@us.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030305040505070502020108" Return-path: In-Reply-To: <20050426223109.GC14932@us.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ryan Harper Cc: Ian Pratt , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------030305040505070502020108 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Ryan Harper wrote: > Here is an update to the previous pincpu patches. This patch updates > the pincpu dom0op to use a cpumap_t pointer, rather than specifying a > size in the interface. cpumap_t is current typedef'ed to an unsigned > long. xm list -v now truncates the cpumap field to only show the bits > of the map that are relevant. That is, if you have four VCPUS, you will > only see the first four bits of the cpumap. > > This patch compiles against current unstable tree, but I could not test > it as the current unstable tree crashes dom0 when booting domU. I back > ported the patch to 20050420 snapshot and it worked there. > This patch causes the dom0 crash I reported on the current unstable (attached) so it needs fixing before applying. Mike --------------030305040505070502020108 Content-Type: message/rfc822; name="crash.eml" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="crash.eml" Return-Path: Received: from kropotkin.hpl.hp.com (kropotkin.hpl.hp.com [15.144.59.2]) by timmay.hpl.hp.com (8.13.2/8.13.2) with ESMTP id j3TAsZxk006511 for ; Fri, 29 Apr 2005 11:54:35 +0100 (BST) Received: by kropotkin.hpl.hp.com (Postfix) id 5972A53CF; Fri, 29 Apr 2005 11:54:35 +0100 (BST) Delivered-To: mjw@kropotkin.hpl.hp.com Received: from phobos.hpl.hp.com (phobos.hpl.hp.com [15.0.152.124]) by kropotkin.hpl.hp.com (Postfix) with ESMTP id B970F3EBC for ; Fri, 29 Apr 2005 11:54:34 +0100 (BST) Received: from atarelrim03.atl.hp.com (atarelrim03.atl.hp.com [192.151.27.11]) by phobos.hpl.hp.com (8.9.3 (PHNE_29773)/HPL-PA Relay) with ESMTP id DAA04868; Fri, 29 Apr 2005 03:53:00 -0700 (PDT) Received: from atarelrim03.atl.hp.com (localhost [127.0.0.1]) by receive-from-antispam-filter (Postfix) with SMTP id 63DBC32E24 for ; Fri, 29 Apr 2005 06:52:23 -0400 (EDT) Received: from lists.xensource.com (host01-bcn-london.deploy.xenoserver.org [217.147.82.46]) by atarelrim03.atl.hp.com (Postfix) with ESMTP id 4122532E47 for ; Fri, 29 Apr 2005 06:52:20 -0400 (EDT) Received: from localhost ([127.0.0.1] helo=lists.xensource.com) by host-192-168-0-1-bcn-london with esmtp (Exim 4.34) id 1DRT66-000731-Cb; Fri, 29 Apr 2005 10:51:50 +0000 Received: from host-192-168-0-1-bcn-london ([192.168.0.1] helo=host01-bcn-london.deploy.xenoserver.org) by host-192-168-0-1-bcn-london with esmtp (Exim 4.34) id 1DRT5x-0006zy-1c for xen-devel@lists.xensource.com; Fri, 29 Apr 2005 10:51:41 +0000 Received: from tobor.hpl.hp.com ([192.6.10.60]) by host01-bcn-london.deploy.xenoserver.org with esmtp (Exim 4.34) id 1DRT6P-0000ZX-48 for xen-devel@lists.xensource.com; Fri, 29 Apr 2005 10:52:09 +0000 Received: from localhost (localhost [127.0.0.1]) by tobor.hpl.hp.com (Postfix) with ESMTP id C4ECD370BD for ; Fri, 29 Apr 2005 11:52:08 +0100 (BST) Received: from tobor.hpl.hp.com ([127.0.0.1]) by localhost (tobor.hpl.hp.com [127.0.0.1]) (amavisd-new, port 20024) with LMTP id 32243-02-7 for ; Fri, 29 Apr 2005 11:51:55 +0100 (BST) Received: from timmay.hpl.hp.com (timmay-hb.hpl.hp.com [15.144.59.39]) by tobor.hpl.hp.com (Postfix) with ESMTP id 6E04937093 for ; Fri, 29 Apr 2005 11:51:55 +0100 (BST) Received: from [15.144.25.80] (wray-m-3.hpl.hp.com [15.144.25.80]) by timmay.hpl.hp.com (8.13.2/8.13.2) with ESMTP id j3TApeSm005773 for ; Fri, 29 Apr 2005 11:51:40 +0100 (BST) Message-ID: <4272100D.9020501@hp.com> Date: Fri, 29 Apr 2005 11:44:29 +0100 From: Mike Wray User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: xen-devel@lists.xensource.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPLB-IMAP-MailScanner: Found to be clean, Found to be clean X-HPLB-IMAP-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5), not spam, SpamAssassin (score=0, required 5) X-Virus-Scanned: by amavisd-new at hplb.hpl.hp.com Subject: [Xen-devel] Reproducible dom-0 crash X-BeenThere: xen-devel@lists.xensource.com X-Mailman-Version: 2.1.5 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com X-PMX-Version: 5.0.0.137324, Antispam-Engine: 2.0.3.2, Antispam-Data: 2005.4.29.5 X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 7) X-HPLB-IMAP-MailScanner-Information: Please contact the Helpdesk for more information Using unstable as of change set 1.1389.1.12 05/04/29 09:30, I get the following dom-0 crash when xend starts: (XEN) BUG at domain.c:136 (XEN) CPU: 0 (XEN) EIP: 0808:[] (XEN) EFLAGS: 00010292 CONTEXT: hypervisor (XEN) eax: 00000000 ebx: ff18c900 ecx: 000003f8 edx: 00000000 (XEN) esi: ff18b080 edi: feeea000 ebp: feee9000 esp: ff103f24 (XEN) ds: 0810 es: 0810 fs: 0810 gs: 0810 ss: 0810 cs: 0808 (XEN) Stack trace from ESP=ff103f24: (XEN) ff1455ec ff145622 00000088 c000eb4c 000002d3 000002d3 ff19c000 [ff11e91f] (XEN) 0c2d3063 ff18c900 e0000000 00000008 fe310ae8 0c2ba063 ff18cb00 00000000 (XEN) 00000001 00000000 ff18c900 ff18c900 c4293f54 ff18b080 ff103fb8 [ff129f63] (XEN) ff18c900 00000000 0000c2d2 0000c2d2 feee8bfc 0c2d2bfc 00000000 ff18b080 (XEN) c42d4000 00000000 00000000 [ff1346fe] ff103fb8 ffffffff c42d3000 0c2d3063 (XEN) c42d4000 00000000 00000000 0000eb4c 000e0000 c01145e9 00000061 00010287 (XEN) c4293f54 00000069 0000007b 0000007b 00000000 00000000 ff18b080 (XEN) Call Trace from ESP=ff103f24: (XEN) [] [] [] **************************************** CPU0 FATAL TRAP: vector = 6 (invalid operand) [error_code=0000] Aieee! CPU0 is toast... **************************************** Mike _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------030305040505070502020108 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 --------------030305040505070502020108--