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

Re: [Xen-devel] Problems with starting first virtual domain

To: Bin Ren <br260@xxxxxxxxx>
Subject: Re: [Xen-devel] Problems with starting first virtual domain
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 11 Nov 2003 12:16:36 +0000
Cc: " " Tvrtko A. Uršulin " " <tvrtko@xxxxxxxxxxxx>, Devel Xen <xen-devel@xxxxxxxxxxxxxxxxxxxxx>, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Tue, 11 Nov 2003 12:17:26 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Tue, 11 Nov 2003 11:56:46 GMT." <1FCC435C-143E-11D8-84A2-000A9576014E@xxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> On 11 Nov 2003, at 11:51, Tvrtko A. Ur?ulin wrote:
> 
> > linux:~ # cat /etc/xen-domain1
> > domain new
> > physical grant -phda6
> > physical grant -phda5
> > domain start
> 
> Delete the two lines containing "physical".
> You just need:
> domain new
> domain start

Tvrtko is using hda6 as root and hda5 as swap so he'll need the
two physical grant lines in his script file.
 
 
> > <args>init=/linuxrc 4 DOMID=+</args>
> 
> Try deleting this line.

I believe Tvrtko is using a file system based on the contents of
the CD. Assuming he untar'ed root.tar.gz and then copied the
contents of the CD into the usr partition, then setting
init=/linuxrc will indeed break things. 

> Make sure xen_read_console is running background:
> 
> # xen_nat_enable
> # xen_read_console &
> # ps aux | grep xen

The domain may be exiting quickly because it can't find the
"init" command.  It should be sending stuff to xen_read_console
(and the serial line if you have one configured).

If you're not getting output from xen_read_console, check that
you have the eth0:0 alias, and that you've got no firewall rules
in domain 0 that block the ports used by the console packets.

Ian


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel