WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

Re: [XenPPC] [linux-ppc-2.6] [XEN] The VIO rewrite


On Nov 8, 2006, at 9:57 AM, Jimi Xenidis wrote:


On Nov 4, 2006, at 12:35 PM, poff wrote:

Here's this patch on JS20, with 192mb Dom0, 512mb total:

Hmm, so a 512MiB machine?

arch_gnttab_map: grant table at d000080082016000
setup_grant_area: mempool_create(): failed
kernel BUG in setup_grant_area at /home/poff/linux-ppc-2.6-work.hg/ arch/powerpc/platforms/xen/gnttab.c:420!
cpu 0x0: Vector: 700 (Program Check) at [c000000000a3fa50]
    pc: c000000000043fc0: .arch_gnttab_map+0x1bc/0x254
    lr: c000000000043fbc: .arch_gnttab_map+0x1b8/0x254
    sp: c000000000a3fcd0
   msr: 8000000000028032
  current = 0xc000000000a31800
  paca    = 0xc00000000052e300
    pid   = 1, comm = swapper
kernel BUG in setup_grant_area at /home/poff/linux-ppc-2.6-work.hg/ arch/powerpc/platforms/xen/gnttab.c:420!
enter ? for help
0:mon>


Hmm, ok.. I wonder why it failed?
I'm such a lazy @ss when I use BUG() all the time, I really did not expect mempool to ever have a memory issue.
I'll see if I can replicate by forcing my dom0 to this size.

Hmm.. I capped my Dom0 to 192M and 64M and it worked fine. The only reason that mempool_create() can fail is if an underlying kmalloc failed, I don't think that we are trying to get so much memory.

Hey! did you update Xen as well? because the number of pages was way too large before.
-JX

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel