WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] xenconsole: Could not read tty from store: No such file

To: "Hamid Majidy" <hamid@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] xenconsole: Could not read tty from store: No such file or directory
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Thu, 7 Feb 2008 11:49:09 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 07 Feb 2008 08:49:40 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=jZ1yDiLWkoTxB1tUoFhcv/1bewBawgymM0Wa6fjDfok=; b=aLwFN9K7XPyvfdt0nu+R/LEcjUQm53wSXZEc1LXbGq3o+tBrbEsI42e7DeSIEVYHw1rkQjbC5RXe3cMwqwoZS+6twA4ldeBvFNshFTnqdo5MoggxWWscoW+pwkCXzeuJP+j6rvwAQxr1AbgQ7KanlMMw2jQQtMcb5dfPWbcQnbo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BGvhjXfRBvBvGYqCN0CQCrHyShNPmC/ZxOIDRylh9+DDhAikSt6Tw6ICsbi+DgbNHPSt/j8o6jmjxJ2TXZDVQsxb5LEaW8xJxTQdKtar0mj2D9+DPT3JEu3z/XACniTqv85apsoiQZhqQ3vvhkuYbmCF5vzeFkpRZtV9hcOQ4Fw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0802070847h66d5cebes42ba9581047c2a5a@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <E1JN0jh-0005fx-Nk@host-192-168-0-1-bcn-london> <1e16a9ed0802070847h66d5cebes42ba9581047c2a5a@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Feb 7, 2008 11:47 AM, Todd Deshane <deshantm@xxxxxxxxx> wrote:
> Hi,
>
> On Feb 7, 2008 1:58 AM, Hamid Majidy <hamid@xxxxxxxxxxxxxxx> wrote:
> >
> >
> >
> >
> > Hello Xen user list. This is to request installation help for a Xen 3.1
> > guest domain. Xen installation source was CentOS 5.1 DVD. Dom0 and a guest
> > (clientdom) have been installed, but clientdom cannot be connected to.
> > Issuing command "xm create -c clientdom" generates message lines:
> >
> >   Using config file "./clientdom".
> >
> >   Started domain clientdom
> >
> >   xenconsole: Could not read tty from store: No such file or directory
> >
> > "xen top" shows clientdom (as well as Domain-0) started, but "xm console
> > clientdom" produces the same error, "xenconsole: Could not read tty from
> > store: No such file or directory."
> >
> >
>
> HVM guests as far as I know don't yet support consoles. You should use
> either sdl=1 or vnc=1.
>
> If you use vnc you should make sure that xen-config.sxp has the vnc
> options enabled and configured to your liking. You may also need to
> manually start the vncviewer to see the guest console. The default
> setting when enabled let's you do vncviewer localhost.
>

Also, don't pass the -c on the command line, since you can't get an
initial (text) console with the HVM guest.


> Regards,
> Todd
>
>
> >
> > Here's my clientdom file:
> >
> > name = "clientdom"
> >
> > uuid = "6bf7a6a0-d5c6-463e-a395-6d689a1819c5"
> >
> > maxmem = 256
> >
> > memory = 256
> >
> > vcpus = 1
> >
> > builder = "hvm"
> >
> > kernel = "/usr/lib/xen/boot/hvmloader"
> >
> > boot = "d"
> >
> > pae = 1
> >
> > acpi = 1
> >
> > apic = 1
> >
> > on_poweroff = "destroy"
> >
> > on_reboot = "restart"
> >
> > on_crash = "restart"
> >
> > device_model = "/usr/lib/xen/bin/qemu-dm"
> >
> > sdl = 0
> >
> > vnc = 0
> >
> > vncunused = 0
> >
> > vncdisplay = "-5900"
> >
> > disk = [
> > "phy:/dev/VolGroup00/client,hda,w","file:/tmp/Centos5.1.iso,hdb:cdrom,r" ]
> >
> > #vif = [ "mac=00:16:3e:57:66:7d,bridge=xenbr0,type=ioemu" ]
> >
> > vif = [ "mac=00:16:3e:57:66:7d,bridge=xenbr0" ]
> >
> > serial = "pty"
> >
> >
> >
> > Several instances of the symptom have been encountered before, due to
> > incorrect locations for hvmloader and qemu-dm, which seem to be in the
> > correct locations in this case (/usr/lib/xen/boot & /usr/lib/xen/bin
> > respectively).
> >
> >
> >
> > Has anyone else run into this and resolved it? Any advice greatly
> > appreciated.
> >
> >
> >
> > Regards,
> >
> > Hamid.
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> >
>

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