Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm a newbie to Xen, and I've recently installed Xen 4.2 by sources on my system. I've found a strange thing I've a VM when I start it via the command "xm create machine.cfg" all work fine, but if I use "xl create machine.cfg" it gives me the following error

xc: error: panic: xc_dom_core.c:442: xc_dom_alloc_segment: segment ramdisk too large (0x4ba > 0x2000 - 0x1bd9 pages): Out of memory libxl: error: libxl_dom.c:208:libxl__build_pv xc_dom_build_image failed: Invalid argument cannot (re-)build domain: -3 xenconsole: Could not read tty from store: No such file or directory

What could be the problem? Any idea?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Apparently I've solved the problem simply adding the memory specification in the configuration file.

share|improve this answer
add comment

In this case, your system seems to complain about too few RAM being available for your new VM which is started with the configuration file "machine.cfg". (I assume that machine.cfg and macchina.cfg differ from each other and are not the same.)

share|improve this answer
    
No I made a typo. I edited the question. –  Giorgio Mossa Mar 18 '12 at 15:09
    
I suggest to run strace -f -e trace=open xl create machine.cfg and look if really your desired config file is being used. –  Valentin Mar 18 '12 at 15:11
    
I did, but it seems that it's seeing the correct file infact it's loading the correct kernel and initrd. –  Giorgio Mossa Mar 18 '12 at 15:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.