37 messages in com.xensource.lists.xen-develRe: [Xen-devel] xenctl returning exce...
FromSent OnAttachments
Matt Ayres14 Nov 2003 14:51 
Bin Ren14 Nov 2003 15:07 
Matt Ayres14 Nov 2003 15:27 
Matt Ayres14 Nov 2003 15:33 
Bin Ren14 Nov 2003 15:35 
Bin Ren14 Nov 2003 15:37 
Bin Ren14 Nov 2003 15:48 
Matt Ayres14 Nov 2003 15:54 
Bin Ren14 Nov 2003 16:02 
Matt Ayres14 Nov 2003 16:14 
Bin Ren14 Nov 2003 16:24 
Matt Ayres15 Nov 2003 12:52 
Bin Ren15 Nov 2003 13:04 
Matt Ayres15 Nov 2003 13:27 
Matt Ayres15 Nov 2003 13:40 
Bin Ren15 Nov 2003 13:45 
Bin Ren15 Nov 2003 15:55 
Bin Ren15 Nov 2003 16:00 
Matt Ayres15 Nov 2003 16:04 
Bin Ren15 Nov 2003 16:11 
Matt Ayres15 Nov 2003 16:16 
Bin Ren15 Nov 2003 16:23 
Matt Ayres15 Nov 2003 16:23 
Matt Ayres15 Nov 2003 16:24 
Matt Ayres15 Nov 2003 16:27 
Bin Ren15 Nov 2003 16:53 
Gregory Newby15 Nov 2003 22:31 
Keir Fraser16 Nov 2003 02:03 
Keir Fraser16 Nov 2003 02:03 
Matt Ayres16 Nov 2003 02:11 
Matt Ayres16 Nov 2003 02:15 
Matt Ayres16 Nov 2003 02:22 
Keir Fraser16 Nov 2003 02:30 
Keir Fraser16 Nov 2003 02:35 
Matt Ayres16 Nov 2003 02:36 
Keir Fraser16 Nov 2003 02:37 
Keir Fraser16 Nov 2003 02:39 
Subject:Re: [Xen-devel] xenctl returning exceptions (half of the time!)
From:Matt Ayres (mat@tektonic.net)
Date:11/14/2003 04:14:02 PM
List:com.xensource.lists.xen-devel

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

**************** 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 $*

As far as the nw_* directives I had before, I used the xenctl-publicip.xml sample file. This is a fairly new install of RedHat 9. The J2SE installed is j2sdk-1_4_2_02-linux-i586.rpm from Sun.

On Fri, 2003-11-14 at 19:02, Bin Ren wrote:

On 14 Nov 2003, at 23:54, Matt Ayres wrote:

[root@vpc root]# cat /etc/xenctl.xml <?xml version="1.0"?> <domctl_defaults> <domain_name>XenoLinux</domain_name> <domain_size_kb>65535</domain_size_kb> <domain_image>/boot/xenolinux.gz</domain_image> <domain_vifs>1</domain_vifs> <root_device>/dev/hda2</root_device> <root_args>ro</root_args> <args>init=/linuxrc 4 DOMID=+</args> <nw_ip>=+</nw_ip> <nw_gw>=</nw_gw> <nw_mask>=</nw_mask>

The last 3 lines should be:

<nw_ip>169.254.1.0+</nw_ip> <nw_gw>169.254.1.0</nw_gw> <nw_mask>255.255.0.0</nw_mask>

These are IP addresses for internal virtual network interfaces, has nothing to do with real IP address on your physical network interface

<nw_nfs_server>169.254.1.0</nw_nfs_server> <max_domain_number>10</max_domain_number> <xi_tools_dir>/install/bin/</xi_tools_dir> </domctl_defaults>

[root@vpc root]# cat /etc/xen-mynewdom domain new -ntest1 -k16384 -v1 -d/dev/hda2 -4192.168.1.201 -g192.168.1.1 -htest1.office.tektonic.net physical grant -p/dev/hda2 domain start -n1

It seems you have modified this file. Actually just 2 lines will do:

domain new domain start

Please try and post the result.

-- Bin