On 26 Mar 2015, at 19:12, Magnus Therning <[email protected]> wrote:
> ~~~
>
> The dom0 has 512M memory, maybe it would help to give it a bit more...
> If I could only figure out how! `sudo xl mem-set` fails with a rather
> surprising error:
>
> libxl: error: libxl.c:4075:libxl_set_memory_target: cannot get memory info
> from /local/domain/0/memory/static-max : No such file or directory
>
You need to increase the amount of swap that dom0 has in the traditional way:
sudo dd if=/dev/zero of=/swapfile bs=1024 count=512k
sudo mkswap /swapfile
sudo swapon /swapfile
and then add to /etc/fstab so it persists on reboot:
/swapfile none swap sw 0 0
The mirage-arm-builder could automate this via an LVM partition on boot (so
that it doesn't eat up the precious root filesystem space). Feel free to patch
that into the repository or create an issue on
https://github.com/mirage/xen-arm-builder/issues to remind someone else to do
it in the future.
-anil
_______________________________________________
MirageOS-devel mailing list
[email protected]
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel