You are not logged in.
Working through setting up Arch and Xen on a system.
Following the steps here:
http://lime-technology.com/forum/index. … #msg279083
to Enable libvirt with Xen support in Arch Linux. I get all the way to the end when I run
makepkg -si --asroot
It starts to run before finally erroring out.
arch_1 ~/community/libvirt # makepkg -si --asroot
==> Making package: libvirt 1.2.0-1 (Thu Jan 2 11:49:27 EST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found libvirt-1.2.0.tar.gz
-> Found libvirtd.conf.d
-> Found libvirtd-guests.conf.d
-> Found libvirt.tmpfiles.d
==> Validating source files with md5sums...
libvirt-1.2.0.tar.gz ... Passed
libvirtd.conf.d ... Passed
libvirtd-guests.conf.d ... Passed
libvirt.tmpfiles.d ... Passed
==> Extracting sources...
-> Extracting libvirt-1.2.0.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
make all-recursive
make[1]: Entering directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0'
Making all in .
make[2]: Entering directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0'
make[2]: Leaving directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0'
Making all in gnulib/lib
make[2]: Entering directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0/gnulib/lib'
make all-am
make[3]: Entering directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0/gnulib/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0/gnulib/lib'
make[2]: Leaving directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0/gnulib/lib'
Making all in include
make[2]: Entering directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0/include'
Making all in libvirt
make[3]: Entering directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0/include/libvirt'
cd ../.. && /bin/sh ./config.status include/libvirt/libvirt.h
config.status: creating include/libvirt/libvirt.h
make[3]: Leaving directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0/include/libvirt'
make[3]: Entering directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0/include'
make[2]: Leaving directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0/include'
Making all in src
make[2]: Entering directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0/src'
GEN util/virkeymaps.h
GEN .esx_vi_generator.stamp
GEN .hyperv_wmi_generator.stamp
GEN esx/esx_vi_types.generated.typedef
GEN esx/esx_vi_types.generated.typeenum
GEN esx/esx_vi_types.generated.typetostring
GEN esx/esx_vi_types.generated.typefromstring
GEN esx/esx_vi_types.generated.h
GEN esx/esx_vi_types.generated.c
GEN esx/esx_vi_methods.generated.h
GEN esx/esx_vi_methods.generated.c
GEN esx/esx_vi_methods.generated.macro
GEN esx/esx_vi.generated.h
GEN esx/esx_vi.generated.c
GEN hyperv/hyperv_wmi.generated.h
GEN hyperv/hyperv_wmi.generated.c
GEN hyperv/hyperv_wmi_classes.generated.typedef
GEN hyperv/hyperv_wmi_classes.generated.h
GEN hyperv/hyperv_wmi_classes.generated.c
make all-am
make[3]: Entering directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0/src'
CC util/libvirt_util_la-viralloc.lo
CC util/libvirt_util_la-virarch.lo
CC util/libvirt_util_la-viratomic.lo
CC util/libvirt_util_la-viraudit.lo
CC util/libvirt_util_la-virauth.lo
CC util/libvirt_util_la-virauthconfig.lo
CC util/libvirt_util_la-virbitmap.lo
CC util/libvirt_util_la-virbuffer.lo
CC util/libvirt_util_la-vircgroup.lo
CC util/libvirt_util_la-virclosecallbacks.lo
CC util/libvirt_util_la-vircommand.lo
CC util/libvirt_util_la-virdbus.lo
CC util/libvirt_util_la-virconf.lo
CC util/libvirt_util_la-virdnsmasq.lo
CC util/libvirt_util_la-virebtables.lo
CC util/libvirt_util_la-virerror.lo
CC util/libvirt_util_la-virevent.lo
CC util/libvirt_util_la-vireventpoll.lo
CC util/libvirt_util_la-virfile.lo
CC util/libvirt_util_la-virhash.lo
CC util/libvirt_util_la-virhashcode.lo
CC util/libvirt_util_la-virhook.lo
CC util/libvirt_util_la-viridentity.lo
CC util/libvirt_util_la-virinitctl.lo
CC util/libvirt_util_la-viriptables.lo
CC util/libvirt_util_la-virjson.lo
CC util/libvirt_util_la-virkeycode.lo
CC util/libvirt_util_la-virkeyfile.lo
CC util/libvirt_util_la-virlockspace.lo
CC util/libvirt_util_la-virlog.lo
CC util/libvirt_util_la-virmacaddr.lo
CC util/libvirt_util_la-virnetdev.lo
CC util/libvirt_util_la-virnetdevbandwidth.lo
CC util/libvirt_util_la-virnetdevbridge.lo
CC util/libvirt_util_la-virnetdevmacvlan.lo
CC util/libvirt_util_la-virnetdevopenvswitch.lo
CC util/libvirt_util_la-virnetdevtap.lo
CC util/libvirt_util_la-virnetdevveth.lo
CC util/libvirt_util_la-virnetdevvlan.lo
CC util/libvirt_util_la-virnetdevvportprofile.lo
CC util/libvirt_util_la-virnetlink.lo
CC util/libvirt_util_la-virnodesuspend.lo
CC util/libvirt_util_la-virnuma.lo
CC util/libvirt_util_la-virobject.lo
CC util/libvirt_util_la-virpci.lo
CC util/libvirt_util_la-virpidfile.lo
CC util/libvirt_util_la-virportallocator.lo
CC util/libvirt_util_la-virprocess.lo
CC util/libvirt_util_la-virrandom.lo
CC util/libvirt_util_la-virscsi.lo
CC util/libvirt_util_la-virsexpr.lo
CC util/libvirt_util_la-virsocketaddr.lo
CC util/libvirt_util_la-virstatslinux.lo
CC util/libvirt_util_la-virstoragefile.lo
CC util/libvirt_util_la-virstring.lo
CC util/libvirt_util_la-virsysinfo.lo
CC util/libvirt_util_la-virsystemd.lo
CC util/libvirt_util_la-virthread.lo
CC util/libvirt_util_la-virthreadpool.lo
CC util/libvirt_util_la-virtime.lo
CC util/libvirt_util_la-virtpm.lo
CC util/libvirt_util_la-virtypedparam.lo
CC util/libvirt_util_la-virusb.lo
CC util/libvirt_util_la-viruri.lo
CC util/libvirt_util_la-virutil.lo
CC util/libvirt_util_la-viruuid.lo
CC util/libvirt_util_la-virxml.lo
CC conf/libvirt_conf_la-netdev_vport_profile_conf.lo
CC conf/libvirt_conf_la-netdev_bandwidth_conf.lo
CC conf/libvirt_conf_la-netdev_vlan_conf.lo
CC conf/libvirt_conf_la-capabilities.lo
CC conf/libvirt_conf_la-domain_conf.lo
CC conf/libvirt_conf_la-domain_audit.lo
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
Makefile:6799: recipe for target 'conf/libvirt_conf_la-domain_conf.lo' failed
make[3]: *** [conf/libvirt_conf_la-domain_conf.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0/src'
Makefile:4742: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0/src'
Makefile:1942: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/makepkg/libvirt/src/libvirt-1.2.0'
Makefile:1844: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Last edited by smakovits (2014-01-02 19:40:35)
Offline
http://lime-technology.com/forum/index. … #msg280206
I started some searches and saw some people reporting this as a result of running out of memory. Quite possible I guess, but how do I know for sure? I did what the xen guide told me to do and set dom-0 to 512 M and then I have no swap , so I guess the question is if I just assume it is an issue of running out of memory and how do I confirm? Or, do i just change that setting back, re-build grub and try again when I have all 8G memory available to dom-0?
Offline
are you saying that the cause is because dom-0 is limited to 512M as specified in the arch documentation to do? I only ask because it seems odd. Is there a better recommendation than 512M or one that is more appropriate? Or, is this something I need to change for this and then once complete I can safely change it back to 512M?
Offline
Oh no, I don't know if 512MB limit has anything to do with it, I just thought that since you posted this info on lime-techonology.com forum, you should share it here too.
Offline
Offline
The fact that cc is logged as 'Killed' is a good indication that it received a SIGKILL from the kernel after consuming too much RAM. dmesg should show you activity from the OOM killer.
Yes, that command proved most helpful...
[46899.085077] Out of memory: Kill process 24124 (cc1) score 92 or sacrifice child
[46899.085347] Killed process 24124 (cc1) total-vm:80236kB, anon-rss:41672kB, file-rss:0kB
edit:
I set dom-0 to 2G from 512M and this time things completed successfully, thank you for the assist!
Last edited by smakovits (2014-01-02 19:40:15)
Offline