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] error starting xen guest

To: dinesh chandrasekaran <dinesh_chan8@xxxxxxxxxxx>
Subject: Re: [Xen-users] error starting xen guest
From: Todd Deshane <deshantm@xxxxxxxxx>
Date: Thu, 22 Jan 2009 15:59:02 -0500
Cc: xen users community <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 22 Jan 2009 12:59:49 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=cqAhQc+uSVdDf3P6/J4gGwtiYxnDbvJrqHUHaT36YOY=; b=Mhz8CBCvQAzU0gqPMmeco7gK/4oPWSN1x9te2aaoaD4VyZH7ns7th0SqDL2Pv1fvU/ 5utPzt2cG8EnJUgcWws2sJW7vb1x4cfcUWWHzoJFztSomxrAakvZDMEnhoR9APuxw/sc DWQXJFMexnhlOTUPhnjQSs3ZNXeNpe0+QKABc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=R4B0KOwjTnQ5/3bREQ4WZQE4oqTPymWVNpE3LUl1HGs9aeEUjaqRYj5uQ7/aKpY0PJ ZJyVEUoV8Omd/+Si2QJq2caAQc06gdqsdp7pTjhpqm2LQ9EbSh9a3Y4OsH1YedWjHBwj 0M1JAMWid0z3puhR8Zbs5doh/I3PzS6S4E1GY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <COL107-W587DE92051A4DD9679CDEB1CE0@xxxxxxx>
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: <COL107-W587DE92051A4DD9679CDEB1CE0@xxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Jan 22, 2009 at 11:44 AM, dinesh chandrasekaran
<dinesh_chan8@xxxxxxxxxxx> wrote:
> Hi Friends,
>                     I just installed xen/dom0 on my amd64 quad core phenom
> processor. dom0 boot up was successfull.
> When I used 'xm create -c /home/guest.conf' to create a xen guest, the guest
> screen hanged after "Starting local".
>
> Im not getting the login prompt. Please help me solve this. Im just one step
> away from a normal guest bootup.
>
> My guest fstab, config file and dmesg are as follows:
>
> FSTAB:
> /dev/hda        /        ext3        noatime        0 1
> #/dev/SWAP        none        swap        sw        0 0
> #/dev/cdrom        /mnt/cdrom    auto        noauto,ro    0 0
>
> shm            /dev/shm    tmpfs        nodev,nosuid,noexec    0 0
>
> CONFIG FILE:
> name="Guest"
> kernel="/boot/domU-Gentoo"
> memory="64"
> disk=['file:/home/vm1.raw,hda,w']
> root="/dev/hda ro console=xvc0"
> on_poweroff = 'restart'
> on_reboot = 'restart'
> on_crash = 'restart'
>

You should be able to add:
extra="xencons=tty"

you may also want/need to move the ro console=xvc0 into the extra
so it could be that you want
root='/dev/hda'
extra='ro console="xvc" xencons=tty'

You may also need to add a getty script for your xvc0 if it is not
already in your domU.

Hope that helps.

Cheers,
Todd

-- 
Todd Deshane
http://todddeshane.net
http://runningxen.com

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

<Prev in Thread] Current Thread [Next in Thread>