Hi All, I am getting following error when I try to boot Xen: "out of memory: kill process 2 (migration/0) score 0 and childeren" I get this several times and machine hangs eventually. Here is relevant entry in boot/grub/menu.lst on Ubuntu 9.04: title Xen 3.4.2 / Ubuntu 9.04, kernel 2.6.18.8-xen uuid 7a573a8c-0846-4404-8b40-a5f0256968ea kernel /boot/xen-3.4.2.gz module /boot/vmlinuz-2.6.18.8-xen root=UUID=7a573a8c-0846-4404-8b40-a5f0256968ea ro console=tty0 module /boot/initrd-2.6.18.8-xen.img quiet Has anyone experienced this before? Do let me know. I tried searching in mail-archives but I didn''t get anything relevant. Thanks in advance! -Rishikesh _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rishikesh Naik
2010-Mar-17 01:06 UTC
[Xen-users] Re: Out of Memory Error while booting Xen
Hi All, I have an update on the issue. I think Xen is not able to detect hard-drive as I was able to see some messages that said "Total swap = 0KB Free swap 0KB" at the boot time. Following are the /etc/fstab file contents on my system: # /etc/fstab: static file system information. # # Use ''vol_id --uuid'' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # / was on /dev/sda1 during installation UUID=7a573a8c-0846-4404-8b40-a5f0256968ea / ext3 relatime,errors=remount-ro 0 1 # swap was on /dev/sda5 during installation UUID=e53d468a-1263-4e4c-919c-40aeb9838fb4 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 ---------------------------------------------------------------------------------------------------------- I also get some messages at the boot time that said something like : starting udev version 141 deprecated sysfs layout; configure as CONFIG_SYSFS_DEPRECATED. udevd[2073] *inotify_add_watch*(3, (*null*), *10*) *failed*: Bad address. So, can any one of you please help me with this? I am new in using Xen as such. Hence, I am not getting what is going wrong. But I need to fix this urgently. Any help is appreciated. Thanks in advance! Do let me know if you need more information. -Rishikesh On Mon, Mar 15, 2010 at 11:27 PM, Rishikesh Naik <naik.pict@gmail.com>wrote:> Hi All, > > I am getting following error when I try to boot Xen: > > "out of memory: kill process 2 (migration/0) score 0 and childeren" > > I get this several times and machine hangs eventually. > > > Here is relevant entry in boot/grub/menu.lst on Ubuntu 9.04: > > title Xen 3.4.2 / Ubuntu 9.04, kernel 2.6.18.8-xen > uuid 7a573a8c-0846-4404-8b40-a5f0256968ea > kernel /boot/xen-3.4.2.gz > module /boot/vmlinuz-2.6.18.8-xen > root=UUID=7a573a8c-0846-4404-8b40-a5f0256968ea ro console=tty0 > module /boot/initrd-2.6.18.8-xen.img > quiet > > > Has anyone experienced this before? Do let me know. I tried searching in > mail-archives but I didn''t get anything relevant. > > Thanks in advance! > > -Rishikesh > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Mar-17 13:57 UTC
Re: [Xen-users] Re: Out of Memory Error while booting Xen
On Tue, Mar 16, 2010 at 09:06:10PM -0400, Rishikesh Naik wrote:> Hi All, > > I have an update on the issue. I think Xen is not able to detect > hard-drive as I was able to see some messages that said "Total swap = 0KB > Free swap = 0KB" at the boot time. >Xen doesn''t detect harddrives or any other hardware - it''s the dom0 linux kernel that does all the hardware handling (device drivers).> Following are the /etc/fstab file contents on my system: > > # /etc/fstab: static file system information. > # > # Use ''vol_id --uuid'' to print the universally unique identifier for a > # device; this may be used with UUID= as a more robust way to name devices > # that works even if disks are added and removed. See fstab(5). > # > # <file system> <mount point> <type> <options> <dump> <pass> > proc /proc proc defaults 0 0 > # / was on /dev/sda1 during installation > UUID=7a573a8c-0846-4404-8b40-a5f0256968ea / ext3 > relatime,errors=remount-ro 0 1 > # swap was on /dev/sda5 during installation > UUID=e53d468a-1263-4e4c-919c-40aeb9838fb4 none swap > sw 0 0 > /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 > 0 > /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 > > ---------------------------------------------------------------------------------------------------------- > > I also get some messages at the boot time that said something like : > > starting udev version 141 > deprecated sysfs layout; configure as CONFIG_SYSFS_DEPRECATED. > > udevd[2073] inotify_add_watch(3, (null), 10) failed: Bad address. > > So, can any one of you please help me with this? I am new in using Xen as > such. Hence, I am not getting what is going wrong. But I need to fix this > urgently. >What''s your dom0 distribution/version? What dom0 kernel are you using? -- Pasi> Any help is appreciated. > > Thanks in advance! > > Do let me know if you need more information. > > -Rishikesh > > On Mon, Mar 15, 2010 at 11:27 PM, Rishikesh Naik <[1]naik.pict@gmail.com> > wrote: > > Hi All, > > I am getting following error when I try to boot Xen: > > "out of memory: kill process 2 (migration/0) score 0 and childeren" > > I get this several times and machine hangs eventually. > > Here is relevant entry in boot/grub/menu.lst on Ubuntu 9.04: > > title Xen 3.4.2 / Ubuntu 9.04, kernel 2.6.18.8-xen > uuid 7a573a8c-0846-4404-8b40-a5f0256968ea > kernel /boot/xen-3.4.2.gz > module /boot/vmlinuz-2.6.18.8-xen > root=UUID=7a573a8c-0846-4404-8b40-a5f0256968ea ro console=tty0 > module /boot/initrd-2.6.18.8-xen.img > quiet > > Has anyone experienced this before? Do let me know. I tried searching in > mail-archives but I didn''t get anything relevant. > > Thanks in advance! > -Rishikesh > > References > > Visible links > 1. mailto:naik.pict@gmail.com> _______________________________________________ > 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
Rishikesh Naik
2010-Mar-17 15:35 UTC
Re: [Xen-users] Re: Out of Memory Error while booting Xen
Hi Pasi, I am using the kernel whose source was downloaded from mercurial repo of Xen. When I executed "make world" command, it automatically downloaded the kernel source code (linux-2.6.18-xen.hg). The kernel version is 2.6.18.8 to be precise. Thanks, Rishikesh On Wed, Mar 17, 2010 at 9:57 AM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Tue, Mar 16, 2010 at 09:06:10PM -0400, Rishikesh Naik wrote: > > Hi All, > > > > I have an update on the issue. I think Xen is not able to detect > > hard-drive as I was able to see some messages that said "Total swap > 0KB > > Free swap = 0KB" at the boot time. > > > > Xen doesn''t detect harddrives or any other hardware - it''s the dom0 linux > kernel > that does all the hardware handling (device drivers). > > > Following are the /etc/fstab file contents on my system: > > > > # /etc/fstab: static file system information. > > # > > # Use ''vol_id --uuid'' to print the universally unique identifier for a > > # device; this may be used with UUID= as a more robust way to name > devices > > # that works even if disks are added and removed. See fstab(5). > > # > > # <file system> <mount point> <type> <options> <dump> <pass> > > proc /proc proc defaults 0 0 > > # / was on /dev/sda1 during installation > > UUID=7a573a8c-0846-4404-8b40-a5f0256968ea / ext3 > > relatime,errors=remount-ro 0 1 > > # swap was on /dev/sda5 during installation > > UUID=e53d468a-1263-4e4c-919c-40aeb9838fb4 none swap > > sw 0 0 > > /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 > > 0 > > /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 > 0 > > > > > ---------------------------------------------------------------------------------------------------------- > > > > I also get some messages at the boot time that said something like : > > > > starting udev version 141 > > deprecated sysfs layout; configure as CONFIG_SYSFS_DEPRECATED. > > > > udevd[2073] inotify_add_watch(3, (null), 10) failed: Bad address. > > > > So, can any one of you please help me with this? I am new in using Xen > as > > such. Hence, I am not getting what is going wrong. But I need to fix > this > > urgently. > > > > What''s your dom0 distribution/version? > What dom0 kernel are you using? > > -- Pasi > > > Any help is appreciated. > > > > Thanks in advance! > > > > Do let me know if you need more information. > > > > -Rishikesh > > > > On Mon, Mar 15, 2010 at 11:27 PM, Rishikesh Naik <[1] > naik.pict@gmail.com> > > wrote: > > > > Hi All, > > > > I am getting following error when I try to boot Xen: > > > > "out of memory: kill process 2 (migration/0) score 0 and childeren" > > > > I get this several times and machine hangs eventually. > > > > Here is relevant entry in boot/grub/menu.lst on Ubuntu 9.04: > > > > title Xen 3.4.2 / Ubuntu 9.04, kernel 2.6.18.8-xen > > uuid 7a573a8c-0846-4404-8b40-a5f0256968ea > > kernel /boot/xen-3.4.2.gz > > module /boot/vmlinuz-2.6.18.8-xen > > root=UUID=7a573a8c-0846-4404-8b40-a5f0256968ea ro console=tty0 > > module /boot/initrd-2.6.18.8-xen.img > > quiet > > > > Has anyone experienced this before? Do let me know. I tried > searching in > > mail-archives but I didn''t get anything relevant. > > > > Thanks in advance! > > -Rishikesh > > > > References > > > > Visible links > > 1. mailto:naik.pict@gmail.com > > > _______________________________________________ > > 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
Pasi Kärkkäinen
2010-Mar-18 16:01 UTC
Re: [Xen-users] Re: Out of Memory Error while booting Xen
On Wed, Mar 17, 2010 at 11:35:44AM -0400, Rishikesh Naik wrote:> Hi Pasi, > > I am using the kernel whose source was downloaded from mercurial repo of > Xen. When I executed "make world" command, it automatically downloaded the > kernel source code (linux-2.6.18-xen.hg). The kernel version is 2.6.18.8 > to be precise. >Ok. What''s the distribution you''re using? Maybe your version of udev is too new for the 2.6.18 kernel. Also try specifying dom0_mem=512M parameter for the Xen hypervisor (xen.gz) in grub.conf. -- Pasi> Thanks, > Rishikesh > > On Wed, Mar 17, 2010 at 9:57 AM, Pasi Kärkkäinen <[1]pasik@iki.fi> wrote: > > On Tue, Mar 16, 2010 at 09:06:10PM -0400, Rishikesh Naik wrote: > > Hi All, > > > > I have an update on the issue. I think Xen is not able to detect > > hard-drive as I was able to see some messages that said "Total swap > = 0KB > > Free swap = 0KB" at the boot time. > > > > Xen doesn''t detect harddrives or any other hardware - it''s the dom0 > linux kernel > that does all the hardware handling (device drivers). > > Following are the /etc/fstab file contents on my system: > > > > # /etc/fstab: static file system information. > > # > > # Use ''vol_id --uuid'' to print the universally unique identifier > for a > > # device; this may be used with UUID= as a more robust way to name > devices > > # that works even if disks are added and removed. See fstab(5). > > # > > # <file system> <mount point> <type> <options> <dump> > <pass> > > proc /proc proc defaults 0 0 > > # / was on /dev/sda1 during installation > > UUID=7a573a8c-0846-4404-8b40-a5f0256968ea / ext3 > > relatime,errors=remount-ro 0 1 > > # swap was on /dev/sda5 during installation > > UUID=e53d468a-1263-4e4c-919c-40aeb9838fb4 none swap > > sw 0 0 > > /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 > > 0 > > /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 > 0 > > > > > ---------------------------------------------------------------------------------------------------------- > > > > I also get some messages at the boot time that said something like > : > > > > starting udev version 141 > > deprecated sysfs layout; configure as CONFIG_SYSFS_DEPRECATED. > > > > udevd[2073] inotify_add_watch(3, (null), 10) failed: Bad address. > > > > So, can any one of you please help me with this? I am new in using > Xen as > > such. Hence, I am not getting what is going wrong. But I need to > fix this > > urgently. > > > > What''s your dom0 distribution/version? > What dom0 kernel are you using? > > -- Pasi > > Any help is appreciated. > > > > Thanks in advance! > > > > Do let me know if you need more information. > > > > -Rishikesh > > > > On Mon, Mar 15, 2010 at 11:27 PM, Rishikesh Naik > <[1][2]naik.pict@gmail.com> > > wrote: > > > > Hi All, > > > > I am getting following error when I try to boot Xen: > > > > "out of memory: kill process 2 (migration/0) score 0 and > childeren" > > > > I get this several times and machine hangs eventually. > > > > Here is relevant entry in boot/grub/menu.lst on Ubuntu 9.04: > > > > title Xen 3.4.2 / Ubuntu 9.04, kernel 2.6.18.8-xen > > uuid 7a573a8c-0846-4404-8b40-a5f0256968ea > > kernel /boot/xen-3.4.2.gz > > module /boot/vmlinuz-2.6.18.8-xen > > root=UUID=7a573a8c-0846-4404-8b40-a5f0256968ea ro console=tty0 > > module /boot/initrd-2.6.18.8-xen.img > > quiet > > > > Has anyone experienced this before? Do let me know. I tried > searching in > > mail-archives but I didn''t get anything relevant. > > > > Thanks in advance! > > -Rishikesh > > > > References > > > > Visible links > > 1. mailto:[3]naik.pict@gmail.com > > _______________________________________________ > > Xen-users mailing list > > [4]Xen-users@lists.xensource.com > > [5]http://lists.xensource.com/xen-users > > References > > Visible links > 1. mailto:pasik@iki.fi > 2. mailto:naik.pict@gmail.com > 3. mailto:naik.pict@gmail.com > 4. mailto:Xen-users@lists.xensource.com > 5. http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rishikesh Naik
2010-Mar-18 17:08 UTC
Re: [Xen-users] Re: Out of Memory Error while booting Xen
Yes. I also think that udev might be too new. I am using Ubuntu 9.04 with kernel version 2.6.28.18. The udevd version is 141 on this distribution. What would you suggest me to do? Should I install a dom0 kernel with version greated than that of my distribution? Is there any way so that I can still get 2.6.18 kernel to work? Thanks, -Rishikesh On Thu, Mar 18, 2010 at 12:01 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Wed, Mar 17, 2010 at 11:35:44AM -0400, Rishikesh Naik wrote: > > Hi Pasi, > > > > I am using the kernel whose source was downloaded from mercurial repo > of > > Xen. When I executed "make world" command, it automatically downloaded > the > > kernel source code (linux-2.6.18-xen.hg). The kernel version is > 2.6.18.8 > > to be precise. > > > > Ok. > > What''s the distribution you''re using? Maybe your version of udev is too new > for > the 2.6.18 kernel. > > Also try specifying dom0_mem=512M parameter for the Xen hypervisor (xen.gz) > in grub.conf. > > -- Pasi > > > Thanks, > > Rishikesh > > > > On Wed, Mar 17, 2010 at 9:57 AM, Pasi Kärkkäinen <[1]pasik@iki.fi> > wrote: > > > > On Tue, Mar 16, 2010 at 09:06:10PM -0400, Rishikesh Naik wrote: > > > Hi All, > > > > > > I have an update on the issue. I think Xen is not able to > detect > > > hard-drive as I was able to see some messages that said "Total > swap > > = 0KB > > > Free swap = 0KB" at the boot time. > > > > > > > Xen doesn''t detect harddrives or any other hardware - it''s the dom0 > > linux kernel > > that does all the hardware handling (device drivers). > > > Following are the /etc/fstab file contents on my system: > > > > > > # /etc/fstab: static file system information. > > > # > > > # Use ''vol_id --uuid'' to print the universally unique > identifier > > for a > > > # device; this may be used with UUID= as a more robust way to > name > > devices > > > # that works even if disks are added and removed. See fstab(5). > > > # > > > # <file system> <mount point> <type> <options> <dump> > > <pass> > > > proc /proc proc defaults 0 > 0 > > > # / was on /dev/sda1 during installation > > > UUID=7a573a8c-0846-4404-8b40-a5f0256968ea / ext3 > > > relatime,errors=remount-ro 0 1 > > > # swap was on /dev/sda5 during installation > > > UUID=e53d468a-1263-4e4c-919c-40aeb9838fb4 none swap > > > sw 0 0 > > > /dev/scd0 /media/cdrom0 udf,iso9660 > user,noauto,exec,utf8 0 > > > 0 > > > /dev/fd0 /media/floppy0 auto > rw,user,noauto,exec,utf8 0 > > 0 > > > > > > > > > ---------------------------------------------------------------------------------------------------------- > > > > > > I also get some messages at the boot time that said something > like > > : > > > > > > starting udev version 141 > > > deprecated sysfs layout; configure as CONFIG_SYSFS_DEPRECATED. > > > > > > udevd[2073] inotify_add_watch(3, (null), 10) failed: Bad > address. > > > > > > So, can any one of you please help me with this? I am new in > using > > Xen as > > > such. Hence, I am not getting what is going wrong. But I need > to > > fix this > > > urgently. > > > > > > > What''s your dom0 distribution/version? > > What dom0 kernel are you using? > > > > -- Pasi > > > Any help is appreciated. > > > > > > Thanks in advance! > > > > > > Do let me know if you need more information. > > > > > > -Rishikesh > > > > > > On Mon, Mar 15, 2010 at 11:27 PM, Rishikesh Naik > > <[1][2]naik.pict@gmail.com> > > > wrote: > > > > > > Hi All, > > > > > > I am getting following error when I try to boot Xen: > > > > > > "out of memory: kill process 2 (migration/0) score 0 and > > childeren" > > > > > > I get this several times and machine hangs eventually. > > > > > > Here is relevant entry in boot/grub/menu.lst on Ubuntu 9.04: > > > > > > title Xen 3.4.2 / Ubuntu 9.04, kernel 2.6.18.8-xen > > > uuid 7a573a8c-0846-4404-8b40-a5f0256968ea > > > kernel /boot/xen-3.4.2.gz > > > module /boot/vmlinuz-2.6.18.8-xen > > > root=UUID=7a573a8c-0846-4404-8b40-a5f0256968ea ro > console=tty0 > > > module /boot/initrd-2.6.18.8-xen.img > > > quiet > > > > > > Has anyone experienced this before? Do let me know. I tried > > searching in > > > mail-archives but I didn''t get anything relevant. > > > > > > Thanks in advance! > > > -Rishikesh > > > > > > References > > > > > > Visible links > > > 1. mailto:[3]naik.pict@gmail.com > > > _______________________________________________ > > > Xen-users mailing list > > > [4]Xen-users@lists.xensource.com > > > [5]http://lists.xensource.com/xen-users > > > > References > > > > Visible links > > 1. mailto:pasik@iki.fi > > 2. mailto:naik.pict@gmail.com > > 3. mailto:naik.pict@gmail.com > > 4. mailto:Xen-users@lists.xensource.com > > 5. http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users