mirage / xen-arm-builder

Archived - the Xen and ARM support in MirageOS has been superseeded by our PVH support - Build an SDcard image for Xen/ARM, for a Cubieboard
ISC License
57 stars 36 forks source link

Dom0 memory restricted #39

Closed dsheets closed 7 years ago

dsheets commented 10 years ago

It would be nice not to have dom0 limited to 512M of memory when nothing else is happening on the device.

dsheets commented 10 years ago

https://github.com/mirage/xen-arm-builder/blob/master/boot/boot-cubieboard2.cmd#L15 would appear to be the right place but any value >512M results in:

(XEN) *** LOADING DOMAIN 0 ***
(XEN) 
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) Failed to allocate contiguous memory for dom0
(XEN) ****************************************
(XEN) 
(XEN) Reboot in five seconds...
avsm commented 10 years ago

This is a known issue in Xen 4.4 and fixed in dev

On 25 Sep 2014, at 12:41, David Sheets notifications@github.com wrote:

https://github.com/mirage/xen-arm-builder/blob/master/boot/boot-cubieboard2.cmd#L15 would appear to be the right place but any value >512M results in:

(XEN) * LOADING DOMAIN 0 * (XEN) (XEN) **** (XEN) Panic on CPU 0: (XEN) Failed to allocate contiguous memory for dom0 (XEN) **** (XEN) (XEN) Reboot in five seconds... — Reply to this email directly or view it on GitHub.

dsheets commented 10 years ago

Even setting the max to 1G and then writing to /sys/devices/system/xen_memory/xen_memory0/target_kb doesn't work past 512M. I guess I'll have to wait for 4.5.

mor1 commented 7 years ago

As the recent refresh uses the Alpine Xen package which is 4.6 I believe, I'll close this for now. If it still occurs, please do reopen...