Sergio Charpinel Jr.
2009-Sep-03 15:59 UTC
[Xen-users] xenconsole: Could not read tty from store: No such file or directory
Hi, I installed one debian HVM guest (VT virtualization). I didnt configured the network (I dont know if it is related to my problem): When I start the domU , I received this error: desktop:/etc/xen# xm create -c debian-web.cfg Using config file "./debian-web.cfg". Started domain debian-web xenconsole: Could not read tty from store: No such file or directory Here is my cfg: kernel = ''/usr/lib/xen-default/boot/hvmloader'' builder = ''hvm'' memory = ''512'' disk = [ ''phy:/dev/vg-xen/debian-web-swap,sda1,w'', ''phy:/dev/vg-xen/debian-web-disk,sda2,w'', ] name = ''debian-web'' vid = [''''] on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' extra = ''xencons=tty'' Thanks for any help. -- Sergio Roberto Charpinel Jr. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sergio Charpinel Jr.
2009-Sep-03 20:03 UTC
[Xen-users] Re: xenconsole: Could not read tty from store: No such file or directory
I''ve read some previous posts about this same problem, most of them because the user did not start the daemon. But I dont have /usr/sbin/xenconsoled and it is located under /usr/lib and running. Xen version 3.2.1 Any ideas? 2009/9/3 Sergio Charpinel Jr. <sergiocharpinel@gmail.com>> Hi, > I installed one debian HVM guest (VT virtualization). > I didnt configured the network (I dont know if it is related to my > problem): > > When I start the domU , I received this error: > desktop:/etc/xen# xm create -c debian-web.cfg > Using config file "./debian-web.cfg". > Started domain debian-web > xenconsole: Could not read tty from store: No such file or directory > > Here is my cfg: > kernel = ''/usr/lib/xen-default/boot/hvmloader'' > builder = ''hvm'' > memory = ''512'' > > disk = [ > ''phy:/dev/vg-xen/debian-web-swap,sda1,w'', > ''phy:/dev/vg-xen/debian-web-disk,sda2,w'', > ] > > name = ''debian-web'' > > vid = [''''] > > on_poweroff = ''destroy'' > on_reboot = ''restart'' > on_crash = ''restart'' > > extra = ''xencons=tty'' > > Thanks for any help. > -- > Sergio Roberto Charpinel Jr. >-- Sergio Roberto Charpinel Jr. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sergio Charpinel Jr.
2009-Sep-04 13:50 UTC
[Xen-users] Re: xenconsole: Could not read tty from store: No such file or directory
I got the xenconsoled error just when I use this config: kernel = "/usr/lib/xen-3.2-1/boot/hvmloader" builder=''hvm'' If I switch to kernel = ''/boot/vmlinuz-2.6.26-2-xen-amd64'' ramdisk = ''/boot/initrd.img-2.6.26-2-xen-amd64'' It works, but it is not using VT-virtualization. What do I need to change do work as HVM ? 2009/9/3 Sergio Charpinel Jr. <sergiocharpinel@gmail.com>> I''ve read some previous posts about this same problem, most of them because > the user did not start the daemon. > But I dont have /usr/sbin/xenconsoled and it is located under /usr/lib and > running. > > Xen version 3.2.1 > > Any ideas? > > 2009/9/3 Sergio Charpinel Jr. <sergiocharpinel@gmail.com> > > Hi, >> I installed one debian HVM guest (VT virtualization). >> I didnt configured the network (I dont know if it is related to my >> problem): >> >> When I start the domU , I received this error: >> desktop:/etc/xen# xm create -c debian-web.cfg >> Using config file "./debian-web.cfg". >> Started domain debian-web >> xenconsole: Could not read tty from store: No such file or directory >> >> Here is my cfg: >> kernel = ''/usr/lib/xen-default/boot/hvmloader'' >> builder = ''hvm'' >> memory = ''512'' >> >> disk = [ >> ''phy:/dev/vg-xen/debian-web-swap,sda1,w'', >> ''phy:/dev/vg-xen/debian-web-disk,sda2,w'', >> ] >> >> name = ''debian-web'' >> >> vid = [''''] >> >> on_poweroff = ''destroy'' >> on_reboot = ''restart'' >> on_crash = ''restart'' >> >> extra = ''xencons=tty'' >> >> Thanks for any help. >> -- >> Sergio Roberto Charpinel Jr. >> > > > > -- > Sergio Roberto Charpinel Jr. >-- Sergio Roberto Charpinel Jr. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2009-Sep-06 11:37 UTC
Re: [Xen-users] Re: xenconsole: Could not read tty from store: No such file or directory
On Fri, Sep 04, 2009 at 10:50:55AM -0300, Sergio Charpinel Jr. wrote:> I got the xenconsoled error just when I use this config: > kernel = "/usr/lib/xen-3.2-1/boot/hvmloader" > builder=''hvm'' > > If I switch to > kernel = ''/boot/vmlinuz-2.6.26-2-xen-amd64'' > ramdisk = ''/boot/initrd.img-2.6.26-2-xen-amd64'' > > It works, but it is not using VT-virtualization. > > What do I need to change do work as HVM ? >PV (Paravirtualization) is faster, why do you want HVM? HVM (full virtualization) requires Qemu _emulation_ of PC hardware. PV guests are aware they''re virtualizated, because the OS kernel (vmlinuz-2.6.26-2-xen-amd64) is ported to run natively on Xen. -- Pasi> 2009/9/3 Sergio Charpinel Jr. <sergiocharpinel@gmail.com> > > > I''ve read some previous posts about this same problem, most of them because > > the user did not start the daemon. > > But I dont have /usr/sbin/xenconsoled and it is located under /usr/lib and > > running. > > > > Xen version 3.2.1 > > > > Any ideas? > > > > 2009/9/3 Sergio Charpinel Jr. <sergiocharpinel@gmail.com> > > > > Hi, > >> I installed one debian HVM guest (VT virtualization). > >> I didnt configured the network (I dont know if it is related to my > >> problem): > >> > >> When I start the domU , I received this error: > >> desktop:/etc/xen# xm create -c debian-web.cfg > >> Using config file "./debian-web.cfg". > >> Started domain debian-web > >> xenconsole: Could not read tty from store: No such file or directory > >> > >> Here is my cfg: > >> kernel = ''/usr/lib/xen-default/boot/hvmloader'' > >> builder = ''hvm'' > >> memory = ''512'' > >> > >> disk = [ > >> ''phy:/dev/vg-xen/debian-web-swap,sda1,w'', > >> ''phy:/dev/vg-xen/debian-web-disk,sda2,w'', > >> ] > >> > >> name = ''debian-web'' > >> > >> vid = [''''] > >> > >> on_poweroff = ''destroy'' > >> on_reboot = ''restart'' > >> on_crash = ''restart'' > >> > >> extra = ''xencons=tty'' > >> > >> Thanks for any help. > >> -- > >> Sergio Roberto Charpinel Jr. > >> > > > > > > > > -- > > Sergio Roberto Charpinel Jr. > > > > > > -- > Sergio Roberto Charpinel Jr.> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Sep-06 12:48 UTC
Re: [Xen-users] Re: xenconsole: Could not read tty from store: No such file or directory
On Fri, Sep 4, 2009 at 8:50 PM, Sergio Charpinel Jr.<sergiocharpinel@gmail.com> wrote:> I got the xenconsoled error just when I use this config: > kernel = "/usr/lib/xen-3.2-1/boot/hvmloader" > builder=''hvm'' > > If I switch to > kernel = ''/boot/vmlinuz-2.6.26-2-xen-amd64'' > ramdisk = ''/boot/initrd.img-2.6.26-2-xen-amd64'' > > It works, but it is not using VT-virtualization. > > What do I need to change do work as HVM ?Perhaps you''re confusing the way Intel VT/AMD-V works on Xen with the way it works on VMware/Virtualbox? For example, on Virtualbox you have the OPTION to use VT for guest, which should make it run faster (at least they put it in "acceleration" section). It doesn''t work that way in Xen. In Xen, you either have : - HVM guest, whose OS/kernel is just like the one running on any other physical machine, and NEEDS VT to run - PV guest, whose OS/kernel has to support Xen (whether old-style xenfied kernel or newer pv_ops kernel), and does not need VT to run. It won''t use VT, even when it''s available. Note that the disk mapping you use (with sda1 and sda2) and also the kernel (vmlinuz-2.6.26-2-xen-amd64) will ONLY work for PV guest. For HVM guest you need to map the disk as sda, not sda1 and sda2. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users