What is the reason for this error ? # xm create -c test-user189.cfg Using config file "/etc/xen/test-user189.cfg". Error: (12, ''Cannot allocate memory'') According to xentop I there is about 14GB of memory available. It is amd64 system (running in 64bit mode). Where should I look into ? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Did you compile Dom0 kernel with XEN_TARGET_X86_PAE=y ? On 5/31/06, Yura Pismerov <y.pismerov@armorware.net> wrote:> > What is the reason for this error ? > > # xm create -c test-user189.cfg > Using config file "/etc/xen/test-user189.cfg". > Error: (12, ''Cannot allocate memory'') > > According to xentop I there is about 14GB of memory available. > It is amd64 system (running in 64bit mode). Where should I look into ? > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
just a shot in the dark, but maybe you could try using xm mem-set and lowering Dom0''s memory usage a bit before launching the DomU?? I know that xen is supposed to dynamically allocate the memory as DomUs launch, but maybe something is wrong that is preventing that from happening? Jeff On 5/31/06, Yura Pismerov <y.pismerov@armorware.net> wrote:> > What is the reason for this error ? > > # xm create -c test-user189.cfg > Using config file "/etc/xen/test-user189.cfg". > Error: (12, ''Cannot allocate memory'') > > According to xentop I there is about 14GB of memory available. > It is amd64 system (running in 64bit mode). Where should I look into ? > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- ------------------> Jeffrey Lane - W4KDH <------------------- www.jefflane.org Another cog in the great Corporate Wheel The internet has no government, no constitution, no laws, no rights, no police, no courts. Don''t talk about fairness or innocence, and don''t talk about what should be done. Instead, talk about what is being done and what will be done by the amorphous unreachable undefinable blob called "the internet user base." -Paul Vixie _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Good shot! I''ve never used that feature and always allocate 196-256 MB of RAM to Dom0 doesn''t matter how much memory the box has. On 5/31/06, Jeff Lane <sundowner225@gmail.com> wrote:> just a shot in the dark, but maybe you could try using xm mem-set and > lowering Dom0''s memory usage a bit before launching the DomU?? I know > that xen is supposed to dynamically allocate the memory as DomUs > launch, but maybe something is wrong that is preventing that from > happening? > > Jeff > > On 5/31/06, Yura Pismerov <y.pismerov@armorware.net> wrote: > > > > What is the reason for this error ? > > > > # xm create -c test-user189.cfg > > Using config file "/etc/xen/test-user189.cfg". > > Error: (12, ''Cannot allocate memory'') > > > > According to xentop I there is about 14GB of memory available. > > It is amd64 system (running in 64bit mode). Where should I look into ? > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > -- > ------------------> Jeffrey Lane - W4KDH <------------------- > www.jefflane.org > Another cog in the great > Corporate Wheel > > The internet has no government, no constitution, no laws, no > rights, no police, no courts. Don''t talk about fairness or > innocence, and don''t talk about what should be done. Instead, > talk about what is being done and what will be done by the > amorphous unreachable undefinable blob called "the internet > user base." -Paul Vixie > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Serge Dubrouski wrote:> Did you compile Dom0 kernel with XEN_TARGET_X86_PAE=y ?No, it is pure 64bit setup (kernel and userland).> > On 5/31/06, Yura Pismerov <y.pismerov@armorware.net> wrote: >> >> What is the reason for this error ? >> >> # xm create -c test-user189.cfg >> Using config file "/etc/xen/test-user189.cfg". >> Error: (12, ''Cannot allocate memory'') >> >> According to xentop I there is about 14GB of memory available. >> It is amd64 system (running in 64bit mode). Where should I look into ? >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Yuri Pismerov, System Administrator Armor Technologies (Canada) Inc. P: 905 305 1946 (x.3519) http://www.armorware.net Privacy Protection Guaranteed! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sorry, didn''t pay attention that it''s 64 bit system. I would try to use fixed amount of memory for Dom0 (dom0_mem=nnnM in the boot kernel record) On 5/31/06, Yura Pismerov <y.pismerov@armorware.net> wrote:> Serge Dubrouski wrote: > > Did you compile Dom0 kernel with XEN_TARGET_X86_PAE=y ? > > No, it is pure 64bit setup (kernel and userland). > > > > > On 5/31/06, Yura Pismerov <y.pismerov@armorware.net> wrote: > >> > >> What is the reason for this error ? > >> > >> # xm create -c test-user189.cfg > >> Using config file "/etc/xen/test-user189.cfg". > >> Error: (12, ''Cannot allocate memory'') > >> > >> According to xentop I there is about 14GB of memory available. > >> It is amd64 system (running in 64bit mode). Where should I look into ? > >> > >> > >> _______________________________________________ > >> Xen-users mailing list > >> Xen-users@lists.xensource.com > >> http://lists.xensource.com/xen-users > >> > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > -- > Yuri Pismerov, System Administrator > Armor Technologies (Canada) Inc. > > P: 905 305 1946 (x.3519) > http://www.armorware.net > > Privacy Protection Guaranteed! > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Removing line "vcpus=8" from the virtual machines config files eliminated the problem. Weird.. Thanks everybody. Serge Dubrouski wrote:> Good shot! I''ve never used that feature and always allocate 196-256 MB > of RAM to Dom0 doesn''t matter how much memory the box has. > > On 5/31/06, Jeff Lane <sundowner225@gmail.com> wrote: >> just a shot in the dark, but maybe you could try using xm mem-set and >> lowering Dom0''s memory usage a bit before launching the DomU?? I know >> that xen is supposed to dynamically allocate the memory as DomUs >> launch, but maybe something is wrong that is preventing that from >> happening? >> >> Jeff >> >> On 5/31/06, Yura Pismerov <y.pismerov@armorware.net> wrote: >> > >> > What is the reason for this error ? >> > >> > # xm create -c test-user189.cfg >> > Using config file "/etc/xen/test-user189.cfg". >> > Error: (12, ''Cannot allocate memory'') >> > >> > According to xentop I there is about 14GB of memory available. >> > It is amd64 system (running in 64bit mode). Where should I look into ? >> > >> > >> > _______________________________________________ >> > Xen-users mailing list >> > Xen-users@lists.xensource.com >> > http://lists.xensource.com/xen-users >> > >> >> >> -- >> ------------------> Jeffrey Lane - W4KDH <------------------- >> www.jefflane.org >> Another cog in the great >> Corporate Wheel >> >> The internet has no government, no constitution, no laws, no >> rights, no police, no courts. Don''t talk about fairness or >> innocence, and don''t talk about what should be done. Instead, >> talk about what is being done and what will be done by the >> amorphous unreachable undefinable blob called "the internet >> user base." -Paul Vixie >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Yuri Pismerov, System Administrator Armor Technologies (Canada) Inc. P: 905 305 1946 (x.3519) http://www.armorware.net Privacy Protection Guaranteed! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users