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

Re: [Xen-users] Re: Out of Memory Error while booting Xen

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] Re: Out of Memory Error while booting Xen
From: Rishikesh Naik <naik.pict@xxxxxxxxx>
Date: Wed, 17 Mar 2010 11:35:44 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 17 Mar 2010 08:37:10 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=GjlCneoeMxDrprO7SUJ5HAa7UayjSjizq+5JIhbH5n4=; b=aak52CrPYqHtRT/6IpcjuxrIwPrxh5FYbhV4xyxWceistiMc/Zn0VrjiA4rXFmA6MR 4ErVwmWxbJzlc1GXQXDIIl7/Ey/TKmI26yvw7L4rxxAwLO3zE7WiokjNPfW9z2k/aOZZ 0xlXPtoITBMG/BU/WLnVa7MGOw7u+JbAzHWek=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=EhvbnCHohilrPrIOPmbpmCvqPW2sR/mCMz4dDL0/vFL3eFEH2rhilIvREvHpDeGvYl f3wGAJ41gWs0d2e90MNgkOEp0obO3OkRwEVmGWSndgk+Bmp4a6YrAQGFs75CcgiKZFHX obd8qhtXchZ3D+rVu1uSJlGvYe/aRNc8ST8sE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100317135712.GF1878@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <2cde12941003152027t7fa94db3gb61ee7fbe3b10c20@xxxxxxxxxxxxxx> <2cde12941003161806y360ff245y58be879b4ddbbe72@xxxxxxxxxxxxxx> <20100317135712.GF1878@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxx> 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@xxxxxxxxx>
>    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@xxxxxxxxx

> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

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