[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

[root@xen root]# cat /etc/xenctl.xml | grep root
--> <root_device>/dev/sda2</root_device>
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
   MaxDomainNumber 128
   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
--> init=/linuxrc 4 DOMID=2  root=/dev/sda2 ro
VIF 0 initialized with arguments:
/install/bin/xi_vifinit 2 0
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= 
> > 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>

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!
Xen-devel mailing list



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