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: "Tvrtko A. Uršulin" <tvrtko@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Problems with starting first virtual domain
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 11 Nov 2003 14:45:56 +0000
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, Bin Ren <br260@xxxxxxxxx>, Devel Xen <xen-devel@xxxxxxxxxxxxxxxxxxxxx>, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Tue, 11 Nov 2003 14:46:50 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Tue, 11 Nov 2003 13:46:59 +0100." <200311111346.59171.tvrtko@xxxxxxxxxxxx>
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 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?

You should find that you have an /sbin/init on that partition as
per normal, so just delete the "init=/linuxrc"

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

> 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

Hmm, this looks OK. You really should be getting some console
output. What happens if you run "tcpdump host 169.254.1.0" when
starting a new domain?

Have you a serial line you could attach to see if you get output
there?

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