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've tryed to run VM in Xen 4.2 using xl command (for what I get this should be standard toolstack, while xm is deprecated).

In this case I've the following configuration file

kernel = '/media/home_separata/domU_kernel/boot/vmlinuz-linux'                  
ramdisk = '/media/home_separata/domU_kernel/boot/initramfs-linux.img'
name = "domU_Arch_linux"
memory = "512"
root = '/dev/xvda1 ro'
disk = ['file:/media/home_separata/domU_kernel/arch_linux_kernel.img,xvda1,w']
vif = ['mac=aa:::10:11:f1,ip=192.168.0.2,bridge=xenbr0']

when I try to start the virtual machine with xl create it seems it works (it also bring up the vif interfaces) but if I try to connect via xl console it gives an error:

xenconsole: Could not read tty from store: No such file or directory

the fun fact is that the I've the problem inverse using xend/xm (in that case xend doesn't bring up vif interfaces but activate console).

Does anyone have any suggestion?

share|improve this question

2 Answers 2

Check if xenconsoled is running. If not, start it.

If this doesn't help you, look at the /etc/inittab file of your VM and see if this line is there:

co:2345:respawn:/sbin/mingetty console 

If not, add it :)

Hope that helps!

share|improve this answer
    
No, it didn't work, anyway thanks for the try. Have you got any idea on what the problem could be? But more important how is possibile that with xend console its started? –  Giorgio Mossa Mar 20 '12 at 13:07
    
Well, the xl toolstack is still new and contains some issues. Besides of that, I have no further ideas. Sorry! –  Valentin Mar 20 '12 at 20:56

It's seems I've solved the problem: apparently for some reason at startup the system didn't bring up the module xen-gntdev, manually loading this module made it work the console.

share|improve this answer

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.