[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] xen vm won't start (xenconsole: Could not read tty)


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Cristian Livadaru <drac3@xxxxxxxxx>
  • Date: Fri, 21 Jul 2006 13:28:12 +0200
  • Delivery-date: Fri, 21 Jul 2006 04:28:54 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi, I just installed xen 3.0.1 on Debian the only problem I have now is
to get the xen vm running.
when I try to start a vm I always get this error:

xm create -c /etc/xen/vm01-config.sxp
Using config file "/etc/xen/vm01-config.sxp".
Started domain vm01
xenconsole: Could not read tty from store: No such file or directory

What I could find searching mailinglists and forums is that this
messages is displayed when the vm crashed or didn't even start.
This seems to be ocrrect since I don't see anything in the vm logs.
I just don't know here to look further, if anybody could give me a hint
to solve this problem...

my vm config:

name="vm01"
kernel="/boot/vmlinuz-2.6.12.6-xenU"
root="/dev/hda1"
memory=128
disk =
['phy:/dev/vhostvg/baselv,hda1,w','phy:/dev/vhostvg/baseswaplv,hda2,w']

# network
vif=[ '' ]
dhcp="off"
ip="88.198.217.74"
netmask="255.255.255.248"
gateway="88.198.217.73"
hostname="vm01.lcx.at"

extra="3"


output from the xend logfile:

[2006-07-21 13:08:05 xend.XendDomainInfo] DEBUG (XendDomainInfo:177)
XendDomainInfo.create(['vm', ['name', 'vm01'], ['memory', '128'],
['vcpus', '1'], ['image', ['linux', ['kernel',
'/boot/vmlinuz-2.6.12.6-xenU'], ['ip',
'88.198.217.74:1.2.3.4:88.198.217.73:255.255.255.248:vm01.lcx.at:eth0:off'],
['root', '/dev/hda1'], ['args', '3']]], ['device', ['vbd', ['uname',
'phy:/dev/vhostvg/baselv'], ['dev', 'hda1'], ['mode', 'w']]], ['device',
['vbd', ['uname', 'phy:/dev/vhostvg/baseswaplv'], ['dev', 'hda2'],
['mode', 'w']]], ['device', ['vif']]])
[2006-07-21 13:08:05 xend.XendDomainInfo] DEBUG (XendDomainInfo:282)
parseConfig: config is ['vm', ['name', 'vm01'], ['memory', '128'],
['vcpus', '1'], ['image', ['linux', ['kernel',
'/boot/vmlinuz-2.6.12.6-xenU'], ['ip',
'88.198.217.74:1.2.3.4:88.198.217.73:255.255.255.248:vm01.lcx.at:eth0:off'],
['root', '/dev/hda1'], ['args', '3']]], ['device', ['vbd', ['uname',
'phy:/dev/vhostvg/baselv'], ['dev', 'hda1'], ['mode', 'w']]], ['device',
['vbd', ['uname', 'phy:/dev/vhostvg/baseswaplv'], ['dev', 'hda2'],
['mode', 'w']]], ['device', ['vif']]]
[2006-07-21 13:08:05 xend.XendDomainInfo] DEBUG (XendDomainInfo:376)
parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None,
'on_reboot': None, 'image': ['linux', ['kernel',
'/boot/vmlinuz-2.6.12.6-xenU'], ['ip',
'88.198.217.74:1.2.3.4:88.198.217.73:255.255.255.248:vm01.lcx.at:eth0:off'],
['root', '/dev/hda1'], ['args', '3']], 'on_poweroff': None, 'cpus':
None, 'name': 'vm01', 'backend': [], 'vcpus': 1, 'cpu_weight': None,
'vcpu_avail': None, 'memory': 128, 'device': [('vbd', ['vbd', ['uname',
'phy:/dev/vhostvg/baselv'], ['dev', 'hda1'], ['mode', 'w']]), ('vbd',
['vbd', ['uname', 'phy:/dev/vhostvg/baseswaplv'], ['dev', 'hda2'],
['mode', 'w']]), ('vif', ['vif'])], 'bootloader': None, 'cpu': None,
'maxmem': None}
[2006-07-21 13:08:05 xend.XendDomainInfo] DEBUG (XendDomainInfo:1130)
XendDomainInfo.construct: None 0
[2006-07-21 13:08:05 xend.XendDomainInfo] DEBUG (XendDomainInfo:1162)
XendDomainInfo.initDomain: 16 1.0
[2006-07-21 13:08:05 xend] DEBUG (balloon:84) Balloon: free 1884; need
129; done.
[2006-07-21 13:08:05 xend] INFO (image:133) buildDomain os=linux dom=16
vcpus=1
[2006-07-21 13:08:05 xend] DEBUG (image:171) dom            = 16
[2006-07-21 13:08:05 xend] DEBUG (image:172) image          =
/boot/vmlinuz-2.6.12.6-xenU
[2006-07-21 13:08:05 xend] DEBUG (image:173) store_evtchn   = 1
[2006-07-21 13:08:05 xend] DEBUG (image:174) console_evtchn = 2
[2006-07-21 13:08:05 xend] DEBUG (image:175) cmdline        =
ip=88.198.217.74:1.2.3.4:88.198.217.73:255.255.255.248:vm01.lcx.at:eth0:off
root=/dev/hda1 3
[2006-07-21 13:08:05 xend] DEBUG (image:176) ramdisk        =
[2006-07-21 13:08:05 xend] DEBUG (image:177) vcpus          = 1
[2006-07-21 13:08:05 xend] DEBUG (blkif:24) exception looking up device
number for hda1: [Errno 2] No such file or directory: '/dev/hda1'
[2006-07-21 13:08:05 xend] DEBUG (DevController:103) DevController:
writing {'virtual-device': '769', 'backend-id': '0', 'state': '1',
'backend': '/local/domain/0/backend/vbd/16/769'} to
/local/domain/16/device/vbd/769.
[2006-07-21 13:08:05 xend] DEBUG (DevController:105) DevController:
writing {'domain': 'vm01', 'frontend':
'/local/domain/16/device/vbd/769', 'dev': 'hda1', 'state': '1',
'params': '/dev/vhostvg/baselv', 'mode': 'w', 'frontend-id': '16',
'type': 'phy'} to /local/domain/0/backend/vbd/16/769.
[2006-07-21 13:08:05 xend] DEBUG (blkif:24) exception looking up device
number for hda2: [Errno 2] No such file or directory: '/dev/hda2'
[2006-07-21 13:08:05 xend] DEBUG (DevController:103) DevController:
writing {'virtual-device': '770', 'backend-id': '0', 'state': '1',
'backend': '/local/domain/0/backend/vbd/16/770'} to
/local/domain/16/device/vbd/770.
[2006-07-21 13:08:05 xend] DEBUG (DevController:105) DevController:
writing {'domain': 'vm01', 'frontend':
'/local/domain/16/device/vbd/770', 'dev': 'hda2', 'state': '1',
'params': '/dev/vhostvg/baseswaplv', 'mode': 'w', 'frontend-id': '16',
'type': 'phy'} to /local/domain/0/backend/vbd/16/770.
[2006-07-21 13:08:05 xend] DEBUG (DevController:103) DevController:
writing {'backend-id': '0', 'mac': '00:16:3e:1d:30:27', 'handle': '0',
'state': '1', 'backend': '/local/domain/0/backend/vif/16/0'} to
/local/domain/16/device/vif/0.
[2006-07-21 13:08:05 xend] DEBUG (DevController:105) DevController:
writing {'mac': '00:16:3e:1d:30:27', 'state': '1', 'handle': '0',
'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '16', 'domain':
'vm01', 'frontend': '/local/domain/16/device/vif/0'} to
/local/domain/0/backend/vif/16/0.
[2006-07-21 13:08:05 xend.XendDomainInfo] DEBUG (XendDomainInfo:663)
Storing VM details: {'ssidref': '0', 'uuid':
'783b48f2-66d0-d53b-cc2a-c567580353fc', 'on_reboot': 'restart',
'start_time': '1153480085.58', 'on_poweroff': 'destroy', 'name': 'vm01',
'vcpus': '1', 'vcpu_avail': '1', 'memory': '128', 'on_crash': 'restart',
'image': '(linux (kernel /boot/vmlinuz-2.6.12.6-xenU) (ip
88.198.217.74:1.2.3.4:88.198.217.73:255.255.255.248:vm01.lcx.at:eth0:off)
(root /dev/hda1) (args 3))', 'maxmem': '128'}
[2006-07-21 13:08:05 xend.XendDomainInfo] DEBUG (XendDomainInfo:688)
Storing domain details: {'console/ring-ref': '482148', 'console/port':
'2', 'name': 'vm01', 'console/limit': '1048576', 'vm':
'/vm/783b48f2-66d0-d53b-cc2a-c567580353fc', 'domid': '16',
'cpu/0/availability': 'online', 'memory/target': '131072',
'store/ring-ref': '482149', 'store/port': '1'}
[2006-07-21 13:08:05 xend] DEBUG (DevController:132) Waiting for devices
vif.
[2006-07-21 13:08:05 xend] DEBUG (DevController:138) Waiting for 0.
[2006-07-21 13:08:05 xend] DEBUG (DevController:403)
hotplugStatusCallback /local/domain/0/backend/vif/16/0/hotplug-status.
[2006-07-21 13:08:05 xend] DEBUG (DevController:403)
hotplugStatusCallback /local/domain/0/backend/vif/16/0/hotplug-status.
[2006-07-21 13:08:05 xend] DEBUG (DevController:417)
hotplugStatusCallback 1.
[2006-07-21 13:08:05 xend] DEBUG (DevController:132) Waiting for devices
usb.
[2006-07-21 13:08:05 xend] DEBUG (DevController:132) Waiting for devices
vbd.
[2006-07-21 13:08:05 xend] DEBUG (DevController:138) Waiting for 769.
[2006-07-21 13:08:05 xend] DEBUG (DevController:403)
hotplugStatusCallback /local/domain/0/backend/vbd/16/769/hotplug-status.
[2006-07-21 13:08:06 xend] DEBUG (DevController:403)
hotplugStatusCallback /local/domain/0/backend/vbd/16/769/hotplug-status.
[2006-07-21 13:08:06 xend] DEBUG (DevController:417)
hotplugStatusCallback 1.
[2006-07-21 13:08:07 xend] DEBUG (DevController:138) Waiting for 770.
[2006-07-21 13:08:07 xend] DEBUG (DevController:403)
hotplugStatusCallback /local/domain/0/backend/vbd/16/770/hotplug-status.
[2006-07-21 13:08:07 xend] DEBUG (DevController:417)
hotplugStatusCallback 1.
[2006-07-21 13:08:07 xend] DEBUG (DevController:132) Waiting for devices
pci.
[2006-07-21 13:08:07 xend] DEBUG (DevController:132) Waiting for devices
ioports.
[2006-07-21 13:08:07 xend] DEBUG (DevController:132) Waiting for devices
vtpm.
[2006-07-21 13:08:07 xend] INFO (XendDomain:360) Domain vm01 (16)
unpaused.


Regards,

Cristian Livadaru


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.