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

[Xen-devel] Problems with starting first virtual domain

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Problems with starting first virtual domain
From: "Tvrtko A. Uršulin" <tvrtko@xxxxxxxxxxxx>
Date: Mon, 10 Nov 2003 12:53:55 +0100
Delivery-date: Mon, 10 Nov 2003 11:56:21 +0000
Envelope-to: steven.hand@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
User-agent: KMail/1.5.1
Hello everybody,

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:~ # xenctl script -f/etc/xen-domain0
Domain defaults:
   name            XenoLinux
   size            65536
   vifs            1
   domainImage     /boot/xenolinux.gz
   domainInitRD    null
   rootDevice      /dev/hda6
   rootArgs        rw
   usrDevice       null
   NWIP            192.168.200.17+
   NWGW            192.168.200.1
   NWMask          255.255.255.0
   MaxDomainNumber 10
   NWNFSServer     null
   NWNFSRoot       null
   XIToolsDir      /usr/local/bin/
   args            init=/linuxrc 4 DOMID=+
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.

linux:~ # xenctl domain list
id: 0 (Domain-0)
  processor: 0
  has cpu: true
  state: 0 running
  mcu advance: 10
  total pages: 16384
id: 9 (XenoLinux)
  processor: 0
  has cpu: false
  state: 8 suspended
  mcu advance: 10
  total pages: 16384

linux:~ # cat /etc/xen-domain0
domain new
physical grant -p/dev/hda6
physical grant -p/dev/hda5
domain start

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>
<args>init=/linuxrc 4 DOMID=+</args>
<nw_ip>=+</nw_ip>
<nw_gw>=</nw_gw>
<nw_mask>=</nw_mask>
<max_domain_number>10</max_domain_number>
<xi_tools_dir>/usr/local/bin/</xi_tools_dir>
</domctl_defaults>



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