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 suchfile o

To: "'Sadique Puthen'" <sputhenp@xxxxxxxxxx>, <deshantm@xxxxxxxxx>
Subject: RE: [Xen-users] xenconsole: Could not read tty from store: No suchfile or directory
From: "Hamid Majidy" <hamid@xxxxxxxxxxxxxxx>
Date: Thu, 7 Feb 2008 14:19:26 -0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 07 Feb 2008 14:20:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47AB464F.3020704@xxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchpstPidwnzkD1GTSqtwXQEUaOVrgAIm2Wg

Thank you, Sadique, Todd & Tait for your helpful suggestions. Unfortunately I am still having the same issue, despite all of your suggestions.

 

Here's a summary of changes:

1. added console=ttyS0 to kernel line of /boot/grub/grub.conf (Sadique)

2. added "co:2345:respawn:/sbin/agetty ttyS0 9600 vt100-nav" to /etc/inittab (Sadique)

3. rebooted server (common sense)

4. installed LibVNCServer-0.9.1 (Todd)

5. enabled vnc params in guest VM config file (Todd, Tait)

 

Also changed disk configuration, as the physical disk subsystem is SAS, so I though it might have an issue since the system has no /dev/hd* drivers present.

 

Now I have in /etc/xen/clientdom:

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

>

>

>

[root@auntie xen]# cat /etc/xen/clientdom

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

>

>

>

device_model = "/usr/lib/xen/bin/qemu-dm"

sdl = 0

vnc = 1

vncviewer = 1

vncdisplay = "5900"

disk = [ "phy:/dev/VolGroup00/client,ioemu:sda,w","file:/tmp/Centos5.1.iso,sdb:cdrom,r" ]

vif = [ "mac=00:16:3e:57:66:7d,bridge=xenbr0" ]

serial = "pty"

 

But I still get "xenconsole: Could not read tty from store: No such file or directory" upon "xm console clientdom".

 

When I start guest with "xm create clientdom", I get:

xm create clientdom

Using config file "./clientdom".

VNC= 3

Started domain clientdom

 

But when I try to connect to it with "vncviewer 192.168.122.1:5900" I get:

VNC Viewer Free Edition 4.1.2 for X - built Mar 14 2007 22:51:02

Copyright (C) 2002-2005 RealVNC Ltd.

See http://www.realvnc.com for information on VNC.

vncviewer: unable to open display ""

 

Any ideas? All feedback greatly appreciated.

 

Thanks,

Hamid.

 

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Sadique Puthen
Sent: Thursday, February 07, 2008 9:57 AM
To: deshantm@xxxxxxxxx
Cc: Hamid Majidy; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xenconsole: Could not read tty from store: No suchfile or directory

 

Todd Deshane 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.

 

This may be true for windows, but Linux hvm guests really supports

consoles through serial consoles.

 

For fully virt (Linux): ---

 

Edit guest configuration file and add "serial = pty"

 

Then edit guest grub.conf file and add console=ttyS0 to kernel line  and

add "co:2345:respawn:/sbin/agetty ttyS0 9600 vt100-nav" to your

/etc/inittab.

 

--Sadique

> 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.

> 

> 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

>> 

>> >

>> 

>> >

>> 

>> >

>> 

>> 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

> 

>  

 

 

_______________________________________________

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