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] xenctl returning exceptions (half of the time!)

To: Bin Ren <br260@xxxxxxxxx>
Subject: Re: [Xen-devel] xenctl returning exceptions (half of the time!)
From: Matt Ayres <matta@xxxxxxxxxxxx>
Date: Sat, 15 Nov 2003 16:27:38 -0500
Cc: Devel Xen <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 15 Nov 2003 21:28:41 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <54F7F8EA-17AF-11D8-A3ED-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>
Organization: TekTonic
References: <1068850309.15247.18.camel@xxxxxxxxxxxxxxxxx> <57A7C644-16F7-11D8-B7D1-000A9576014E@xxxxxxxxx> <1068852455.15247.32.camel@xxxxxxxxxxxxxxxxx> <1068852843.15247.36.camel@xxxxxxxxxxxxxxxxx> <119B3A51-16FD-11D8-B7D1-000A9576014E@xxxxxxxxx> <1068854061.15247.42.camel@xxxxxxxxxxxxxxxxx> <0E569586-16FF-11D8-B7D1-000A9576014E@xxxxxxxxx> <1068855263.15247.49.camel@xxxxxxxxxxxxxxxxx> <2F821247-1702-11D8-B7D1-000A9576014E@xxxxxxxxx> <1068929575.15247.61.camel@xxxxxxxxxxxxxxxxx> <54F7F8EA-17AF-11D8-A3ED-000A9576014E@xxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
I do have that. 

[root@xen root]# cat /etc/xenctl.xml
<?xml version="1.0"?>
<domctl_defaults>
<domain_name>XenoLinux</domain_name>
<domain_size_kb>8192</domain_size_kb>
<domain_image>/boot/xenolinux.gz</domain_image>
<domain_vifs>1</domain_vifs>
<root_device>/dev/sda2</root_device>
<root_args>ro</root_args>
<args>init=/linuxrc 4 DOMID=+</args>
<nw_ip>169.254.1.0+</nw_ip>
<nw_gw>169.254.1.0</nw_gw>
<nw_mask>255.255.0.0</nw_mask>
<nw_nfs_server>169.254.1.0</nw_nfs_server>
<max_domain_number>128</max_domain_number>
<xi_tools_dir>/install/bin/</xi_tools_dir>
</domctl_defaults>

I'm using the default xen-mynewdom script.


[root@xen root]# cat /etc/xen-mynewdom
domain new
physical grant -psda2
domain start

[root@xen root]# xenctl script -f/etc/xen-mynewdom
Domain defaults:
   name            XenoLinux
   size            8192
   vifs            1
   domainImage     /boot/xenolinux.gz
   domainInitRD    null
   rootDevice      /dev/sda2
   rootArgs        ro
   usrDevice       null
   NWIP            169.254.1.0+
   NWGW            169.254.1.0
   NWMask          255.255.0.0
   MaxDomainNumber 128
   NWNFSServer     169.254.1.0
   NWNFSRoot       null
   XIToolsDir      /install/bin/
   args            init=/linuxrc 4 DOMID=+
Domain created with arguments:
/install/bin/xi_create 8192 XenoLinux
Domain built with arguments:
/install/bin/xi_build 1 /tmp/xen-image-4893.tmp 1
ip=169.254.1.1:169.254.1.0:169.254.1.0:255.255.0.0::eth0:off
init=/linuxrc 4 DOMID=1  root=/dev/sda2 ro
VIF 0 initialized with arguments:
/install/bin/xi_vifinit 1 0 169.254.1.1
Granted physical access to domain 1
Granted physical access to domain 1
Started domain 1

Still outputs:

[1] root_device_name = sda2
[1] VFS: Cannot open root device "sda2" or 08:02
[1] Please append a correct "root=" boot option
[1] Kernel panic: VFS: Unable to mount root fs on 08:02


The only place where it is just "sda2" in the physical grant line, and
that is the format which it requires.

On Sat, 2003-11-15 at 16:04, Bin Ren wrote:
> On 15 Nov 2003, at 20:52, Matt Ayres wrote:
> 
> > 18] Kernel command line:
> > ip=192.168.1.51:169.254.1.0:192.168.1.1:255.255.0.0: 
> > test1.office.tektonic.net:eth0:off init=/linuxrc  root=/dev/sda2 ro
> > ...
> > [18] root_device_name = sda2
> > [18] VFS: Cannot open root device "sda2" or 08:02
> > [18] Please append a correct "root=" boot option
> > [18] Kernel panic: VFS: Unable to mount root fs on 08:02
> 
> It's in the /etc/xenctl.xml. You should use /dev/sda2, not 'sda2'.
> 
> 
> 
> -------------------------------------------------------
> This SF. Net email is sponsored by: GoToMyPC
> GoToMyPC is the fast, easy and secure way to access your computer from
> any Web browser or wireless device. Click here to Try it Free!
> https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel
-- 
Matt Ayres <matta@xxxxxxxxxxxx>
TekTonic



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>