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: Mon, 10 Nov 2003 21:48:31 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Mon, 10 Nov 2003 21:49:26 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Mon, 10 Nov 2003 12:53:55 +0100." <200311101253.55802.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
> After installing an e100 NIC, my system now boots fine. However, I am unable 
> to start the first virtual domain. Here comes the relevant output:
> 
> /dev/hda6 is indeed a valid root filesystem, while /dev/hda5 is a swap 
> partition. Both are dedicated for the new domain.

> linux:~ # cat /etc/xenctl.xml
> <?xml version="1.0"?>
> <domctl_defaults>
> <domain_name>XenoLinux</domain_name>
> <domain_size_kb>65536</domain_size_kb>
> <domain_image>/boot/xenolinux.gz</domain_image>
> <domain_vifs>1</domain_vifs>
> <root_device>/dev/hda6</root_device>
> <root_args>rw</root_args>

You probably want root_args set to "ro", otherwise fsck will
complain. 

> <args>init=/linuxrc 4 DOMID=+</args>

Assuming you've installed hda6 with a standard linux
installation, you probably don't want to explicit set the init
program, or the run level

e.g. <args>DOMID=+</args>

> <nw_ip>=+</nw_ip>

This will set the IP address to dom0's IP address plus the
current domainID. You might want to set this to a fixed value.

> Domain created with arguments:
> /usr/local/bin/xi_create 65536 XenoLinux
> Domain built with arguments:
> /usr/local/bin/xi_build 9 /tmp/xen-image-63036.tmp 1 
> ip=192.168.200.26::192.168.200.1:255.255.255.0::eth0:off init=/linuxrc 4 
> DOMID=9  root=/dev/hda6 rw
> VIF 0 initialized with arguments:
> /usr/local/bin/xi_vifinit 9 0 192.168.200.26
> Granted physical access to domain 9
> warning: state file not found [/var/lib/xen/vdstate.xml]
> Partition /dev/hda6 (resolved to /dev/hda6) does not exist.

I don't like the look of this last line -- its definitely the
primary cause of your problems.

What version of Xen/Xenolinux are you using? What's the contents of
/proc/xeno/blkdev_info ?

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