[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xenctl returning exceptions (half of the time!)



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.