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

Re: [Xen-ia64-devel] [Q] about assign_domain_page_replace



Hi, Isaku

>> Unfortunately no. I reviewed the linux side code and found an off-by-one 
>> bug.
>> Could you try again with the three attached patches (+ debug message patch).
>> (Note that I sent out two of three attached patch. I attached those just
>> for convinience.)
>> Thank you very much for your patience. You found three bugs!
>> I hope that you won't hit more bugs.
Thank you. I retried by using your three patch + debug patch.
Then I get the following serial log.
What do you think?


(XEN) domain.c:536: arch_domain_create:536 domain 1 pervcpu_vhpt 1
(XEN) tlb_track.c:69: allocated 256 num_entries 256 num_free 256
(XEN) tlb_track.c:115: hash 0xf000004084af0000 hash_size 512
(XEN) regionreg.c:193: ### domain f000000007bc0080: rid=80000-c0000 mp_rid=2000
(XEN) domain.c:573: arch_domain_create: domain=f000000007bc0080
(XEN) mfn=0x000000000102003d, old_mfn=0x0000000001020001
(XEN) assign_domain_page_replace: old_mfn->count_info=1154
(XEN) assign_domain_page_replace: mfn->count_info=4
(XEN) assign_domain_page_replace: (domain_id of old_mfn)=32760
(XEN) assign_domain_page_replace: (domain_id of mfn)=1
(XEN) 
(XEN) Call Trace:
(XEN)  [<f0000000040ab5b0>] show_stack+0x80/0xa0
(XEN)                                 sp=f000000007bcfc10 bsp=f000000007bc9598
(XEN)  [<f00000000406fa70>] assign_domain_page_replace+0x2d0/0x3d0
(XEN)                                 sp=f000000007bcfde0 bsp=f000000007bc9540
(XEN)  [<f000000004070e00>] __dom0vp_add_physmap+0x330/0x630
(XEN)                                 sp=f000000007bcfde0 bsp=f000000007bc94d8
(XEN)  [<f0000000040524c0>] do_dom0vp_op+0x1e0/0x4d0
(XEN)                                 sp=f000000007bcfdf0 bsp=f000000007bc9498
(XEN)  [<f000000004002e30>] fast_hypercall+0x170/0x340
(XEN)                                 sp=f000000007bcfe00 bsp=f000000007bc9498
(XEN) vcpu.c:1059:d1 vcpu_get_lrr0: Unmasked interrupts unsupported
(XEN) vcpu.c:1068:d1 vcpu_get_lrr1: Unmasked interrupts unsupported
(XEN) domain.c:943:d1 Domain set shared_info_va to 0xfffffffffff00000
(XEN) mfn=0x0000000000013406, old_mfn=0x000000000006696d
(XEN) assign_domain_page_replace: old_mfn->count_info=1
(XEN) assign_domain_page_replace: mfn->count_info=3
(XEN) assign_domain_page_replace: (domain_id of old_mfn)=0
(XEN) assign_domain_page_replace: (domain_id of mfn)=1
(XEN) 
(XEN) Call Trace:
(XEN)  [<f0000000040ab5b0>] show_stack+0x80/0xa0
(XEN)                                 sp=f000000007bd7be0 bsp=f000000007bd1478
(XEN)  [<f00000000406fa70>] assign_domain_page_replace+0x2d0/0x3d0
(XEN)                                 sp=f000000007bd7db0 bsp=f000000007bd1420
(XEN)  [<f000000004070910>] create_grant_host_mapping+0x1d0/0x390
(XEN)                                 sp=f000000007bd7db0 bsp=f000000007bd13b8
(XEN)  [<f000000004021110>] do_grant_table_op+0xcb0/0x3350
(XEN)                                 sp=f000000007bd7dc0 bsp=f000000007bd12b0
(XEN)  [<f000000004002e30>] fast_hypercall+0x170/0x340
(XEN)                                 sp=f000000007bd7e00 bsp=f000000007bd12b0
(XEN) mm.c:701:d1 vcpu 0 iip 0xa0000001004fbbe0: bad I/O port access d 1 0x64
(XEN) mfn=0x0000000000061618, old_mfn=0x0000000000065ec6
(XEN) assign_domain_page_replace: old_mfn->count_info=1
(XEN) assign_domain_page_replace: mfn->count_info=3
(XEN) assign_domain_page_replace: (domain_id of old_mfn)=0
(XEN) assign_domain_page_replace: (domain_id of mfn)=1
(XEN) 
(XEN) Call Trace:
(XEN)  [<f0000000040ab5b0>] show_stack+0x80/0xa0
(XEN)                                 sp=f000000007bd7be0 bsp=f000000007bd1498
(XEN)  [<f00000000406fa70>] assign_domain_page_replace+0x2d0/0x3d0
(XEN)                                 sp=f000000007bd7db0 bsp=f000000007bd1440
(XEN)  [<f000000004070910>] create_grant_host_mapping+0x1d0/0x390
(XEN)                                 sp=f000000007bd7db0 bsp=f000000007bd13d8
(XEN)  [<f000000004021110>] do_grant_table_op+0xcb0/0x3350
(XEN)                                 sp=f000000007bd7dc0 bsp=f000000007bd12d0
(XEN)  [<f000000004002e30>] fast_hypercall+0x170/0x340
(XEN)                                 sp=f000000007bd7e00 bsp=f000000007bd12d0
(XEN) mfn=0x00000000000134e0, old_mfn=0x000000000006768c
(XEN) assign_domain_page_replace: old_mfn->count_info=1
(XEN) assign_domain_page_replace: mfn->count_info=3
(XEN) assign_domain_page_replace: (domain_id of old_mfn)=0
(XEN) assign_domain_page_replace: (domain_id of mfn)=1
(XEN) 
(XEN) Call Trace:
(XEN)  [<f0000000040ab5b0>] show_stack+0x80/0xa0
(XEN)                                 sp=f000000007bd7be0 bsp=f000000007bd1440
(XEN)  [<f00000000406fa70>] assign_domain_page_replace+0x2d0/0x3d0
(XEN)                                 sp=f000000007bd7db0 bsp=f000000007bd13e0
(XEN)  [<f000000004070910>] create_grant_host_mapping+0x1d0/0x390
(XEN)                                 sp=f000000007bd7db0 bsp=f000000007bd1380
(XEN)  [<f000000004021110>] do_grant_table_op+0xcb0/0x3350
(XEN)                                 sp=f000000007bd7dc0 bsp=f000000007bd1278
(XEN)  [<f000000004002e30>] fast_hypercall+0x170/0x340
(XEN)                                 sp=f000000007bd7e00 bsp=f000000007bd1278

Best Regards,

Akio Takebe


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


 


Rackspace

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