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] Xen 3.1.4: HVM Configuration

To: "Alexander Hoßdorf" <xen-users@xxxxxxxxxxx>
Subject: Re: [Xen-users] Xen 3.1.4: HVM Configuration
From: "Omer Khalid" <Omer.Khalid@xxxxxxx>
Date: Fri, 22 Aug 2008 13:51:33 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 22 Aug 2008 04:52:14 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=mtlOkZhXkB/jyKCCMrnvODKjO9bfQRo/ppSAS/RVLSo=; b=rR6ne2lpaTGHyEmzGHKEJwKNKdulwvVyMkznJnmJn4NROlqnkWWbg1eWBlzitnxRtd 9QjXBIZVliyr37DiAaJkWfM4yWJchKoHJYHCz9hrS0atNyYX/BAMqzQZSaQ9tplbwOTE 0cvmboAsx4f6X6r25TQY1knMRq/gNh90BumHs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=ffrQzD92r5tudbr2vsY5JLfpQPWqlmTZDhlotDOB9+hN+SJbVOyWhnwcDx7XatO34m AuE5RoB/YVuqrrz756DZcnZ8bfI3uxJj2boGFQHQQRyBfg9s7F+XyghJ+Az8nckTC023 CN7dDfrjrsZXadw188tFore/MaLJ50ffs0v2s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48AEA464.2020108@xxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <77e5896b0808170851k2388ce2end4ebdc2d299e123b@xxxxxxxxxxxxxx> <1e16a9ed0808171742m58c7904bre03a607fb919b7f7@xxxxxxxxxxxxxx> <77e5896b0808210912gff5d2bbvd2f08623daa4e58d@xxxxxxxxxxxxxx> <1e16a9ed0808211106n60f8ca00g92c3fb291b6c9f38@xxxxxxxxxxxxxx> <77e5896b0808211341j46e3b25fycb3ba053f3a90da3@xxxxxxxxxxxxxx> <48AE6C7A.2060403@xxxxxxxxxx> <77e5896b0808220251k250ae975i7020e0b44a62259d@xxxxxxxxxxxxxx> <48AEA464.2020108@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello Alexander,

This is a server running RHEL4 with out any X Server or Graphics layer. And I only access this server and the VM's on it through SSH Command line! That's why :-)

Cheers
Omer

On Fri, Aug 22, 2008 at 1:35 PM, Alexander Hoßdorf <xen-users@xxxxxxxxxxx> wrote:
#Unfortunately, I don't have the VNC for this

#machine other wise i could have accessed the console through it.

Hi,
may I ask, why you aren't able to have vnc for this machine?

Cheers,
Alex


Omer Khalid schrieb:
Hello Sadique,

Thanks for your tip; i tried it by putting console=ttyS0 in the kernel line of HVM guest but the result is still the same. When I launch the guest with xm create -c or do xm console id, then after couple of space tabs- the console hangs. I can come out of it by Cntrl-]. It seems that its trying to retrieve the serial output but not getting as its not complaining any more about the xenconsole not configured properly...

Any more ideas? Due to lack of console/vnc, I am not able to debug why the network is not working for the VM as i cant SSH into. The problem could be either the network is not properly configured or the hvm guest never boots up....but to verify that I need the console access :-(((

Cheers
Omer

On Fri, Aug 22, 2008 at 9:36 AM, Sadique Puthen <sputhenp@xxxxxxxxxx <mailto:sputhenp@xxxxxxxxxx>> wrote:

   Omer Khalid wrote:
   > Hi Todd,
   >
   > I tried both xvc0 and hvc0 but it didn't work! I kept on getting the
   > same message "xenconsole: Could not read tty from store: No such
   file
   > or directory".
   >
   > But when I put <serial='pty'> in the vm config file; then the
   console
   > seems to start but hangs...And the only way out is Cntrl-].
   >
   > By looking at the xen mail archives, it seems that HVM based VM
   suffer
   > from this problem. Unfortunately, I don't have the VNC for this
   > machine other wise i could have accessed the console through it.
   >
   > Additionally, I also tried the following combinations in the vm
   config
   > file:
   >
   > <console="/dev/console">, <console="/dev/tty1">,
   <console="/dev/ttyS0">

   Try serial='pty' in the hvm config file and append "console=ttyS0" to
   the kernel line of the hvm guest, not in the vm config file.

   --Sadique

   >
   > I also tried the above combinations with the modifications to
   > /etc/inittab file for getty:
   >
   > co:2345:respawn:/sbin/agetty <ttyS0><console> 9600
   >
   > But no luck :((((
   >
   > Any ideas?
   >
   > Cheers
   > Omer
   >
   > On Thu, Aug 21, 2008 at 8:06 PM, Todd Deshane
   <deshantm@xxxxxxxxx <mailto:deshantm@xxxxxxxxx>
   > <mailto:deshantm@xxxxxxxxx <mailto:deshantm@xxxxxxxxx>>> wrote:
   >
   >     On Thu, Aug 21, 2008 at 12:12 PM, Omer Khalid
   >     <Omer.Khalid@xxxxxxx> wrote:
   >     > Hi,
   >     > I manage to configure my xen 3.1.4 HVM installation and launch
   >     the VM but
   >     > "xm console <id>" seem not to work! I have a HVM Linux guest
   >     running. The
   >     > error I get is following:
   >     > xenconsole: Could not read tty from store: No such file or
   directory
   >     > Is some thing missing in my configuration?
   >
   >     How is your Linux guest setup?
   >
   >     You will need the appropriate console specified on the kernel
   >     command line...
   >
   >     hvc or xvc, I forget which is which at the moment, but you
   should
   >     be able to
   >     search the mailing list archives for that (try
   xen.markmail.org <http://xen.markmail.org>
   >     <http://xen.markmail.org>)
   >     (One is for the older xen linux kernels and one is for the
   >     mainline xen linux
   >     kernels)
   >
   >     You will also want to make sure that the linux guest has the xen
   >     console support
   >     in it.
   >
   >     Hope that helps,
   >     Todd
   >
   >     --
   >     Todd Deshane
   >     http://todddeshane.net
   >     check out our book: http://runningxen.com
   >
   >
   >
   >
   > --
   > Omer
   >
   > -------------------------------------------------------
   > CERN -- European Organization for Nuclear
   > Research, IT Department, CH-1211,
   > Geneva 23, Switzerland
   >
   > Phone: +41 (0) 22 767 2224
   > Fax: +41 (0) 22 766 8683
   > E-mail : Omer.Khalid@xxxxxxx
   > Homepage: http://cern.ch/Omer.Khalid
   >
   ------------------------------------------------------------------------
   >
   > _______________________________________________
   > Xen-users mailing list
   > Xen-users@xxxxxxxxxxxxxxxxxxx <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx>

   > http://lists.xensource.com/xen-users




--
Omer

-------------------------------------------------------
CERN -- European Organization for Nuclear
Research, IT Department, CH-1211,
Geneva 23, Switzerland

Phone: +41 (0) 22 767 2224
Fax: +41 (0) 22 766 8683
E-mail : Omer.Khalid@xxxxxxx
Homepage: http://cern.ch/Omer.Khalid
------------------------------------------------------------------------

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

 




--
Omer

-------------------------------------------------------
CERN -- European Organization for Nuclear
Research, IT Department, CH-1211,
Geneva 23, Switzerland

Phone: +41 (0) 22 767 2224
Fax: +41 (0) 22 766 8683
E-mail : Omer.Khalid@xxxxxxx
Homepage: http://cern.ch/Omer.Khalid
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users