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:40:29 -0500
Cc: Devel Xen <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 15 Nov 2003 21:42:37 +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'm not sure if you saw the mail where I pasted the xenctl.xml config
file and the defaults.  If you look you'll see in both places it shows
"/dev/sda2". 

[root@xen root]# cat /etc/xenctl.xml | grep root
--> <root_device>/dev/sda2</root_device>
<root_args>ro</root_args>
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 2 /tmp/xen-image-14976.tmp 1
ip=169.254.1.2:169.254.1.0:169.254.1.0:255.255.0.0::eth0:off 
--> init=/linuxrc 4 DOMID=2  root=/dev/sda2 ro
VIF 0 initialized with arguments:
/install/bin/xi_vifinit 2 0 169.254.1.2
Granted physical access to domain 2
Granted physical access to domain 2


Everything points to /dev/sda2.  The config file, the defaults, and the
kernel "root" argument.  I have no idea where it's getting the "sda2",
which is why i'm asking here.  I've put arrows in front of every line
where it references sda2, all have /dev/ prefixed.


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