---------- Forwarded message ----------
From: 안정섭 <[email protected]>
Date: 2013/4/19
Subject: Re: [marss86-devel] troubles with customized image
To: Xin Xu <[email protected]>


I did not try the simulation mode.
Befor the simulation, I just tried to make checkpoints.
When i try to make checkpoints on Dom0, there are no guestVMs.

What is your Dom0 kernel version used ?
I used 3.2.42 as a Dom0.



2013/4/19 Xin Xu <[email protected]>

> Forgot to cc mailing list
>
>
> On Thu, Apr 18, 2013 at 12:21 PM, Xin Xu <[email protected]> wrote:
>
>> Hi Ahn,
>>
>> On Thu, Apr 18, 2013 at 12:05 PM, 안정섭 <[email protected]> wrote:
>>
>>> Hello
>>>
>>>
>>> I also have tried to setup Xen on Marss86 to simulate virtualization.
>>> I installed Xen-4.2 with Ubuntu 10.04 on Marss. The guest virtual
>>> machines(para-virtualized) are work well on Marss86.
>>>
>>>
>>
>> Do you mean the application can run correctly in DomU in simulation mode,
>> and you are enable to collect some statistics? I am trying this in debian 6
>> and ubuntu 12.04 with xen 4.1, but I cannot get the simulation mode running
>> correctly. There are some assertion failures. If you can do this, there
>> must be something wrong with my setup. Could you please confirm this?
>>
>>
>> On the guestVMs(Dom-0 and Dom-U), however, the creating checkpoint is not
>>> working properly. The kernel panic occurs.
>>>  I attached the dmesg when the kernel panic occurs.
>>>
>>> ------------------------------------------------------------------------------------------------------------------------------
>>> create_checkpoi invoked oom-killer: gfp_mask=0x0, order=0, oom_adj=0,
>>> oom_score_adj=0
>>>  create_checkpoi cpuset=/ mems_allowed=0
>>> Pid: 1066, comm: create_checkpoi Tainted: G B 3.2.42 #1
>>> Call Trace:
>>>  [<ffffffff810b6d8a>] ? cpuset_print_task_mems_allowed+0xba/0xe0
>>>  [<ffffffff81104971>] dump_header+0x91/0x1e0
>>>  [<ffffffff81104656>] ? find_lock_task_mm+0x36/0x80
>>>  [<ffffffff815e37ee>] ? _raw_spin_unlock_irqrestore+0x1e/0x30
>>>  [<ffffffff810053bd>] ? pte_mfn_to_pfn+0x7d/0x100
>>>  [<ffffffff81104fc5>] oom_kill_process+0x85/0x2b0
>>>  [<ffffffff81105400>] out_of_memory+0x210/0x3a0
>>>  [<ffffffff8100122a>] ? hypercall_page+0x22a/0x1000
>>>  [<ffffffff81105675>] pagefault_out_of_memory+0xe5/0x130
>>>  [<ffffffff8103eeb6>] mm_fault_error+0xb6/0x1a0
>>>  [<ffffffff815e732c>] do_page_fault+0x38c/0x480
>>>  [<ffffffff8115bba5>] ? vfs_write+0x125/0x190
>>>  [<ffffffff815e3eb5>] page_fault+0x25/0x30
>>>
>>>  
>>> ------------------------------------------------------------------------------------------------------------------------------
>>> I am sure the memory is enough. I configured 8GB memory.
>>> (jeongseob@Arboretum:~/marss$ qemu/qemu-system-x86_64 -m 8192 -drive
>>> file=xen_for_Marss.qcow2,cache=unsafe)
>>> Of course, I checked that making checkpoints on native operating
>>> system(non-virtualized system) works well.
>>> It seems that the ptlcall using MMIO cannot work on guest virtual
>>> machine.
>>>  If you have any experience, it will be a good point to solve the issue.
>>> Thank you.
>>>
>>>
>> I used create_checkpoint provided in the ubuntu 11.04 image. I can take
>> checkpoint in Dom0 after 1  DomU is booted. I also find that sometimes the
>> checkpoint will fail, I suspect that is related to the root cause of
>> assertion failures I observed. But right now, I do not know what is it. I
>> will suggest you to do the checkpoint when domu and dom0 is idle. If you
>> have to take checkpoint when applications are running, at least try to
>> avoid kernel instructions are running.
>>
>> hope this help.
>>
>>
>>
>>>  - Jeongseob Ahn (http://calab.kaist.ac.kr/~jeongseob)
>>> 2013/4/16 Xin Xu <[email protected]>
>>>
>>>> Hi,
>>>>
>>>> I am trying to set up a customized image with xen hypervisor using the
>>>> ubuntu-vm-builder tool. I follow the instructions in this page
>>>> http://marss86.org/~marss86/index.php/Custom_Disk_Images
>>>> and create a precise 12.04 ubuntu image with default disk size 4GB.
>>>> This image can be correctly loaded and executed within the marssx86 in
>>>> emulation mode. However, once I start the simulation mode using these
>>>> commands
>>>>
>>>> simconfig -machine xeon_single_core
>>>> simconfig -run -stopinsns 10m -stats output.log
>>>>
>>>> after certain numbers of instructions, the simulation breaks with
>>>> assertion failures. I observed two types of assertions:
>>>>
>>>> Assertion `ctx.page_fault_addr != 0' failed
>>>> Assertion `physreg->data' failed
>>>>
>>>>
>>>> I searched in the mailing list, it seems that the problem is caused by
>>>> the corrupted images. I create several images with 12.04 and 11.10. They
>>>> all have the same problem. I am not sure where is the problem.
>>>>
>>>> One thing I would like to mention is even if I specify the rootsize in
>>>> the config file of ubuntu-vm-builder to other sizes such as 60gb/40gb, but
>>>> the created image is always 4gb. I am not sure if this is related or not.
>>>>
>>>> I also tried the raw format image that created by virtualbox, the
>>>> problem is same. The emulation part is OK even if an application is running
>>>> in domu, but the simulation always breaks.
>>>>
>>>> Any suggestions would be appreciated. Thanks
>>>>
>>>> _______________________________________________
>>>> http://www.marss86.org
>>>> Marss86-Devel mailing list
>>>> [email protected]
>>>> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>>>>
>>>>
>>>
>>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to