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

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



[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>
<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


Also, as far as my xi_create error.. it seems Xen will not over-allocate
memory?  Can you confirm this?  This server has 160MB of RAM.  Domain 0
is booted with 131072 of RAM.

[root@vpc root]# xi_create 65535 test1
ERROR: Error when executing privileged control ioctl (1 = Operation not
permitted)
[root@vpc root]# xi_create 8192 test1
16
[root@vpc root]# xi_create 8192 test2
ERROR: Error when executing privileged control ioctl (1 = Operation not
permitted)

Even if that was the correct behavior, there should be 8MB free for
test1.
 

On Fri, 2003-11-14 at 18:48, Bin Ren wrote:
> On 14 Nov 2003, at 23:34, Matt Ayres wrote:
> 
> > root@vpc root]# xenctl script -f/etc/xen-mynewdom
> > Domain defaults:
> >    name            XenoLinux
> >    size            65535
> >    vifs            1
> >    domainImage     /boot/xenolinux.gz
> >    domainInitRD    null
> >    rootDevice      /dev/hda2
> >    rootArgs        ro
> >    usrDevice       null
> >    NWIP            192.168.1.200+
> >    NWGW            An unexpected exception has been detected in native 
> > code outside the VM.
> > Unexpected Signal : 11 occurred at PC=0x4009B37F
> > Function=__strtol_internal+0x60F
> > Library=/lib/i686/libc.so.6
> 
> 
> Very interesting. Looks when Java tries
> to print out NWGW IP address, strtol(..) functions oops.
> Please attach your /etc/xen-mynewdom and /etc/xenctl.xml
> 
> -- 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®.