Skip to contentSkip to conversation

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

DISCUSSION 李巍 1 participant 1 message Aug 10, 2010

lore
Share & tools
lore

李巍

author
#0 lore raw

Hi,

    I build xen-3.4.2 with VT-x support on ubuntu9.10 amd64-server.The machine boots ok and I start xend manually.I encounter the following problem with guest creation: $xm create -c /opt/vm/appscale1/xen.conf

Using config file
"/opt/vm/appscale1/xen.conf",start domain appscale1,I get the error:"xenconsole:Could not read tty from store: No such file or directory".The guest is created but remains blocked.Using the command:xm console  <domU Id> does not resolve the problem.I try to restart xend and xendconsole,but the error still exists.

    Below is information about guest config file and xen configuration.

Please let me know what is needed to resolve the problem,thanks!

-----------------------------------------------------------------------------------------------------------

# Configuration file for the Xen instance AppScale, created

# bn VMBuilder

kernel = '/boot/vmlinuz-2.6.27-7-server'

ramdisk = '/boot/initrd.img-2.6.27-7-server'

memory = 512

vcpus = 2

root = '/dev/sda1 ro'

disk = [

'file:/opt/vm/appscale1/root.img,sda1,w',

]

name = 'appscale-image1'

dhcp    = 'dhcp'

vif     = [ 'mac=00:16:3B:00:00:01' ]

on_poweroff = 'destroy'

on_reboot   = 'restart'

on_crash    = 'restart'

extra = 'console=hvc0
xencons=tty'

----------------------------------------------------------------------------------------------------------

xen's entry in /boot/grub/menu.lst

title           Xen 3.4.2 / Ubuntu 9.10, kernel 2.6.31.8-xen0-amd64

uuid            a73ad0a5-0a7d-4ce4-b771-3987131a73ac

kernel          /boot/xen-3.4.2.gz

module          /boot/vmlinuz-2.6.31.8-xen0-amd64 root=UUID=a73ad0a5-0a7d-4ce4-b771-3987131a73ac ro console=tty0

module
/boot/initrd.img-2.6.31.8-xen0-amd64

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel