Tanish Srivastava
2011-May-13 04:25 UTC
[Xen-users] XEN Dom 0 boot and Out of Memory issue
Hi all, Recently I build XEN 4.1 (from the xen.org) on centIOS 5.5 (kernel 2.6.38.4). After changing the grub file and rebooting the machine, I am continuously getting out of memory error. The content of my grub file: default=0 timeout=5 serial --unit=0 --speed=115200 terminal --timeout=10 console serial splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.38.4) root (hd0,0) kernel /vmlinuz-2.6.38.4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.38.4.img title CentOS (2.6.38-xen0) root (hd0,0) kernel /xen-4.1.0.gz loglvl=all dom0_mem=512m guest_loglvl=all vga=ask,keep apic_verbosity=debug,verbose rhgb module /vmlinuz-2.6.38.4 ro root=/dev/VolGroup00/LogVol00 earlyprintk=xen console=ttyS0 nomodeset module /initrd-2.6.38.4.img The machine boots normally in CenOS (2.6.38.4). I am not ale to attach the log of the serial console. A snippet from the log file: CentOS release 5.5 (Final) Kernel 2.6.38.4 on an x86_64 xen109.itpl login: Xorg invoked oom-killer: gfp_mask=0x0, order=0, oom_adj=0, oom_score_adj=0 Pid: 2826, comm: Xorg Not tainted 2.6.38.4 #13 Call Trace: [<ffffffff810ad565>] ? dump_header+0x7d/0xae [<ffffffff810ad911>] ? oom_kill_process+0x46/0x151 [<ffffffff810adabe>] ? select_bad_process+0xa2/0x110 [<ffffffff810adc92>] ? out_of_memory+0x166/0x1d0 [<ffffffff81009029>] ? xen_spin_lock+0xbf/0xd2 [<ffffffff810add16>] ? pagefault_out_of_memory+0x1a/0x45 [<ffffffff8142a020>] ? do_page_fault+0x2c9/0x40c [<ffffffff8123222c>] ? security_file_permission+0x1c/0x89 [<ffffffff814271d5>] ? page_fault+0x25/0x30 Mem-Info: Node 0 DMA per-cpu: CPU 0: hi: 0, btch: 1 usd: 0 CPU 1: hi: 0, btch: 1 usd: 0 Node 0 DMA32 per-cpu: CPU 0: hi: 186, btch: 31 usd: 103 CPU 1: hi: 186, btch: 31 usd: 71 Node 0 Normal per-cpu: CPU 0: hi: 186, btch: 31 usd: 0 CPU 1: hi: 186, btch: 31 usd: 0 active_anon:5831 inactive_anon:2 isolated_anon:0 active_file:3833 inactive_file:57589 isolated_file:0 unevictable:1124 dirty:99 writeback:0 unstable:0 free:283729 slab_reclaimable:4785 slab_unreclaimable:2380 mapped:3362 shmem:36 pagetables:1029 bounce:0 Node 0 DMA free:12904kB min:32kB low:40kB high:48kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:12712kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no lowmem_reserve[]: 0 1464 1936 1936 Node 0 DMA32 free:1122012kB min:4240kB low:5300kB high:6360kB active_anon:23324kB inactive_anon:8kB active_file:15332kB inactive_file:230356kB unevictable:4496kB isolated(anon):0kB isolated(file):0kB present:1499360kB mlocked:4496kB dirty:396kB writeback:0kB mapped:13448kB shmem:144kB slab_reclaimable:19140kB slab_unreclaimable:9520kB kernel_stack:984kB pagetables:4116kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no lowmem_reserve[]: 0 0 472 472 Node 0 Normal free:0kB min:1368kB low:1708kB high:2052kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:483724kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no lowmem_reserve[]: 0 0 0 0 Node 0 DMA: 2*4kB 0*8kB 2*16kB 2*32kB 4*64kB 2*128kB 2*256kB 1*512kB 1*1024kB 1*2048kB 2*4096kB = 12904kB Node 0 DMA32: 1*4kB 1*8kB 2*16kB 0*32kB 1*64kB 3*128kB 1*256kB 2*512kB 2*1024kB 2*2048kB 272*4096kB = 1122028kB Node 0 Normal: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB 62219 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/1 Free swap = 4063228kB Total swap = 4063228kB 515808 pages RAM 150843 pages reserved 17268 pages shared 69909 pages non-shared Out of memory: Kill process 2004 (brcm_iscsiuio) score 1 or sacrifice child Out of memory: Kill process 2004 (brcm_iscsiuio) score 1 or sacrifice child Killed process 2004 (brcm_iscsiuio) total-vm:24576kB, anon-rss:96kB, file-rss:208kB Xorg invoked oom-killer: gfp_mask=0x0, order=0, oom_adj=0, oom_score_adj=0 Pid: 2826, comm: Xorg Not tainted 2.6.38.4 #13 . . . . continues... -regards, Tanish S. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 05/12/2011 08:25 PM, Tanish Srivastava wrote:> > > > > Hi all, > > Recently I build XEN 4.1 (from the xen.org) on centIOS > 5.5 (kernel 2.6.38.4). After changing the grub file and rebooting the > machine, I am continuously getting out of memory error. The content of > my grub file: > > default=0 > timeout=5 > serial --unit=0 --speed=115200 > terminal --timeout=10 console serial > splashimage=(hd0,0)/grub/splash.xpm.gz > hiddenmenu > title CentOS (2.6.38.4) > root (hd0,0) > kernel /vmlinuz-2.6.38.4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet > initrd /initrd-2.6.38.4.img > title CentOS (2.6.38-xen0) > root (hd0,0) > kernel /xen-4.1.0.gz loglvl=all dom0_mem=512m guest_loglvl=all vga=ask,keep apic_verbosity=debug,verbose rhgb > module /vmlinuz-2.6.38.4 ro root=/dev/VolGroup00/LogVol00 earlyprintk=xen console=ttyS0 nomodeset > module /initrd-2.6.38.4.img >Shouldn''t that be dom0_mem=512M? Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tanish Srivastava
2011-May-13 06:09 UTC
RE: [Xen-users] XEN Dom 0 boot and Out of Memory issue
HI, I disabled the x windows and was able to boot the DOM 0. "dom0_mem=512m" worked fine. At the time of starting I am getting following warning: Starting xenstored...XENBUS: Unable to read cpu state Tanish> Date: Thu, 12 May 2011 21:23:49 -0800 > From: jonr@destar.net > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] XEN Dom 0 boot and Out of Memory issue > > On 05/12/2011 08:25 PM, Tanish Srivastava wrote: > > > > > > > > > > Hi all, > > > > Recently I build XEN 4.1 (from the xen.org) on centIOS > > 5.5 (kernel 2.6.38.4). After changing the grub file and rebooting the > > machine, I am continuously getting out of memory error. The content of > > my grub file: > > > > default=0 > > timeout=5 > > serial --unit=0 --speed=115200 > > terminal --timeout=10 console serial > > splashimage=(hd0,0)/grub/splash.xpm.gz > > hiddenmenu > > title CentOS (2.6.38.4) > > root (hd0,0) > > kernel /vmlinuz-2.6.38.4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet > > initrd /initrd-2.6.38.4.img > > title CentOS (2.6.38-xen0) > > root (hd0,0) > > kernel /xen-4.1.0.gz loglvl=all dom0_mem=512m guest_loglvl=all vga=ask,keep apic_verbosity=debug,verbose rhgb > > module /vmlinuz-2.6.38.4 ro root=/dev/VolGroup00/LogVol00 earlyprintk=xen console=ttyS0 nomodeset > > module /initrd-2.6.38.4.img > > > Shouldn''t that be dom0_mem=512M? > > Jon > > > _______________________________________________ > 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