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: AW: [Xen-users] DomU freezes during boot

To: Andrew Kilham <andrew@xxxxxxxxxxxxxx>
Subject: Re: AW: [Xen-users] DomU freezes during boot
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Tue, 31 Mar 2009 07:30:15 -0700 (PDT)
Cc: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 31 Mar 2009 07:31:05 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1238509815; bh=LC2G1IQaVTusrFvgdPcafbOdkIgsNdb41S766RJ6K00=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=s4cAR4Z8d2Vml5Ux3Uc8ToXg/XTqX6ZKBnwMxH2MfqldZuKPNcFtJSLnLEKdmdKeWTmDz7MJp3ziTgAI9ZbdL2weWW/9BE/SUEfWMicNFu1V4BjUXucMRPeibwNEfkpvotffDBhmxEbFZtai7LoH/XsmfKQvgmP0ZkZ/Ooy9NKc=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=PAC5pUDVgE4GEQFIXJhu1ok4nN7sRBwQX9BlqV8CA1l1byN6J/0K6axMIFLvZsle2SlQtKdTeN//stpK+YF/u16zSIZyuYoEAbyQipyijdL6O8VRUg7euTtE/o+9iiZz61qxT//InJa/aKMZBdFcNfLtrWIdq8ehGYyqlZdD9eY=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49D1FFAD.2040203@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/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>
Reply-to: bderzhavets@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Andrew,

  As i have noticed two times your mistake when creating PV DomU via virt-install is well known:-

************************************************************************************
--location <-l>  should point to NFS shared directory with loop mounted ISO image of
CentOS 5. 2 , NOT to path to ISO image itself.
************************************************************************************

That is what Red Hat Inc. and Sun Inc. taught customers to do for several years already.

I've also twice wrote to you how to do that. You can also view it third time:-

Insert your CentOS 5 DVD in the drive. Run "df -h" to find out what mount point is.  Suppose, it is /dev/hde

# dd if=/dev/hde of=/etc/xen/disks/CentOS5.iso
# dd if=/dev/zero of=/etc/xen/images/CentOS5.img  bs=1024k count=12000
# mkdir  -p /mnt/tmp
# mount -o loop,ro   /etc/xen/disks/CentOS5.iso    /mnt/tmp

Edit /etc/exports and add the line:-
/mnt/tmp
Restart Service "nfsd"

In other words make /mnt/tmp NFS shared directory at your local machine.
Run :-
# ifconfig
to find out your IP address (IP-Dom0) and run

# virt-install -n CentOS5PV -r 1024  -p  -f /etc/xen/images/CentOS5.img \
      -l   nfs:IP-Dom0:/mnt/tmp

However with Xen Hypervisor 3.3 you might have reissue
# vncviewer localhost:0
several times during installation procedure, to get reconnected
Be sure it's there on display 0 ( port 5900 ) .

Virt-install option <--nographics>  will allow you to get text mode install.

When graphical install gets done:-
# xm start CentOS5PV
# vncviewer localhost:0

When text mode install gets done :-
# xm start -c CentOS5PV

Personally, i have never suggested  you to run rinse & xen-tools on system
with virt-install ready to go.
The other person did. Keep track of your threads

Regards.
B.

--- On Tue, 3/31/09, Andrew Kilham <andrew@xxxxxxxxxxxxxx> wrote:
From: Andrew Kilham <andrew@xxxxxxxxxxxxxx>
Subject: Re: AW: [Xen-users] DomU freezes during boot
To: bderzhavets@xxxxxxxxx
Cc: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Date: Tuesday, March 31, 2009, 7:34 AM

Hmm, someone told me the other day that I should be using xen-tools and rinse, and NOT virt-install (see http://lists.xensource.com/archives/html/xen-users/2009-03/msg00742.html).

So which one should I use and why? And if I should be using virt-install, can someone please take a look at my initial problem that I still haven't fixed in the above thread? :p

Cheers,

Andrew


Boris Derzhavets wrote:
Sure,  getting this rinse bug fixed you'll get login to DomU.
I just cannot understand why old fashioned style of PV DomUs
setup ( with all kind of debootstrap's fun) seems so attractive on the system having virt-install ready to go.
Please, advise. Where i am wrong ?

Boris.

--- On Tue, 3/31/09, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
From: Fajar A. Nugraha <fajar@xxxxxxxxx>
Subject: Re: AW: [Xen-users] DomU freezes during boot
To: "Andrew Kilham" <andrew@xxxxxxxxxxxxxx>
Cc: "Carsten Schiers" <carsten@xxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Date: Tuesday, March 31, 2009, 3:00 AM

On Mon, Mar 30, 2009 at 8:00 PM, Andrew Kilham
<andrew@xxxxxxxxxxxxxx>
wrote:
> Here is my complete /etc/inittab file on domU:

> # Run gettys in standard runlevels
> 1:2345:respawn:/sbin/mingetty tty1

> Nothing like the line you said. Should I add it in exactly as you typed
it?

Yup. Put it before the line "1:2345:respawn:" ...
I think what happens is your domU boots succesfully, but it does not
display any login prompt on console (which is xvc0).

Oh and you should also add "xvc0" to /etc/securetty.

Regards,

Fajar.

_______________________________________________
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



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.238 / Virus Database: 270.11.33/2031 - Release Date: 03/30/09 17:56:00


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