Cristian Livadaru
2006-Jul-21 11:28 UTC
[Xen-users] xen vm won''t start (xenconsole: Could not read tty)
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@lists.xensource.com http://lists.xensource.com/xen-users
Cristian Livadaru
2006-Jul-21 21:28 UTC
Re: [Xen-users] xen vm won''t start (xenconsole: Could not read tty)
On Fri, Jul 21, 2006 at 01:28:12PM +0200, Cristian Livadaru wrote:> 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 >Please, nobody? no idea? I am fighting around with this since yesterday, I recreated a complete new lvm and did a fresh debootstrap and compared everything with several docs and howto''s and I have been search around the ned and still I am stuck at this point. Xen 2 worked so perfect on my machine at home I don''t undertand why I have so many problems with xen3. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Cristian Livadaru
2006-Jul-22 08:59 UTC
Re: [Xen-users] xen vm won''t start (xenconsole: Could not read tty)
On Fri, Jul 21, 2006 at 11:28:26PM +0200, Cristian Livadaru wrote:> On Fri, Jul 21, 2006 at 01:28:12PM +0200, Cristian Livadaru wrote: > > 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... > >I solved the problem ... I rebuild then xenU kernel but this didn''t help, since I had no further idea I rebooted and now everything works. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users