[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xen,tools: pincpu use vcpu and cpumap_t



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

--- Begin Message ---
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:[<ff1057bc>]
(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)    [<ff11e91f>] [<ff129f63>] [<ff1346fe>]

****************************************
CPU0 FATAL TRAP: vector = 6 (invalid operand)
[error_code=0000]
Aieee! CPU0 is toast...
****************************************

Mike

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

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.