I''m trying to create a windows 2003 guest. Now it seems that the guest was created, but it has no state, and i get an error when trying to switch to its console (see below). I also attached the log file containing the info logged during guest creation. Did anyone encounter this behavior? root@drors-xen:/guests# xm create w2k3.cfg Using config file "w2k3.cfg". Started domain w2k3-001 root@drors-xen:/guests# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1439 2 r----- 143.1 w2k3-001 4 512 1 ------ 0.0 root@drors-xen:/guests# xm console 4 xenconsole: Could not read tty from store: No such file or directory Thanks, Dror _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-May-16 09:46 UTC
RE: [Xen-users] problems creating wondows 2003 guest
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > dror shenkar > Sent: 16 May 2007 06:31 > To: xen-users@lists.xensource.com > Subject: [Xen-users] problems creating wondows 2003 guest > > I''m trying to create a windows 2003 guest. Now it seems that > the guest was created, but it has no state, and i get an > error when trying to switch to its console (see below). > I also attached the log file containing the info logged > during guest creation. > Did anyone encounter this behavior? > > root@drors-xen:/guests# xm create w2k3.cfg > Using config file "w2k3.cfg". > Started domain w2k3-001 > root@drors-xen:/guests # xm list > Name ID Mem(MiB) VCPUs > State Time(s) > Domain-0 0 1439 2 > r----- 143.1 > w2k3-001 4 512 1 > ------ 0.0 > root@drors-xen:/guests# xm console 4In general, xm console doesn''t work in fully virtualized domains unless you also set the OS to use serial port as console (which isn''t really a viable option in Windows anyways). I''d like to see your /var/log/xen/qemu.<pid>.log (the one for the qemu-dm running at the time when you start w2k3-001). Also check "xm dmesg" to see if it''s got any errors... -- Mats> xenconsole: Could not read tty from store: No such file or directory > > Thanks, Dror > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 5/16/07, Petersson, Mats <Mats.Petersson@amd.com> wrote:> > > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > dror shenkar > > Sent: 16 May 2007 06:31 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] problems creating wondows 2003 guest > > > > I''m trying to create a windows 2003 guest. Now it seems that > > the guest was created, but it has no state, and i get an > > error when trying to switch to its console (see below). > > I also attached the log file containing the info logged > > during guest creation. > > Did anyone encounter this behavior? > > > > root@drors-xen:/guests# xm create w2k3.cfg > > Using config file "w2k3.cfg". > > Started domain w2k3-001 > > root@drors-xen:/guests # xm list > > Name ID Mem(MiB) VCPUs > > State Time(s) > > Domain-0 0 1439 2 > > r----- 143.1 > > w2k3-001 4 512 1 > > ------ 0.0 > > root@drors-xen:/guests# xm console 4 > > In general, xm console doesn''t work in fully virtualized domains unless > you also set the OS to use serial port as console (which isn''t really aSorry Mats , But you are saying to modify grub.conf to use serial port as console. like serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 or we have something to define in config file of hvm domain itself to do this. viable option in Windows anyways).> > I''d like to see your /var/log/xen/qemu.<pid>.log (the one for the > qemu-dm running at the time when you start w2k3-001). > > Also check "xm dmesg" to see if it''s got any errors... > > -- > Mats > > xenconsole: Could not read tty from store: No such file or directory > > > > Thanks, Dror > > > > > > > > > > > > _______________________________________________ > 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
Petersson, Mats
2007-May-16 10:10 UTC
RE: [Xen-users] problems creating wondows 2003 guest
> > Sorry Mats , But you are saying to modify grub.conf to use > serial port as console. > like > serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 > > or we have something to define in config file of hvm domain > itself to do this.Ehm, since the original post was about Windows, I''d say that Grub has nothing to do with it [yes, it''s technically possible to use grub to boot windows, but it''s not exactly the ideal solution for a virtual machine, as you PROBABLY don''t install it for dual-boot with Linux on the same virtual disk, so what advantage does grub give?]. But if you want to use "xm console" for the HVM virtual machine, and you''re using GRUB to boot, then you''d want something like the above line, along with a "console=ttyS0" on the "vmlinuz" line where you specify the kernel for the virtual machine (i.e. /boot/grub/grub.conf inside the virtual machine). -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 5/16/07, Petersson, Mats <Mats.Petersson@amd.com> wrote:> > > > > Sorry Mats , But you are saying to modify grub.conf to use > > serial port as console. > > like > > serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 > > > > or we have something to define in config file of hvm domain > > itself to do this.Sorry Mats, i forgot to mentions that my HVM domain is Linux itself ( No windows ). Rightnow i am using vncviewer to access the console of the HVM domain. Thats what i asked you whether we could use xm console for hvm domain also. I was tring this but without succes. Many thanks for the help !! -Trilok Ehm, since the original post was about Windows, I''d say that Grub has> nothing to do with it [yes, it''s technically possible to use grub to > boot windows, but it''s not exactly the ideal solution for a virtual > machine, as you PROBABLY don''t install it for dual-boot with Linux on > the same virtual disk, so what advantage does grub give?]. > > But if you want to use "xm console" for the HVM virtual machine, and > you''re using GRUB to boot, then you''d want something like the above > line, along with a "console=ttyS0" on the "vmlinuz" line where you > specify the kernel for the virtual machine (i.e. /boot/grub/grub.conf > inside the virtual machine). > > -- > Mats > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
so how am i supposed to install windows guest if i can''t switch to its console? i don''t find any qemu.<pid>.log in my system i don''t see anything wrong in xm dmesg (attahced screen.log) Thanks, Dror On 5/16/07, Petersson, Mats <Mats.Petersson@amd.com> wrote:> > > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > dror shenkar > > Sent: 16 May 2007 06:31 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] problems creating wondows 2003 guest > > > > I''m trying to create a windows 2003 guest. Now it seems that > > the guest was created, but it has no state, and i get an > > error when trying to switch to its console (see below). > > I also attached the log file containing the info logged > > during guest creation. > > Did anyone encounter this behavior? > > > > root@drors-xen:/guests# xm create w2k3.cfg > > Using config file "w2k3.cfg". > > Started domain w2k3-001 > > root@drors-xen:/guests # xm list > > Name ID Mem(MiB) VCPUs > > State Time(s) > > Domain-0 0 1439 2 > > r----- 143.1 > > w2k3-001 4 512 1 > > ------ 0.0 > > root@drors-xen:/guests# xm console 4 > > In general, xm console doesn''t work in fully virtualized domains unless > you also set the OS to use serial port as console (which isn''t really a > viable option in Windows anyways). > > I''d like to see your /var/log/xen/qemu.<pid>.log (the one for the > qemu-dm running at the time when you start w2k3-001). > > Also check "xm dmesg" to see if it''s got any errors... > > -- > Mats > > xenconsole: Could not read tty from store: No such file or directory > > > > Thanks, Dror > > > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
bdubas@asec.com.pl
2007-May-16 13:22 UTC
RE: [Xen-users] problems creating wondows 2003 guest
You should use vnc client (in quest configuration you enable vnc=1) or if you hale already installed Xwindows on dom0 direct sdl (by adding sdl=1 in quest configuration file). The "console" in xen is supposed to use as text terminal not for graphics display. While windows works as graphics OS you need to use on of mentioned posibilites. -- ASEC S.A. Bartłomiej Dubas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-May-16 13:27 UTC
RE: [Xen-users] problems creating wondows 2003 guest
> -----Original Message----- > From: dror shenkar [mailto:dror.shenkar@gmail.com] > Sent: 16 May 2007 14:13 > To: Petersson, Mats; xen-users@lists.xensource.com > Subject: Re: [Xen-users] problems creating wondows 2003 guest > > so how am i supposed to install windows guest if i can''t > switch to its console?Well, you use the VNC/SDL window. As far as I know, you can''t install Windows without a graphics card and a monitor connected to it either, so that''s the same sort of case.> > i don''t find any qemu.<pid>.log in my systemNo /var/log/xen/qemu*.log at all? That''s bad [or they are somewhere else!] I usually have hundreds (or thousands - I cleaned out 4000+ this morning!) of them.> > i don''t see anything wrong in xm dmesg (attahced screen.log)No, neither do I. -- Mats> > Thanks, Dror > > On 5/16/07, Petersson, Mats <Mats.Petersson@amd.com> wrote: > > > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > <mailto:xen-users-bounces@lists.xensource.com> > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > dror shenkar > > Sent: 16 May 2007 06:31 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] problems creating wondows 2003 guest > > > > I''m trying to create a windows 2003 guest. Now it seems that > > the guest was created, but it has no state, and i get an > > error when trying to switch to its console (see below). > > I also attached the log file containing the info logged > > during guest creation. > > Did anyone encounter this behavior? > > > > root@drors-xen:/guests# xm create w2k3.cfg > > Using config file "w2k3.cfg". > > Started domain w2k3-001 > > root@drors-xen:/guests # xm list > > Name ID Mem(MiB) VCPUs > > State Time(s) > > Domain-0 0 1439 2 > > r----- 143.1 > > w2k3-001 4 512 1 > > ------ 0.0 > > root@drors-xen:/guests# xm console 4 > > In general, xm console doesn''t work in fully > virtualized domains unless > you also set the OS to use serial port as console > (which isn''t really a > viable option in Windows anyways). > > I''d like to see your /var/log/xen/qemu.<pid>.log (the > one for the > qemu-dm running at the time when you start w2k3-001). > > Also check "xm dmesg" to see if it''s got any errors... > > -- > Mats > > xenconsole: Could not read tty from store: No such > file or directory > > > > Thanks, Dror > > > > > > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
how do i connect to the windows domain using vnc? the vncserver is running and i can connect to dom0 (vncviewer ip:1). however i don''t know how to connect to the guest domain i''ve just created. i''ve tried vncviewer ip:domid but i get an error (Unable to connect to VNC server) Thanks, Dror On 5/16/07, Petersson, Mats <Mats.Petersson@amd.com> wrote:> > > > > -----Original Message----- > > From: dror shenkar [mailto:dror.shenkar@gmail.com] > > Sent: 16 May 2007 14:13 > > To: Petersson, Mats; xen-users@lists.xensource.com > > Subject: Re: [Xen-users] problems creating wondows 2003 guest > > > > so how am i supposed to install windows guest if i can''t > > switch to its console? > > Well, you use the VNC/SDL window. As far as I know, you can''t install > Windows without a graphics card and a monitor connected to it either, so > that''s the same sort of case. > > > > i don''t find any qemu.<pid>.log in my system > > No /var/log/xen/qemu*.log at all? That''s bad [or they are somewhere > else!] I usually have hundreds (or thousands - I cleaned out 4000+ this > morning!) of them. > > > > > i don''t see anything wrong in xm dmesg (attahced screen.log) > > No, neither do I. > > -- > Mats > > > > Thanks, Dror > > > > On 5/16/07, Petersson, Mats <Mats.Petersson@amd.com> wrote: > > > > > > > > > -----Original Message----- > > > From: xen-users-bounces@lists.xensource.com > > <mailto:xen-users-bounces@lists.xensource.com> > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > > dror shenkar > > > Sent: 16 May 2007 06:31 > > > To: xen-users@lists.xensource.com > > > Subject: [Xen-users] problems creating wondows 2003 guest > > > > > > I''m trying to create a windows 2003 guest. Now it seems that > > > the guest was created, but it has no state, and i get an > > > error when trying to switch to its console (see below). > > > I also attached the log file containing the info logged > > > during guest creation. > > > Did anyone encounter this behavior? > > > > > > root@drors-xen:/guests# xm create w2k3.cfg > > > Using config file "w2k3.cfg". > > > Started domain w2k3-001 > > > root@drors-xen:/guests # xm list > > > Name ID Mem(MiB) VCPUs > > > State Time(s) > > > Domain-0 0 1439 2 > > > r----- 143.1 > > > w2k3-001 4 512 1 > > > ------ 0.0 > > > root@drors-xen:/guests# xm console 4 > > > > In general, xm console doesn''t work in fully > > virtualized domains unless > > you also set the OS to use serial port as console > > (which isn''t really a > > viable option in Windows anyways). > > > > I''d like to see your /var/log/xen/qemu.<pid>.log (the > > one for the > > qemu-dm running at the time when you start w2k3-001). > > > > Also check "xm dmesg" to see if it''s got any errors... > > > > -- > > Mats > > > xenconsole: Could not read tty from store: No such > > file or directory > > > > > > Thanks, Dror > > > > > > > > > > > > > > > > > > > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-May-16 15:15 UTC
RE: [Xen-users] problems creating wondows 2003 guest
> -----Original Message----- > From: dror shenkar [mailto:dror.shenkar@gmail.com] > Sent: 16 May 2007 15:57 > To: Petersson, Mats > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] problems creating wondows 2003 guest > > how do i connect to the windows domain using vnc? > > the vncserver is running and i can connect to dom0 (vncviewer > ip:1). however i don''t know how to connect to the guest > domain i''ve just created. i''ve tried vncviewer ip:domid but i > get an error (Unable to connect to VNC server)If you start with "vnc=1" and "vncviewer=1", "xm create" should start a vncviewer automatically. I believe you can also use "vncviwer localhost:5900" or some such, but I''m not sure [I use SDL most of the time, and when I don''t, I use "vncviewer=1", so getting VNC afterwards isn''t something I do regularly]. Also, if you haven''t set "vnc=1" in the guest configuration, there''s nothing to connect to on the guest, so VNC won''t work in this situation. -- Mats> > Thanks, Dror > > On 5/16/07, Petersson, Mats <Mats.Petersson@amd.com> wrote: > > > > > -----Original Message----- > > From: dror shenkar [mailto: dror.shenkar@gmail.com > <mailto:dror.shenkar@gmail.com> ] > > Sent: 16 May 2007 14:13 > > To: Petersson, Mats; xen-users@lists.xensource.com > > Subject: Re: [Xen-users] problems creating wondows 2003 guest > > > > so how am i supposed to install windows guest if i can''t > > switch to its console? > > Well, you use the VNC/SDL window. As far as I know, you > can''t install > Windows without a graphics card and a monitor connected > to it either, so > that''s the same sort of case. > > > > i don''t find any qemu.<pid>.log in my system > > No /var/log/xen/qemu*.log at all? That''s bad [or they > are somewhere > else!] I usually have hundreds (or thousands - I > cleaned out 4000+ this > morning!) of them. > > > > > i don''t see anything wrong in xm dmesg (attahced screen.log) > > No, neither do I. > > -- > Mats > > > > Thanks, Dror > > > > On 5/16/07, Petersson, Mats < Mats.Petersson@amd.com> wrote: > > > > > > > > > -----Original Message----- > > > From: xen-users-bounces@lists.xensource.com > <mailto:xen-users-bounces@lists.xensource.com> > > <mailto:xen-users-bounces@lists.xensource.com> > > > [mailto: > xen-users-bounces@lists.xensource.com > <mailto:xen-users-bounces@lists.xensource.com> ] On Behalf Of > > > dror shenkar > > > Sent: 16 May 2007 06:31 > > > To: xen-users@lists.xensource.com > > > Subject: [Xen-users] problems creating > wondows 2003 guest > > > > > > I''m trying to create a windows 2003 guest. > Now it seems that > > > the guest was created, but it has no state, > and i get an > > > error when trying to switch to its console > (see below). > > > I also attached the log file containing the > info logged > > > during guest creation. > > > Did anyone encounter this behavior? > > > > > > root@drors-xen:/guests# xm create w2k3.cfg > > > Using config file "w2k3.cfg". > > > Started domain w2k3-001 > > > root@drors-xen:/guests # xm list > > > Name ID > Mem(MiB) VCPUs > > > State Time(s) > > > Domain-0 0 > 1439 2 > > > r----- 143.1 > > > w2k3-001 4 > 512 1 > > > ------ 0.0 > > > root@drors-xen:/guests# xm console 4 > > > > In general, xm console doesn''t work in fully > > virtualized domains unless > > you also set the OS to use serial port as console > > (which isn''t really a > > viable option in Windows anyways). > > > > I''d like to see your /var/log/xen/qemu.<pid>.log (the > > one for the > > qemu-dm running at the time when you start w2k3-001). > > > > Also check "xm dmesg" to see if it''s got any errors... > > > > -- > > Mats > > > xenconsole: Could not read tty from store: No such > > file or directory > > > > > > Thanks, Dror > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dror,>From looking at your#xm dmesg its clear that your domU guest never starts! You have some lines in your config that are stopping it from starting. To start worrying about connecting with VNC is premature -- get back to basics of Xen and get the guest to launch first. cheers, Mark dror shenkar <dror.shenkar@gmail.com> wrote: how do i connect to the windows domain using vnc? the vncserver is running and i can connect to dom0 (vncviewer ip:1). however i don''t know how to connect to the guest domain i''ve just created. i''ve tried vncviewer ip:domid but i get an error (Unable to connect to VNC server) Thanks, Dror On 5/16/07, Petersson, Mats <Mats.Petersson@amd.com> wrote:> -----Original Message----- > From: dror shenkar [mailto: dror.shenkar@gmail.com] > Sent: 16 May 2007 14:13 > To: Petersson, Mats; xen-users@lists.xensource.com > Subject: Re: [Xen-users] problems creating wondows 2003 guest > > so how am i supposed to install windows guest if i can''t > switch to its console?Well, you use the VNC/SDL window. As far as I know, you can''t install Windows without a graphics card and a monitor connected to it either, so that''s the same sort of case.> > i don''t find any qemu.<pid>.log in my systemNo /var/log/xen/qemu*.log at all? That''s bad [or they are somewhere else!] I usually have hundreds (or thousands - I cleaned out 4000+ this morning!) of them.> > i don''t see anything wrong in xm dmesg (attahced screen.log)No, neither do I. -- Mats> > Thanks, Dror > > On 5/16/07, Petersson, Mats < Mats.Petersson@amd.com> wrote: > > > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > <mailto:xen-users-bounces@lists.xensource.com> > > [mailto: xen-users-bounces@lists.xensource.com] On Behalf Of > > dror shenkar > > Sent: 16 May 2007 06:31 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] problems creating wondows 2003 guest > > > > I''m trying to create a windows 2003 guest. Now it seems that > > the guest was created, but it has no state, and i get an > > error when trying to switch to its console (see below). > > I also attached the log file containing the info logged > > during guest creation. > > Did anyone encounter this behavior? > > > > root@drors-xen:/guests# xm create w2k3.cfg > > Using config file "w2k3.cfg". > > Started domain w2k3-001 > > root@drors-xen:/guests # xm list > > Name ID Mem(MiB) VCPUs > > State Time(s) > > Domain-0 0 1439 2 > > r----- 143.1 > > w2k3-001 4 512 1 > > ------ 0.0 > > root@drors-xen:/guests# xm console 4 > > In general, xm console doesn''t work in fully > virtualized domains unless > you also set the OS to use serial port as console > (which isn''t really a > viable option in Windows anyways). > > I''d like to see your /var/log/xen/qemu.<pid>.log (the > one for the > qemu-dm running at the time when you start w2k3-001). > > Also check "xm dmesg" to see if it''s got any errors... > > -- > Mats > > xenconsole: Could not read tty from store: No such > file or directory > > > > Thanks, Dror > > > > > > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --------------------------------- Pinpoint customers who are looking for what you sell. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users