Skip to contentSkip to conversation

early crash with xen-3.1.0 and auto_translated_physmap

DISCUSSION Daniel Stodden 4 participants 6 messages Sep 30, 2007 – Oct 2, 2007

lore
Share & tools
lore
#0 lore raw

hi.

has anybody been successfully booting domains with auto_translated_physmap lately?

just tried xen 3.1.0 and got console as shown below.

tried to figure out what domU is doing, but xc_core_x86 doesn't work either:

	'p2m_size < nr_pages -1 (0 < 3ffe)'

any suggestions how/where to attack this?

regards,
daniel

Signature · 5 lines
Daniel Stodden
LRR     -      Lehrstuhl für Rechnertechnik und Rechnerorganisation
Institut für Informatik der TU München             D-85748 Garching
http://www.lrr.in.tum.de/~stodden         mailto:[email protected]
PGP Fingerprint: F5A4 1575 4C56 E26A 0B33  3D80 457E 82AE B0D8 735B

;; This buffer is for notes you don't want to save, and for Lisp evaluation. ;; If you want to create a file, visit that file with C-x C-f, ;; then enter the text in that file's own buffer.

(XEN) sh error: sh_remove_all_mappings(): can't find all mappings of mfn 13277: c=00000001 t=00000000 (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (4) to (5) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (5) to (6) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (6) to (7) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (7) to (8) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (8) to (9) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (9) to (10) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (10) to (11) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (11) to (12) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (12) to (13) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (13) to (14) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (14) to (15) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (15) to (16) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (16) to (17) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (17) to (18) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (18) to (19) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (19) to (20) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (20) to (21) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (21) to (22) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (22) to (23) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (23) to (24) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (24) to (25) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (25) to (26) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (26) to (27) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (27) to (28) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (28) to (29) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (29) to (30) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (30) to (31) frames. (XEN) grant_table.c:557:d0 Expanding dom (110) grant table from (31) to (32) frames. (XEN) sh error: sh_remove_shadows(): can't find all shadows of mfn 13276 (shadow_flags=00000008) (XEN) domain_crash called from common.c:2143
(XEN) Domain 110 (vcpu#0) crashed on cpu#0:
(XEN) ----[ Xen-3.1.0 x86_32 debug=y Tainted: C ]----
(XEN) CPU: 0
(XEN) EIP: e019:[<c0101027>]
(XEN) EFLAGS: 00000246 CONTEXT: guest

(XEN) eax: 00000001   ebx: c01ddf1c   ecx: 00000001   edx: 00000000
(XEN) esi: 00007ff0   edi: c0000000   ebp: c01ddf34   esp: c01ddf18
(XEN) cr0: 8005003b   cr4: 000006d0   cr3: 18df0000   cr2: 00000000
(XEN) ds: e021   es: e021   fs: 0000   gs: 0000   ss: e021   cs: e019
(XEN) Guest stack trace from esp=c01ddf18:
(XEN)    c010ef16 004acc08 00000000 00000067 00000000 00000000 c04acc08 c01ddf48
(XEN)    c01e8849 00000800 c0800000 c04acc08 c01ddf7c c01e900d c01ddf7c c04acffc
(XEN)    c01b3b02 c01fb18f 00000400 c04ac000 00000001 00004000 c01fb18f 00000000
(XEN)    c01b1d74 c01ddfe0 c01e52ca c01b1dc2 00000048 00000000 00000000 c01ddff4
(XEN)    00000000 00000000 00000000 0000002f c01fb18f 00000000 00000000 00000000
(XEN)    00000000 00000000 00000000 c04a8000 00000000 c01f9050 c011485b 00000000
(XEN)    c04a8000 00000000 c01ddff8 c01de521 c01ac000 00000000 00000000 c01fb160
(XEN)    00000000 00000000 0001b855 e5890000 0505c65d 00c01db0 900debc3 90909090
(XEN)    90909090 90909090 0001b855 e5890000 9c05c75d 01c01f9b c3000000 0000b68d
(XEN)    bf8d0000 00000000 c6e58955 1db00605 200f00c0 0ec883c0 5dc0220f 000001b8
(XEN)    b68dc300 00000000 0001b855 e5890000 b005c75d 00c01bcf c3000000 0000b68d
(XEN)    bf8d0000 00000000 80d23155 e5890038 05c70c75 c01bdb48 0000000a 895d01b2
(XEN)    b68dc3d0 00000000 80d23155 e5890038 05c70c75 c01bdb48 00000004 895d01b2
(XEN)    b68dc3d0 00000000 a3e58955 c01f9124 000002b8 c405c700 00c01bcf c7000000
(XEN)    cfc08504 0000c01b c0830000 20f88301 b05ded75 9066c301 a3e58955 c01f9128
(XEN)    000002b8 c405c700 00c01bcf c7000000 cfc08504 0000c01b c0830000 20f88301
(XEN)    b05ded75 9066c301 5de58955 26748dc3 27bc8d00 00000000 0001b855 e5890000
(XEN)    8405c75d 01c01ef6 c3000000 0000b68d bf8d0000 00000000 db48ba55 e589c01b
(XEN)    8904ec83 458dfc45 2a9ae8fc 01b8fffa c9000000 00768dc3 cfb0ba55 e589c01b
(XEN)    8904ec83 458dfc45 2a7ae8fc 01b8fffa c9000000 00768dc3 57e58955 ec835356

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

auto_translated_physmap is not a supported configuration for PV guests. Probably it should be removed as an option.

-- Keir

Quoted 18 lines · Daniel Stodden

hi.

has anybody been successfully booting domains with auto_translated_physmap lately?

just tried xen 3.1.0 and got console as shown below.

tried to figure out what domU is doing, but xc_core_x86 doesn't work either:
'p2m_size < nr_pages -1 (0 < 3ffe)'

any suggestions how/where to attack this?

regards,
daniel

#2 lore raw

hi.

Quoted 1 line · Keir Fraser

auto_translated_physmap is not a supported configuration for PV guests.

seems so.

Quoted 1 line

Probably it should be removed as an option.

that means, until someone is going to fix it, or drop the whole thing once and for all?

regards,
daniel

Signature · 5 lines
Daniel Stodden
LRR     -      Lehrstuhl für Rechnertechnik und Rechnerorganisation
Institut für Informatik der TU München             D-85748 Garching
http://www.lrr.in.tum.de/~stodden         mailto:[email protected]
PGP Fingerprint: F5A4 1575 4C56 E26A 0B33  3D80 457E 82AE B0D8 735B
#3 lore raw
Quoted 9 lines · Daniel Stodden
Quoted 1 line · Keir Fraser

auto_translated_physmap is not a supported configuration for PV guests.

seems so.

Quoted 1 line

Probably it should be removed as an option.

that means, until someone is going to fix it, or drop the whole thing once and for all?

I don't see much reason to keep it, apart from potential research projects. It's certainly not a 'core' feature.

-- Keir

#4 lore raw

I have a set of patches that make this work, but they are against 3.0.4... Bringing them up-to-date would be pretty easy, I think, *except* for the domain builder,
which has entired changed since then.

Translated PV domains *are* useful for various research efforts...

Michael

Quoted 24 lines · Keir Fraser
Quoted 9 lines · Daniel Stodden
Quoted 1 line · Keir Fraser

auto_translated_physmap is not a supported configuration for PV guests.

seems so.

Quoted 1 line

Probably it should be removed as an option.

that means, until someone is going to fix it, or drop the whole thing once and for all?

I don't see much reason to keep it, apart from potential research projects. It's certainly not a 'core' feature.

-- Keir

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
In reply to Daniel Stodden
Quoted 10 lines · Daniel Stodden

has anybody been successfully booting domains with auto_translated_physmap lately?

just tried xen 3.1.0 and got console as shown below.

tried to figure out what domU is doing, but xc_core_x86 doesn't work either:

	'p2m_size < nr_pages -1 (0 < 3ffe)'

any suggestions how/where to attack this?

With respect to xc_core_x86 and auto translated mode, it assumes that auto translated physmap mode == hvm domain. See xc_core_arch_auto_translated_physmap() in xc_core_x86.c You may want to modify it.

Signature · 1 line
yamahata