[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen 3.1.4: HVM Configuration


  • To: deshantm@xxxxxxxxx
  • From: "Omer Khalid" <Omer.Khalid@xxxxxxx>
  • Date: Fri, 22 Aug 2008 09:50:25 +0200
  • Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 22 Aug 2008 00:51:04 -0700
  • 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=tzxP1eSsTeJFCk58evd9WvNlwPx5qkojnT/zX/dfWYYL/5Sdr6rU+AI5z78xS1dbUo t6oKTxrove6Ks63kWUMKlsIptP2BDL2NEBEamgIHKHM7C3fYk/X2NoF17xySQJx/dzmf SPy7uRTaO1PuNw2fnkLdzYaS9c3js2evV9jTQ=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi Todd,

I am using a xen on a centre in our data centre with out any graphics support, so unfortuantely I can't use virt-manager nor CentOS as I need my results to be on the guest OS I am use.

Usually I access the VM's on my server, and it's network is also not working. I have been trying 2-prong approach to access the VM's; serial console and SSH. 

My VM is configured with the DHCP and i am using the following parameters to configure network in the configuration file:

hostname='lxb80v1.cern.ch'
#ip="128.xxx.xxx.xxx"
vif=['type=ioemu,bridge=xenbr0']
gateway= "128.xxx.1.1"
netmask = "255.255.0.0"

This works for PV based VM's but does not work for the HVM VM's. I am wondering if I am missing any specific step. If SSH start's working, then i can live without "xm console".

Thanks,
Omer





On Fri, Aug 22, 2008 at 2:17 AM, Todd Deshane <deshantm@xxxxxxxxx> wrote:
On Thu, Aug 21, 2008 at 4:41 PM, Omer Khalid <Omer.Khalid@xxxxxxx> 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">
> 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?

I've read that virt-manager does a good job of setting it up. Maybe try a CentOS
instance to compare with.

Cheers,
Todd

> Cheers
> Omer
> On Thu, Aug 21, 2008 at 8:06 PM, Todd Deshane <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)
>> (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
>



--
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
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.