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

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



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


 


Rackspace

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