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

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



I took the plunge and re-installed this server with RedHat 9.  I no
longer receive the Java exception errors.  I am having a problem with
the domains finding their root device.  I've tried to specify it
everywhere possible.

My script consists of:

domain new -ntest1 -k16768 -v1 -4192.168.1.51 -g192.168.1.1
-htest1.office.tektonic.net -d/dev/sda2 -tro root=/dev/sda2
-ainit=/linuxrc 4 DOMID=2
physical grant -psda2 -r
domain start

Everything starts up fine, but it cannot find the root device.  Here are
some snippets from the console:

[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


I've tried to specify "/dev/sda2" in as many places as possible, however
it keeps on trying to load just "sda2".  I am using xen-unstable as I am
testing under VMware and need the BusLogic SCSI support.

On Fri, 2003-11-14 at 19:25, Bin Ren wrote:
> On 15 Nov 2003, at 00:14, Matt Ayres wrote:
> 
> > Seems it comes back to the prior Java problem.
> >
> > [root@vpc docs]# xenctl script -f/etc/xen-mynewdom
> > Domain defaults:
> >    name            XenoLinux
> >    size            8192
> >    vifs            1
> >    domainImage     /boot/xenolinux.gz
> >    domainInitRD    null
> >    rootDevice      /dev/hda2
> >    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 21 /tmp/xen-image-11626.tmp 1
> > ip=169.254.1.21:169.254.1.0:169.254.1.0:255.255.0.0::eth0:off
> > init=/linuxrc 4 DOMID=21  root=/dev/hda2 ro
> > VIF 0 initialized with arguments:
> > /install/bin/xi_vifinit 21 0 169.254.1.21
> 
> Anyway, we nearly had our xencel scripts work. Just add one line
> to /etc/xen-mynewdom:
> 
> domain new
> physical grant -p/dev/hda2
> domain start
> 
> And then try again. See any further message after 
> /install/bin/xi_vifinit ..... ?
> 
> If you want to see XenoLinux boot message in the newly created domain,
> run as root:
> 
> xen_nat_enable
> xen_read_console&
> 
> before run 'xenctl'
> 
> >
> > ****************
> > Another exception has been detected while we were handling last error.
> > Dumping information about last error:
> > ERROR REPORT FILE = (N/A)
> > PC                = 0x40402f52
> > SIGNAL            = 11
> > FUNCTION NAME     = (N/A)
> > OFFSET            = 0xFFFFFFFF
> > LIBRARY NAME      = (N/A)
> > Please check ERROR REPORT FILE for further information, if there is 
> > any.
> > Good bye.
> > /install/bin/xenctl: line 13:  2997 Unknown signal 33       $JAVA $ARGS
> > -jar $(dirname $0)/xenctl-cmdline.jar $*
> 
> This is very weird.
> 
> Please first try the above to see whether the new domain starts running 
> or not.
> 
> -- Bin
> 
> 
> 
> -------------------------------------------------------
> 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®.