>
> El 24/2/16 a les 18:13, Brandon Adkins ha escrit:
> > Hi Roger,
> > The log messages I entered before are for the second guest. I didn't include any logs for the second guest since that one works perfectly.
> > But maybe I am allocating my RAM too tightly? The system has 16 GB of RAM, or 16,384MB. I allocated 4096MB to the host. That leaves me with 12,228MB. Each VM gets 6000, so thats 228MB unaccounted for. Is there some minimum amount that needs to remain above that?
> > Looking at "xl info" with both guests started, it says my total memory is 16,353, and that my free memory is 45.
> > I also just tried reducing the RAM for both guests down to 5500. I got the same error when starting the second guest. Thats about 1 GB of unallocated space, so I don't think thats my issue.
> > I also just tried stopping both guests, and starting guest1 first, and guest0 second. Guest1 came up fine, and now guest0 is stuck. Its definitely related to the second vm that starts, and not a specific configuration.
> > I am really at a loss of where to look. Is there anything in the config that would cause the CPUs to get assigned to the first guest, so the second one is left with no CPUs?
> > Best,Beau
> >
>
> I don't see any error in the trace, AFAICT libxl has correctly created
> the domain. Can you paste the output of `xl list` after creating both
> guests?
>
> Roger.
Hi Roger,
Yes, I can't find any errors either, which makes debugging it almost impossible for me. Here are some outputs:
>xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 4087 2 r----- 3308.0
guest1 132 5500 6 -b---- 533.0
guest0 133 5500 1 r----- 130103.4
Interesting to see the nonfunctional guest0 has such a high Time column. Its like its spinning in a tight loop, while the working guest1 is running fine. Note that this is the output of my last test setup, where I gave both vms 5500MB of RAM, and tried starting guest1 first.
xl vcpu-list
Name ID VCPU CPU State Time(s) CPU Affinity
Domain-0 0 0 0 -b- 1554.4 0
Domain-0 0 1 1 r-- 1749.6 1
Domain-0 0 2 - --p 0.5 2
Domain-0 0 3 - --p 0.6 3
Domain-0 0 4 - --p 0.4 4
Domain-0 0 5 - --p 0.6 5
Domain-0 0 6 - --p 1.7 6
Domain-0 0 7 - --p 0.8 7
guest1 132 0 7 -b- 220.4 2-7
guest1 132 1 5 -b- 86.0 2-7
guest1 132 2 4 -b- 73.5 2-7
guest1 132 3 2 -b- 45.2 2-7
guest1 132 4 6 -b- 61.8 2-7
guest1 132 5 5 -b- 46.3 2-7
guest0 133 0 3 r-- 130279.1 2-7
guest0 133 1 - --p 0.0 2-7
guest0 133 2 - --p 0.0 2-7
guest0 133 3 - --p 0.0 2-7
guest0 133 4 - --p 0.0 2-7
guest0 133 5 - --p 0.0 2-7
For some reason, even though I assigned 6 CPUs to both VMs, only the first one started seems to get it right.
I believe I must have some sort of screwed up Xen configuration. Surely I am not the first person to try using Xen on Debian Jessie.
Thanks for your continued help,
Beau