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: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, Bin Ren <br260@xxxxxxxxx>
Subject: Re: [Xen-devel] Problems with starting first virtual domain
From: "Tvrtko A. Uršulin" <tvrtko@xxxxxxxxxxxx>
Date: Tue, 11 Nov 2003 13:46:59 +0100
Cc: Devel Xen <xen-devel@xxxxxxxxxxxxxxxxxxxxx>, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Tue, 11 Nov 2003 12:49:33 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1AJXRl-0002AJ-00@xxxxxxxxxxxxxxxxxxxx>
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>
References: <E1AJXRl-0002AJ-00@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5.1
On Tuesday 11 November 2003 13:16, Ian Pratt wrote:

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

That is exactly what I did. So what should I use for init then?

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

I think this part is ok. Here is the output:

linux:~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:04:AC:A3:A9:3A
          inet addr:192.168.200.17  Bcast:192.168.200.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1979 errors:0 dropped:0 overruns:0 frame:0
          TX packets:401 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:197724 (193.0 Kb)  TX bytes:42609 (41.6 Kb)

eth0:0    Link encap:Ethernet  HWaddr 00:04:AC:A3:A9:3A
          inet addr:169.254.1.0  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

linux:~ # iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  169.254.0.0/16       anywhere
ACCEPT     all  --  anywhere             169.254.0.0/16     state 
NEW,RELATED,ESTABLISHED

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

linux:~ # ps auxw | grep xen
root       778  0.0  0.3  1340  240 pts/0    S    11:50   0:00 
xen_read_console


-- 
Croadria Internet usluge <http://www.croadria.com>
- Web hosting (Linux & Windows), E-commerce
Podrska: <http://podrska.croadria.com>
Tel: 01/4657 818, 01/4655 601     Fax: 01/4657 819



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